You may have received one or several XPTools. So some of these general installation instructions may or may not apply.

  1. If you downloaded xptest-src-<version>.zip, unzip it's contents into the modules directory of your Together installation and you're done. If you want to play with the sources:

  2. Create a path like xptools somewhere.

  3. Unzip the sources or the binaries within that path.

  4. On Windows edit ant.bat so that ANTPATH is correct in order to process xptools.xml. On Unix change ant.sh.

  5. Change the configuration to match your system in build/xptools.xml. There is documentation on how to set the parameters contained in that file.

  6. Now run

     ant.sh install

    to compile everything and copy the distribution files into their proper locations on Unix. Use ant.bat on Windows. Please restart your IDE(s) in order to load the tools.


Building the XPTools

  1. Create a path like xptools somewhere.

  2. Unzip the sources within that path.

  3. Update xptools.xml and ant.bat or ant.sh as described in the previous section.

  4. Now run

     ant.sh xptools-help

    to get help on the available build targets on Unix. Use ant.bat on Windows. Starting ant without arguments will compile the available sources. Other interesting targets are

     ant.sh jars

    to build the jar archives and

     ant.sh dist

    to create the distribution files.

A note on Windows: You can do nearly nothing with a MS-DOS box on Windows and ant.bat. The reason is that the default environment space is too small. So it is no fun to try to build XPTest since all path names have to be really really short. I have no time to figure out for every Windows variant how to fix this, I suggest you switch to a serious operating system if you want to develop Java software because there are many more problems with Windows.

© 2001 A. Heilwagen