File tree Expand file tree Collapse file tree 3 files changed +11
-10
lines changed
Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 574574 <overwrite >true</overwrite >
575575 </configfile >
576576 </configfiles >
577+ <home >${project.build.directory} /tomcat${tomcat.major.version} x</home >
577578 <properties >
578579 <cargo .jvmargs>
579580 -Xmx8G
580581 -javaagent:${basedir} /tools/HCL/secagent.jar=agent_path=${basedir} /tools/HCL/secagent.jar
581- -Dsecagent.log=${basedir} /tools/HCL/working/ HCL-IAST.hcl
582+ -Dsecagent.log=${basedir} /tools/HCL/HCL-IAST.hcl
582583 </cargo .jvmargs>
583584 <cargo .servlet.port>8443</cargo .servlet.port>
584585 <cargo .protocol>https</cargo .protocol>
Original file line number Diff line number Diff line change 11@ ECHO OFF
22IF EXIST .\secagent.jar (
3- IF EXIST .\working (
3+ IF EXIST .\HCL-IAST.hcl (
44
5- RMDIR /S /Q .\working
5+ DEL .\HCL-IAST.hcl
66
77 ECHO .
88 ECHO Previous results have been removed
@@ -15,11 +15,11 @@ IF EXIST .\secagent.jar (
1515 ECHO When it asks " Terminate batch job (Y/N)?" Enter N, so script will complete and copy results to /results directory.
1616 ECHO .
1717
18- CALL mvn clean package cargo:run -Pdeploywhcl
18+ CALL mvn clean package cargo:run -Pdeploywhcl -Drunenv=remote
1919
2020 ECHO Copying HCL reports to results directory
2121
22- COPY tools\HCL\working\ HCL-IAST.hcl results\Benchmark_HCL-IAST.hcl
22+ COPY tools\HCL\HCL-IAST.hcl results\Benchmark_HCL-IAST.hcl
2323
2424 CD tools\HCL
2525
Original file line number Diff line number Diff line change 22
33if [ -f ./secagent.jar ]; then
44
5- if [ -d ./working ]; then
5+ if [ -d ./HCL-IAST.hcl ]; then
66
7- rm -r ./working /HCL-IAST.hcl
7+ rm . /HCL-IAST.hcl
88 echo " "
9- echo " Previous results in /working removed"
9+ echo " Previous results have been removed"
1010 echo " "
1111
1212 fi
1313
1414 cd ../..
15- mvn clean package cargo:run -Pdeploywhcl
15+ mvn clean package cargo:run -Pdeploywhcl -Drunenv=remote
1616
1717 echo " Copying report to results directory"
1818 benchmark_version=$( scripts/getBenchmarkVersion.sh)
1919 result_file=" results/Benchmark_$benchmark_version -HCL-IAST.hcl"
20- cp tools/HCL/working/ HCL-IAST.hcl " $result_file "
20+ cp tools/HCL/HCL-IAST.hcl " $result_file "
2121 cd tools/HCL
2222
2323else
You can’t perform that action at this time.
0 commit comments