db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r1070501 - in /db/derby/code/trunk/java/build/org/apache: derbyBuild/build.xml derbyPreBuild/build.xml
Date Mon, 14 Feb 2011 14:20:33 GMT
Author: kahatlen
Date: Mon Feb 14 14:20:33 2011
New Revision: 1070501

URL: http://svn.apache.org/viewvc?rev=1070501&view=rev
Log:
DERBY-5023: Cannot find Ant libraries when building from NetBeans

Use the ant.core.lib property instead of ant.library.dir, which isn't
guaranteed to be defined when Ant is invoked by an IDE.

Modified:
    db/derby/code/trunk/java/build/org/apache/derbyBuild/build.xml
    db/derby/code/trunk/java/build/org/apache/derbyPreBuild/build.xml

Modified: db/derby/code/trunk/java/build/org/apache/derbyBuild/build.xml
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/build/org/apache/derbyBuild/build.xml?rev=1070501&r1=1070500&r2=1070501&view=diff
==============================================================================
--- db/derby/code/trunk/java/build/org/apache/derbyBuild/build.xml (original)
+++ db/derby/code/trunk/java/build/org/apache/derbyBuild/build.xml Mon Feb 14 14:20:33 2011
@@ -53,7 +53,7 @@
       destdir="${out.dir}">
       <classpath>
         <pathelement path="${java15compile.classpath};${java.home}/../lib/tools.jar"/>
-        <pathelement path="${ant.library.dir}/ant.jar"/>
+        <pathelement path="${ant.core.lib}"/>
       </classpath>
       <include name="org/apache/derbyBuild/**"/>
     </javac>

Modified: db/derby/code/trunk/java/build/org/apache/derbyPreBuild/build.xml
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/build/org/apache/derbyPreBuild/build.xml?rev=1070501&r1=1070500&r2=1070501&view=diff
==============================================================================
--- db/derby/code/trunk/java/build/org/apache/derbyPreBuild/build.xml (original)
+++ db/derby/code/trunk/java/build/org/apache/derbyPreBuild/build.xml Mon Feb 14 14:20:33
2011
@@ -45,7 +45,7 @@
       includeantruntime="false">
       <include name="org/apache/derbyPreBuild/**"/>
       <classpath>
-        <pathelement path="${ant.library.dir}/ant.jar"/>
+        <pathelement path="${ant.core.lib}"/>
       </classpath>
     </javac>
   </target>



Mime
View raw message