ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r810025 - /ant/core/trunk/src/main/org/apache/tools/ant/types/resources/AbstractClasspathResource.java
Date Tue, 01 Sep 2009 13:26:31 GMT
Author: bodewig
Date: Tue Sep  1 13:26:30 2009
New Revision: 810025

URL: http://svn.apache.org/viewvc?rev=810025&view=rev
Log:
Make javaresource and friends honor build.sysclasspath

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/types/resources/AbstractClasspathResource.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/types/resources/AbstractClasspathResource.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/types/resources/AbstractClasspathResource.java?rev=810025&r1=810024&r2=810025&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/types/resources/AbstractClasspathResource.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/types/resources/AbstractClasspathResource.java
Tue Sep  1 13:26:30 2009
@@ -164,7 +164,8 @@
         }
         if (cl == null) {
             if (getClasspath() != null) {
-                cl = getProject().createClassLoader(classpath);
+                Path p = getClasspath().concatSystemClasspath();
+                cl = getProject().createClassLoader(p);
             } else {
                 cl = JavaResource.class.getClassLoader();
             }



Mime
View raw message