forked from bijujoseph/scenario-reader
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sh
More file actions
17 lines (17 loc) · 710 Bytes
/
build.sh
File metadata and controls
17 lines (17 loc) · 710 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
cd ./src/com/eviware/soapui && \
# Compiling Groovy Files
groovyc -cp /Applications/SoapUI-5.4.0.app/Contents/java/app/bin/soapui-5.4.0.jar:/Applications/SoapUI-5.4.0.app/Contents/java/app/lib/log4j-1.2.14.jar *.groovy && \
mkdir ./src/ && \
mv ./com/ ./src/ && \
# Moving Java and their class files to be packaged
cp -r ./report/ ./src/com/eviware/soapui/report && \
cp -r ./reports/ ./src/com/eviware/soapui/reports && \
cp -r ./tools/ ./src/com/eviware/soapui/tools && \
cd ./src/ && \
# Building JAR for SoapUI. To be placed in /Applications/SoapUI-5.4.0.app/Contents/java/app/lib/
jar -cvf custom-report.jar . && \
# Clean up
mv custom-report.jar ../../../../../ && \
cd .. && \
rm -rf ./src/