Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The current distribution packages of webwork contains all sources, as well as all needed libraries. So getting the package will provide you with the source, but unfortunately if you want to build webwork from scratch, this is not enough. You will still have to get the opensymphony common module as well, because the build process relies on it. As time of writing of this document, there is no distribution package for the common module, so need to check it out from CVS as described below.

...

The installation is quite trivial: Put a copy of the ivy-1.x.jar found in the common directory of the opensymphony module in your $ANT_HOME/lib directory.
If you want to test the Ivy functionality, ensure you have an internet connection. Change into the webwork module directory and execute ant init (as you might quessguess, any other task depends on init). Ivy will now resolv all dependencies and (hopefully) download all required jars and put it into the lib directory.

...

The full build process will require JUnit and Clover.
Place a copy of junit.jar (>= 3.8.1) and clover.jar (>= 1.3.9) into your $ANT_HOME/lib directory (if not already exists). If you haven't got these jars at hand, look into the lib directory of your webwork module after you called ant init in the step before...
Opensymphony Clover license is found in the common directory of the opensymphony module. Place the clover-license.jar into your $ANT_HOME/lib directory as well. Now you are ready to ...

Build

Call ant jar or simply ant to build the webwork jars. Play around with other targets, as you like.

...