| 1 |
README - This file you are now reading. |
| 2 |
java - Some Java examples. |
| 3 |
scripts - Some scripts to run that interact with the Java examples (but see |
| 4 |
below). Purpose of script generally described at the beginning of |
| 5 |
the file as a comment. |
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
NOTE: All scripts are meant to be run under *nix (or using something like |
| 10 |
Cygwin under Windows) from under the 'scripts' directory using either |
| 11 |
bash or KornShell |
| 12 |
|
| 13 |
E.g., to compile the Java examples, execute: |
| 14 |
|
| 15 |
$ cd scripts |
| 16 |
$ chmod u+x *.sh # Required as some call each other. |
| 17 |
$ # "Dot" the appropriate environment file. Either |
| 18 |
$ # . ./setenv-zip.sh |
| 19 |
$ # if ESAPI downloaded via zip file or |
| 20 |
$ # . ./setenv-svn.sh |
| 21 |
$ # if ESAPI downloaded from SVN repository. For the |
| 22 |
$ # example of this README file, we will assume it was |
| 23 |
$ # downloaded via the zip file. |
| 24 |
$ . ./setenv-zip.sh |
| 25 |
$ sh ./compile.sh |
| 26 |
|
| 27 |
You MUST be in the 'scripts' directory and execute the scripts as |
| 28 |
"sh ./scriptname" and NOT as "sh scripts/scriptname". |
| 29 |
|
| 30 |
|
| 31 |
Note that as delivered, these scripts are configured to run from |
| 32 |
Eclipse or Maven as pulled directly from the ESAPI Subversion |
| 33 |
repository or from pulled down from the zip file on Google Code at: |
| 34 |
http://code.google.com/p/owasp-esapi-java/downloads/list |
| 35 |
|
| 36 |
If you get it from any other place, then all bets are off. |
| 37 |
-- Kevin Wall <[email protected]> |