ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgl...@apache.org
Subject svn commit: r944354 - /ant/core/trunk/build.xml
Date Fri, 14 May 2010 17:38:50 GMT
Author: jglick
Date: Fri May 14 17:38:49 2010
New Revision: 944354

URL: http://svn.apache.org/viewvc?rev=944354&view=rev
Log:
Fix compilation inside a container which may have some 3rd-party libraries loaded somewhere
but not accessible with includeantruntime="false".
Otherwise get numerous errors trying to compile e.g. JavaMail- or JSCH-related tasks from
inside NetBeans.
Would be cleaner for <available> to have an option to check in the specified classpath
+ bootstrap & extension loader, but not elsewhere;
lacking that, have to specifically not use ignoresystemclasses="true" on anything which is
likely to be part of the JRE.

Modified:
    ant/core/trunk/build.xml

Modified: ant/core/trunk/build.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/build.xml?rev=944354&r1=944353&r2=944354&view=diff
==============================================================================
--- ant/core/trunk/build.xml (original)
+++ ant/core/trunk/build.xml Fri May 14 17:38:49 2010
@@ -339,69 +339,69 @@
     <available property="kaffe" classname="kaffe.util.NotImplemented"/>
     <available property="bsf.present"
       classname="org.apache.bsf.BSFManager"
-      classpathref="classpath"/>
+      classpathref="classpath" ignoresystemclasses="true"/>
     <available property="netrexx.present"
       classname="netrexx.lang.Rexx"
-      classpathref="classpath"/>
+      classpathref="classpath" ignoresystemclasses="true"/>
     <available property="apache.resolver.present"
       classname="org.apache.xml.resolver.tools.CatalogResolver"
-      classpathref="classpath"/>
+      classpathref="classpath" ignoresystemclasses="true"/>
     <available property="recent.xalan2.present"
       classname="org.apache.xalan.trace.TraceListenerEx3"
-      classpathref="classpath"/>
+      classpathref="classpath" ignoresystemclasses="true"/>
     <available property="junit.present"
       classname="junit.framework.TestCase"
-      classpathref="classpath"/>
+      classpathref="classpath" ignoresystemclasses="true"/>
     <available property="antunit.present"
       classname="org.apache.ant.antunit.AntUnit"
-      classpathref="classpath"/>
+      classpathref="classpath" ignoresystemclasses="true"/>
     <available property="commons.net.present"
       classname="org.apache.commons.net.ftp.FTPClient"
-      classpathref="classpath"/>
+      classpathref="classpath" ignoresystemclasses="true"/>
     <available property="antlr.present" 
       classname="antlr.Tool" 
-      classpathref="classpath"/>
+      classpathref="classpath" ignoresystemclasses="true"/>
     <available property="apache.regexp.present"
       classname="org.apache.regexp.RE"
-      classpathref="classpath"/>
+      classpathref="classpath" ignoresystemclasses="true"/>
     <available property="apache.oro.present"
       classname="org.apache.oro.text.regex.Perl5Matcher"
-      classpathref="classpath"/>
+      classpathref="classpath" ignoresystemclasses="true"/>
     <available property="jmf.present"
       classname="javax.sound.sampled.Clip"
       classpathref="classpath"/>
     <available property="jai.present"
       classname="javax.media.jai.JAI"
-      classpathref="classpath"/>
+      classpathref="classpath" ignoresystemclasses="true"/>
     <available property="jdepend.present"
       classname="jdepend.framework.JDepend"
-      classpathref="classpath"/>
+      classpathref="classpath" ignoresystemclasses="true"/>
     <available property="log4j.present"
       classname="org.apache.log4j.Logger"
-      classpathref="classpath"/>
+      classpathref="classpath" ignoresystemclasses="true"/>
     <available property="commons.logging.present"
       classname="org.apache.commons.logging.LogFactory"
-      classpathref="classpath"/>
+      classpathref="classpath" ignoresystemclasses="true"/>
     <available property="xalan.envcheck"
       classname="org.apache.xalan.xslt.EnvironmentCheck"
-      classpathref="classpath"/>
+      classpathref="classpath" ignoresystemclasses="true"/>
     <available property="which.present"
       classname="org.apache.env.Which"
-      classpathref="classpath"/>
+      classpathref="classpath" ignoresystemclasses="true"/>
 
     <available property="xerces.present"
       classname="org.apache.xerces.parsers.SAXParser"
-      classpathref="classpath"/>
+      classpathref="classpath" ignoresystemclasses="true"/>
     <available property="bcel.present"
       classname="org.apache.bcel.Constants"
-      classpathref="classpath"/>
+      classpathref="classpath" ignoresystemclasses="true"/>
 
     <condition property="javamail.complete">
       <and>
         <available classname="javax.activation.DataHandler"
           classpathref="classpath"/>
         <available classname="javax.mail.Transport"
-          classpathref="classpath"/>
+          classpathref="classpath" ignoresystemclasses="true"/>
       </and>
     </condition>
 
@@ -455,23 +455,23 @@
       <and>
         <available
           classname="org.apache.commons.httpclient.HttpClient"
-          classpathref="classpath"/>
+          classpathref="classpath" ignoresystemclasses="true"/>
         <isset property="commons.logging.present"/>
       </and>
     </condition>
 
     <available property="rhino.present"
       classname="org.mozilla.javascript.Scriptable"
-      classpathref="classpath"/>
+      classpathref="classpath" ignoresystemclasses="true"/>
     <available property="beanshell.present"
       classname="bsh.StringUtil"
-      classpathref="classpath"/>
+      classpathref="classpath" ignoresystemclasses="true"/>
     <available property="xerces1.present"
       classname="org.apache.xerces.framework.XMLParser"
-      classpathref="classpath"/>
+      classpathref="classpath" ignoresystemclasses="true"/>
     <available property="jsch.present"
       classname="com.jcraft.jsch.Session"
-      classpathref="classpath"/>
+      classpathref="classpath" ignoresystemclasses="true"/>
 
     <property name="build.compiler" value="modern"/>
 



Mime
View raw message