99# where '$' represents the shell command line prompt.
1010# ##########################################################################
1111
12- # IMPORTANT NOTE: Since you may have multiple (say) log4j jars under
13- # your Maven2 repository under $HOME/.m2/respository, we
14- # look for the specific versions that ESAPI was using as of
15- # ESAPI 2.0_RC10 release on 2010/10/18. If these versions
16- # changed, they will have to be reflected here.
17- #
12+ # IMPORTANT NOTE: These dependency versions may need updated. Should match
13+ # what is in ESAPI's pom.xml.
1814esapi_classpath=" .:\
1915../../../target/classes:\
2016$( ls ../../../target/esapi-* .jar 2>& - || echo .) :\
21- $( ./findjar.sh log4j-1.2.17.jar) :\
22- $( ./findjar.sh commons-fileupload-1.3.1.jar) :\
23- $( ./findjar.sh servlet-api-2.5.jar) "
17+ $( ./findjar.sh commons-fileupload-1.4.jar) :\
18+ $( ./findjar.sh servlet-api-3.1.0.jar) "
2419
2520esapi_resources=" $( \c d ../../../configuration/esapi >& - 2>& - && pwd) "
2621esapi_resources_test=" $( \c d ../../../src/test/resources/esapi >& - 2>& - && pwd) "
2722
28- log4j_properties=" ../../../src/test/resources/log4j.xml"
2923
3024if [[ ! -r " $esapi_resources " /ESAPI.properties ]]
3125then echo 2>&1 " setenv-svn.sh: Can't read ESAPI.properties in $esapi_resources "
@@ -37,16 +31,10 @@ then echo 2>&1 "setenv-svn.sh: Can't read ESAPI.properties in $esapi_resources_t
3731 return 1 # Don't use 'exit' here or it will kill their current shell.
3832fi
3933
40- if [[ ! -r " $log4j_properties " ]]
41- then echo 2>&1 " setenv-svn.sh: Can't read log4j.xml: $log4j_properties "
42- return 1 # Don't use 'exit' here or it will kill their current shell.
43- fi
44-
4534echo # ###########################################################
4635echo " esapi_resources=$esapi_resources "
4736echo " esapi_resources_test=$esapi_resources_test "
48- echo " log4j_properties=$log4j_properties "
4937echo " esapi_classpath=$esapi_classpath "
5038echo # ###########################################################
5139
52- export esapi_classpath esapi_resources esapi_resources_test log4j_properties
40+ export esapi_classpath esapi_resources esapi_resources_test
0 commit comments