1212# IMPORTANT NOTE: Since you may have multiple (say) log4j jars under
1313# your Maven2 repository under $HOME/.m2/respository, we
1414# look for the specific versions that ESAPI was using as of
15- # ESAPI 2.0_RC7 release on 2010/08/22 . If these versions
15+ # ESAPI 2.0_RC10 release on 2010/10/18 . If these versions
1616# changed, they will have to be reflected here.
1717#
1818esapi_classpath=" .:\
19- $( ls ../../../target/esapi-* .jar) :\
20- $( ./findjar.sh log4j-1.2.12.jar) :\
19+ ../../../target/classes:\
20+ $( ls ../../../target/esapi-* .jar 2>& - || echo .) :\
21+ $( ./findjar.sh log4j-1.2.16.jar) :\
2122$( ./findjar.sh commons-fileupload-1.2.jar) :\
2223$( ./findjar.sh servlet-api-2.4.jar) "
2324
24- esapi_resources=" $( \c d ../../main/resources/. esapi >& - 2>& - && pwd) "
25- esapi_resources_test=" $( \c d ../../test/resources/. esapi >& - 2>& - && pwd) "
25+ esapi_resources=" $( \c d ../../../configuration/ esapi >& - 2>& - && pwd) "
26+ esapi_resources_test=" $( \c d ../../../src/ test/resources/esapi >& - 2>& - && pwd) "
2627
27- log4j_properties=" ../../main /resources/log4j.xml"
28+ log4j_properties=" ../../../src/test /resources/log4j.xml"
2829
2930if [[ ! -r " $esapi_resources " /ESAPI.properties ]]
3031then echo 2>&1 " setenv-svn.sh: Can't read ESAPI.properties in $esapi_resources "
@@ -41,9 +42,11 @@ then echo 2>&1 "setenv-svn.sh: Can't read log4j.xml: $log4j_properties"
4142 return 1 # Don't use 'exit' here or it will kill their current shell.
4243fi
4344
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"
45+ echo # ###########################################################
46+ echo " esapi_resources=$esapi_resources "
47+ echo " esapi_resources_test=$esapi_resources_test "
48+ echo " log4j_properties=$log4j_properties "
49+ echo " esapi_classpath=$esapi_classpath "
50+ echo # ###########################################################
4851
4952export esapi_classpath esapi_resources esapi_resources_test log4j_properties
0 commit comments