[ You are here:
XTF ->
Deployment Guide -> Running on Windows ]
Running on Windows
The base XTF distribution works well on a number of Unix variants, including Solaris, MacOS, and Linux. XTF also works under Microsoft Windows, but there are some special considerations for the
textIndexer tool (the servlets crossQuery and dynaXML don't require anything special for Windows).
Instead of the usual Perl script to run the textIndexer, a batch file front-end has been provided:
bin/textIndexer.bat. Using this batch file, there's no need for external tools such as Perl. However, you do need to set the
XTF_HOME environment variable. Here are the steps:
- From the Windows command prompt, set the XTF_HOME environment variable to the directory where the XTF package is installed. This environment variable is used by the textIndexer.bat driver to locate various XTF components. For example:
C:...\> set XTF_HOME=C:\servlet-container-directory\webapps\xtf
(Warning: Do not put quotes around the path when setting XTF_HOME, even if the path contains spaces.)
(Note: To avoid having to repeatedly set the XTF_HOME environment variable, you may wish to add it to the list of system environment variables in Windows. On Windows XP, this can be done using the System control panel, under Advanced -> Environment Variables.)
- Once XTF_HOME has been set, you can simply run textIndexer.bat as per the normal instructions. For example:
C:\> cd %XTF_HOME%\bin
C:...\xtf\bin> textIndexer -index default