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 |
62 -d ..
/bin2
) || die
"Building $p failed."
63 CLASSPATH
="$CLASSPATH:$R/$p/bin2"
66 echo Manifest-Version
: 1.0 >$T_MF &&
67 echo Implementation-Title
: jgit
>>$T_MF &&
68 echo Implementation-Version
: `git describe HEAD` >>$T_MF &&
70 sed s
/@@use_self@@
/1/ jgit.sh
>$O+ &&
71 java org.spearce.jgit.pgm.build.JarLinkUtil \
72 `for p in $JARS ; do printf %s " -include $p" ;done` \
73 `for p in $PLUGINS; do printf %s " -include $p/bin2";done` \
74 -file META-INF
/MANIFEST.MF
=$T_MF \
78 echo "Created $O." || die
"Creating $O failed."