[packages/ant] link optional jars instead of creating CLASSPATH

atler atler at pld-linux.org
Thu May 7 21:41:51 CEST 2015


commit 909d123bd6e94ac33c0ca35f26717241d3fc4642
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu May 7 21:38:42 2015 +0200

    link optional jars instead of creating CLASSPATH
    
    system classpath is explicitly ignored when searching for optional
    components - only lib/optional/*.jars are taken into account

 ant.spec | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/ant.spec b/ant.spec
index bb2a28d..4d50e24 100644
--- 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
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ant.git/commitdiff/909d123bd6e94ac33c0ca35f26717241d3fc4642



More information about the pld-cvs-commit mailing list