File tree Expand file tree Collapse file tree 2 files changed +36
-36
lines changed
Expand file tree Collapse file tree 2 files changed +36
-36
lines changed Original file line number Diff line number Diff line change 1- language : java
2- before_script : " chmod +x ./build.sh"
1+ language : java
2+ before_script : " chmod +x ./build.sh"
33script : " ./build.sh"
Original file line number Diff line number Diff line change 1- #! /bin/bash
2-
3- _PWD=` pwd`
4- CopyLibs=$_PWD /lib/org-netbeans-modules-java-j2seproject-copylibstask.jar
5-
6- CLASSPATH=$CLASSPATH :$CopyLibs :
7- export CLASSPATH
8- echo " CLASSPATH:" $CLASSPATH
9-
10- echo " "
11- echo " Compiling these projects:"
12- for i in * ; do
13- if [ -d " $i " ] && [ ! " $i " = " lib" ] && [ ! " $i " = " glassfish3" ]; then
14- cd " $i "
15-
16- if [ -f " manifest.mf" ]; then
17- TARGET=jar
18- else
19- TARGET=dist
20- fi
21- TARGET=" "
22-
23- echo " "
24- echo " ----- $i -----"
25- ant -Dlibs.CopyLibs.classpath=" $CopyLibs " \
26- $TARGET
27- RET=$?
28- if [ ! " $RET " = " 0" ]; then
29- exit $RET
30- fi
31- echo " "
32- cd ..
33- fi
34- done
1+ #! /bin/bash
2+
3+ _PWD=` pwd`
4+ CopyLibs=$_PWD /lib/org-netbeans-modules-java-j2seproject-copylibstask.jar
5+
6+ CLASSPATH=$CLASSPATH :$CopyLibs :
7+ export CLASSPATH
8+ echo " CLASSPATH:" $CLASSPATH
9+
10+ echo " "
11+ echo " Compiling these projects:"
12+ for i in * ; do
13+ if [ -d " $i " ] && [ ! " $i " = " lib" ] && [ ! " $i " = " glassfish3" ]; then
14+ cd " $i "
15+
16+ if [ -f " manifest.mf" ]; then
17+ TARGET=jar
18+ else
19+ TARGET=dist
20+ fi
21+ TARGET=" "
22+
23+ echo " "
24+ echo " ----- $i -----"
25+ ant -Dlibs.CopyLibs.classpath=" $CopyLibs " \
26+ $TARGET
27+ RET=$?
28+ if [ ! " $RET " = " 0" ]; then
29+ exit $RET
30+ fi
31+ echo " "
32+ cd ..
33+ fi
34+ done
You can’t perform that action at this time.
0 commit comments