Tagged distributions of the framework can be downloaded, or the latest version can obtained from the source code repository.
From a Distribution
The latest releases, including beta releases, can be downloaded from the Apache Struts Project.
From the Repository
Use Subversion to checkout the source code.
Code Block |
---|
> svn co https://svn.apache.org/repos/asf/struts/struts2/trunk/
|
Use Maven 2 to build a distribution.
Code Block |
---|
> mvn install
|
For a detailed description, see Building the Framework from Source
cvs -d :pserver:guest@cvs.dev.java.net:/cvs login
(Use an empty password, just hit enter..)
cvs -d :pserver:guest@cvs.dev.java.net:/cvs checkout opensymphony
cvs -d :pserver:guest@cvs.dev.java.net:/cvs checkout webwork
cvs -d :pserver:guest@cvs.dev.java.net:/cvs checkout xwork
Note: One needs to have ivy in $ANT_HOME/lib, cause WebWork uses ivy to manage its library dependencies.
Note: WebWork from the CVS compiles with the latest 1.5 J2sdk, However, only J2sdk 1.4.2 is required to run it.