This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org

Difference between revisions of "ESAPI-Building"

From OWASP
Jump to: navigation, search
(Eclipse Setup)
Line 1: Line 1:
 
==Eclipse Setup==
 
==Eclipse Setup==
  
* Get Europa
+
* Get [http://www.eclipse.org/europa/ Europa]
 
* Get SVN plugin
 
* Get SVN plugin
 
* Get other plugins
 
* Get other plugins

Revision as of 15:22, 17 September 2008

Eclipse Setup

  • Get Europa
  • Get SVN plugin
  • Get other plugins

Subversion Setup

Project Setup

  • Preferences -> Compiler
  • Add JDK 1.4 as an installed JRE
  • Set Java 1.4 compliance in project

Building

  • TODO

Running Test Cases

  • Select test/org/owasp/esapi/AllTests.java
  • Right click and Run As... Open Run Dialog
  • Choose JUnit
  • Select Arguments and enter a VM argument
    • -Dorg.owasp.esapi.resources="<path to your esapi project>/test/testresources"
  • run tests and verify that they all pass


Running Test App

TODO