The Sitemap Generator can be run from the command line using
RunSitemapGen.bat
(on Windows) or
RunSitemapGen.sh
(on UNIX).
These scripts take the location (absolute or relative) of the main configuration file, as a single argument. For example, when running on Windows:
cd C:\Endeca\ToolsAndFrameworks\<version>\sitemap_generator\bin RunSitemapGen.bat ..\conf\conf.xml
Note that the above example changes to the
ToolsAndFrameworks\<version>\sitemap_generator\bin
directory before running the script. While this is convenient for specifying
the
conf.xml
file via a relative path, the
bin
directory is not required as a working
directory.
These scripts rely on the
ENDECA_ROOT
environment variable in order to
locate the appropriate Java libraries.
Related links