Frequently Asked Questions

Which JDK is required to use XSite?

1.6 or later.

What is required to use XSite as a standalone application?

Only the JDK. Simply download the binary distribution and unzip somewhere on your local filesystem. The binary scripts are in the bin/ directory, which should be added to the system path.

Can I use XSite via Ant or Maven plugin?

Yes, see plugins for more details.

What is the required input to use XSite

The user must specify a sitemap, a skin and an output directory, see getting started for more details.

What is the sitemap used for?

The sitemap specifies the content of the website, see sitemap for more details.

What is the skin used for?

The skin is the template of the website pages, both in terms of layout and of style, see skin for more details.

Can I avoid copying SCM files from resource directories?

By default, XSite is only "SVN-aware", ie only ".svn" directories are ignored when copying resources. If you need to configure different SCM files to be ignored, you can customise XSite to use a bespoke implementation of FileSystem, e.g. by extending default CommonsFileSystem and overriding the IOFileFilter getFileFilter() method. See customising XSite for more details. Note, that current versions of Subversion or SCMs like Git do not have such files in the resources folder anyway.