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
(New page: ==Eclipse Setup== * Get Europa * Get SVN plugin * Get other plugins ==Subversion Setup== * https://owasp-esapi-java.googlecode.com/svn/ * checkout trunk * checkout testapp ==Project Se...) |
|||
Line 8: | Line 8: | ||
* https://owasp-esapi-java.googlecode.com/svn/ | * https://owasp-esapi-java.googlecode.com/svn/ | ||
− | * checkout trunk | + | * checkout trunk as new project |
− | * checkout testapp | + | * checkout testapp as new project |
==Project Setup== | ==Project Setup== | ||
− | * | + | * Preferences -> Compiler |
+ | * Add JDK 1.4 as an installed JRE | ||
* Set Java 1.4 compliance in project | * Set Java 1.4 compliance in project | ||
==Building== | ==Building== | ||
− | * TODO | + | * TODO |
==Running Test Cases== | ==Running Test Cases== | ||
− | * Run As... | + | * 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 | * run tests and verify that they all pass | ||
Line 30: | Line 34: | ||
==Running Test App== | ==Running Test App== | ||
− | + | TODO | |
__NOTOC__ | __NOTOC__ | ||
[[Category:OWASP Enterprise Security API]] | [[Category:OWASP Enterprise Security API]] |
Revision as of 15:53, 29 January 2008
Eclipse Setup
- Get Europa
- Get SVN plugin
- Get other plugins
Subversion Setup
- https://owasp-esapi-java.googlecode.com/svn/
- checkout trunk as new project
- checkout testapp as new project
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