summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-04-19 14:07:55 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-04-19 14:07:55 +0000
commit54c116ddde3231f6ea751f597de648f0cda2cbdf (patch)
treef1995a0473336d59d1678068b8d5c7a936b15bfc /dev-java/ant-core/files
parentadded missing patchset, fixes #89602. also corrected license for resin > 3.0,... (diff)
downloadhistorical-54c116ddde3231f6ea751f597de648f0cda2cbdf.tar.gz
historical-54c116ddde3231f6ea751f597de648f0cda2cbdf.tar.bz2
historical-54c116ddde3231f6ea751f597de648f0cda2cbdf.zip
till i get a chance to find the better way
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-java/ant-core/files')
-rw-r--r--dev-java/ant-core/files/1.6.3-ant5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-java/ant-core/files/1.6.3-ant b/dev-java/ant-core/files/1.6.3-ant
index 827dce3af8a2..920c4491ab51 100644
--- a/dev-java/ant-core/files/1.6.3-ant
+++ b/dev-java/ant-core/files/1.6.3-ant
@@ -15,7 +15,7 @@
# limitations under the License.
# Edited for Gentoo Linux
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-core/files/1.6.3-ant,v 1.1 2005/04/03 20:29:22 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-core/files/1.6.3-ant,v 1.2 2005/04/19 14:07:55 axxo Exp $
# Extract launch and ant arguments, (see details below).
ant_exec_args=
@@ -104,6 +104,9 @@ else
LOCALCLASSPATH=$ANT_LIB/ant-launcher.jar:$LOCALCLASSPATH
fi
+# add in the dependency .jar files
+LOCALCLASSPATH="${LOCALCLASSPATH}:`java-config --classpath=ant-core,ant-tasks,log4j,xerces-2,xalan,junit,antlr,bcel,bsh,commons-beanutils,commons-collections,commons-logging,commons-net,jakarta-oro-2.0,jdepend,jsch,jakarta-regexp-1.3,rhino-1.5,jython,jta,jaf,javamail 2> /dev/null`"
+
if [ -n "$JAVA_HOME" ] ; then
if [ -f "$JAVA_HOME/lib/tools.jar" ] ; then
LOCALCLASSPATH="$LOCALCLASSPATH:$JAVA_HOME/lib/tools.jar"