Updated readme to clarify build instructions.

git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@434 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
x71c4l 2011-07-15 14:09:18 +00:00
parent c30d4650fd
commit 1a1e7125be

View File

@ -48,14 +48,16 @@ These tools must be installed independent of the webgoat download.
At Ubuntu it can be installed with: At Ubuntu it can be installed with:
> apt-get install maven2 > apt-get install maven2
- WebGoat source code - WebGoat source code
You can get the latest source for webgoat at the Google code repository WebGoat source code can be downloaded at: http://code.google.com/p/webgoat/source/checkout
svn checkout http://webgoat.googlecode.com/svn/trunk/ webgoat_X_X Use any svn client (ex: Tortoise svn)to checkout the code.
-------------------- --------------------
Building the project Building the project
-------------------- --------------------
Using the cmd shell:
> cd webgoat > cd webgoat
> mvn compile > mvn compile
@ -74,6 +76,7 @@ Building the Eclipse project files
Afterward the project can be imported within Eclipse: Afterward the project can be imported within Eclipse:
File -> Import -> General -> Existing Projects into Workspace File -> Import -> General -> Existing Projects into Workspace
and select the webgoat directory as the "root directory." A webgoat should appear in the Projects section of your dialogue window.
Don't forget to declare a classpath variable named M2_REPO, pointing to ~/.m2/repository, otherwise many links to existing jars will be broken. Don't forget to declare a classpath variable named M2_REPO, pointing to ~/.m2/repository, otherwise many links to existing jars will be broken.
You can declare new variables in Eclipse in Windows -> Preferences... and selecting Java -> Build Path -> Classpath Variables You can declare new variables in Eclipse in Windows -> Preferences... and selecting Java -> Build Path -> Classpath Variables