9 org.spearce.jgit/lib/jsch-0.1.37.jar
10 org.spearce.jgit.pgm/lib/args4j-2.0.9.jar
13 if [ -n "$JAVA_HOME" ]
15 PATH
=$JAVA_HOME/bin
:$PATH
43 if [ -z "$CLASSPATH" ]
47 CLASSPATH
="$CLASSPATH:$R/$j"
54 echo "Entering $p ..."
57 find .
-name \
*.java
-type f |
63 -d ..
/bin2
) || die
"Building $p failed."
64 CLASSPATH
="$CLASSPATH:$R/$p/bin2"
67 echo Manifest-Version
: 1.0 >$T_MF &&
68 echo Implementation-Title
: jgit
>>$T_MF &&
69 echo Implementation-Version
: `git describe HEAD` >>$T_MF &&
71 sed s
/@@use_self@@
/1/ jgit.sh
>$O+ &&
72 java org.spearce.jgit.pgm.build.JarLinkUtil \
73 `for p in $JARS ; do printf %s " -include $p" ;done` \
74 `for p in $PLUGINS; do printf %s " -include $p/bin2";done` \
75 -file META-INF
/services
/org.spearce.jgit.pgm.TextBuiltin
=org.spearce.jgit.pgm
/src
/META-INF
/services
/org.spearce.jgit.pgm.TextBuiltin \
76 -file META-INF
/MANIFEST.MF
=$T_MF \
80 echo "Created $O." || die
"Creating $O failed."