Question

I use a tool called AntiSamy ( http://code.google.com/p/owaspantisamy/ ) to sanitize user input in a project. I don't know Java. I just create the object, call its method, and it works.

Recently the project was updated on Google code, but the download package itself was not. I'm looking for clear instructions on how I can download the updated code to create my own JAR file and replace the existing one in my project, thus make use of the update.

Looking at the code branch in Google code, there are many folders and other items, so I'm not sure which parts I need, and what type of directory structure I should have.

Any have any idea what should go in the JAR file/how to do this? I'm not an experienced coder, so nothing super technical please.

Was it helpful?

Solution

To build this project first checkout the sources:

svn checkout http://owaspantisamy.googlecode.com/svn/trunk/ owaspantisamy-read-only

Then change directory:

cd owaspantisamy-read-only/Java

Build the project by calling (I hope you already have maven, or get it from here):

mvn clean install

The jar you finally want is located at:

./antisamy/target/antisamy-1.4.5-SNAPSHOT.jar
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top