Versions Compared

Key

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

Getting the

...

Sources

Distribution

The current distribution packages of webwork contain 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 you need to check it out from CVS as described below.

...

  1. If you have not already done, login to repository:
    cvs -d :pserver:guest@cvs.dev.java.net:/cvs login
  2. Checkout the the webwork sourcetree:
    cvs -d :pserver:guest@cvs.dev.java.net:/cvs checkout webwork
  3. Checkout the the opensymphony common sourcetree:
    cvs -d :pserver:guest@cvs.dev.java.net:/cvs checkout opensymphony/common

If you are a registered user at Java.net, you might use your username instead of anonymous guest account.
For detailed information on how to setup different clients, visit https://webwork.dev.java.net/servlets/ProjectSource.

...

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

JDK/JRE

...

Compatibility

Webwork requires JDK 1.4.2+ to build. JDK 5.0 is not required for building.
Webwork based applications require JRE 1.4.2+ to run. JRE 5.0 is not required to run unless your application uses the optional XWork-tiger module, which adds some Java 5.0 specific features to xwork functionality.