Get shared libraryes from JAVA_LIBS rather than /usr/share/java.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@931 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
+2
-2
@@ -1,13 +1,13 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# $Id: bant,v 1.2 2001/11/29 00:19:35 mdb Exp $
|
# $Id: bant,v 1.3 2002/02/05 20:27:34 mdb Exp $
|
||||||
#
|
#
|
||||||
# Invokes ant with the necessary classpath to build the bundles.
|
# Invokes ant with the necessary classpath to build the bundles.
|
||||||
|
|
||||||
BINDIR=`dirname $0`
|
BINDIR=`dirname $0`
|
||||||
|
|
||||||
# add all JAR files in /usr/share/ant/lib/ to CLASSPATH
|
# add all JAR files in /usr/share/ant/lib/ to CLASSPATH
|
||||||
SYSTEMCP=`echo /usr/share/java/*.jar | tr ' ' ':'`
|
SYSTEMCP=`echo $JAVA_LIBS/*.jar | tr ' ' ':'`
|
||||||
# add all JAR files in /usr/share/ant/lib/ to CLASSPATH
|
# add all JAR files in /usr/share/ant/lib/ to CLASSPATH
|
||||||
PROJECTCP=`echo $BINDIR/../../lib/*.jar | tr ' ' ':'`
|
PROJECTCP=`echo $BINDIR/../../lib/*.jar | tr ' ' ':'`
|
||||||
# also add narya.jar
|
# also add narya.jar
|
||||||
|
|||||||
Reference in New Issue
Block a user