THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Use Subversion to checkout the source code.
Code Block |
---|
> cd C:\projects\Apache\ > svngit coclone https://svngit-wip-us.apache.org/repos/asf/struts/current/ struts.git |
Building with Maven
The default build environment is Maven. To get started with Maven
- Download Maven 23
- Extract Maven 2 3 to a directory of your choice
- (e.g.
\opt\Apache\Maven\maven-23.03.43
)
- (e.g.
- Add the bin folder under that directory to your system path
- (e.g.
PATH=%PATH%;C:\opt\Apache\Maven\maven-23.03.43
)
- (e.g.
Change to your framework home directory (e.g. C:\projects\Apache\struts\struts2
) and run
Code Block |
---|
> cd C:\projects\Apache\struts\struts2\ > mvn clean install -Pall |
...
- The framework requires JDK 1.5 7 to build.A set of JARs that are backwardly-compatible with JDK 1.4 are available for download.