]> git.pld-linux.org Git - packages/ant.git/commitdiff
link optional jars instead of creating CLASSPATH
authorJan Palus <atler@pld-linux.org>
Thu, 7 May 2015 19:38:42 +0000 (21:38 +0200)
committerJan Palus <atler@pld-linux.org>
Thu, 7 May 2015 19:38:42 +0000 (21:38 +0200)
system classpath is explicitly ignored when searching for optional
components - only lib/optional/*.jars are taken into account

ant.spec

index bb2a28da0d66ba69b4d4faa7e135f7f7b5c04a28..4d50e246d411fa88bdf6d20f8d39bf3ddfa6bf03 100644 (file)
--- a/ant.spec
+++ b/ant.spec
@@ -532,8 +532,7 @@ required_jars="jaxp_parser_impl"
 %{?with_jsch:required_jars="$required_jars jsch"}
 %{?with_netrexx:required_jars="$required_jars NetRexxC"}
 
-CLASSPATH=$(build-classpath $required_jars)
-export CLASSPATH
+build-jar-repository lib/optional $required_jars
 
 export SHELL=/bin/sh
 
This page took 0.081559 seconds and 4 git commands to generate.