1313# since the specific version of the library is delivered as part of the
1414# ESAPI zip file. In this manner, we do not have to update this if these
1515# versions change. For the record, at the time of this writing, these were
16- # log4j-1.2.12 .jar, commons-fileupload-1.2.jar, and servlet-api-2.4.jar.
16+ # log4j-1.2.16 .jar, commons-fileupload-1.2.jar, and servlet-api-2.4.jar.
1717esapi_classpath=" .:\
1818$( ls ../../../esapi* .jar) :\
1919$( ./findjar.sh -start ../../../libs log4j-* .jar) :\
2020$( ./findjar.sh -start ../../../libs commons-fileupload-* .jar) :\
2121$( ./findjar.sh -start ../../../libs servlet-api-* .jar) "
2222
23- esapi_resources=" $( \c d ../../../configuration/. esapi >& - 2>& - && pwd) "
24- esapi_resources_test=" $( \c d ../../test/resources/. esapi >& - 2>& - && pwd) "
23+ esapi_resources=" $( \c d ../../../configuration/esapi >& - 2>& - && pwd) "
24+ esapi_resources_test=" $( \c d ../../../src/ test/resources/esapi >& - 2>& - && pwd) "
2525
26- log4j_properties=" ../../../configuration /log4j.xml"
26+ log4j_properties=" ../../../src/test/resources /log4j.xml"
2727
2828if [[ ! -r " $esapi_resources " /ESAPI.properties ]]
29- then echo 2>&1 " setenv-svn.sh: Can't read ESAPI.properties in $esapi_properties "
29+ then echo 2>&1 " setenv-svn.sh: Can't read ESAPI.properties in $esapi_resources "
3030 return 1 # Don't use 'exit' here or it will kill their current shell.
3131fi
3232
3333if [[ ! -r " $esapi_resources_test " /ESAPI.properties ]]
34- then echo 2>&1 " setenv-svn.sh: Can't read ESAPI.properties in $esapi_properties_test "
34+ then echo 2>&1 " setenv-svn.sh: Can't read ESAPI.properties in $esapi_resources_test "
3535 return 1 # Don't use 'exit' here or it will kill their current shell.
3636fi
3737
@@ -40,9 +40,11 @@ then echo 2>&1 "setenv-svn.sh: Can't read log4j.xml: $log4j_properties"
4040 return 1 # Don't use 'exit' here or it will kill their current shell.
4141fi
4242
43- # # echo "esapi_resources=$esapi_resources"
44- # # echo "esapi_resources_test=$esapi_resources_test"
45- # # echo "log4j_properties=$log4j_properties"
46- # # echo "esapi_classpath=$esapi_classpath"
43+ echo # ###########################################################
44+ echo " esapi_resources=$esapi_resources "
45+ echo " esapi_resources_test=$esapi_resources_test "
46+ echo " log4j_properties=$log4j_properties "
47+ echo " esapi_classpath=$esapi_classpath "
48+ echo # ###########################################################
4749
4850export esapi_classpath esapi_resources esapi_resources_test log4j_properties
0 commit comments