You are viewing a plain text version of this content. The canonical link for it is here.
Posted to easyant-commits@incubator.apache.org by hi...@apache.org on 2012/12/28 15:18:00 UTC

svn commit: r1426545 - /incubator/easyant/core/trunk/build.xml

Author: hibou
Date: Fri Dec 28 15:18:00 2012
New Revision: 1426545

URL: http://svn.apache.org/viewvc?rev=1426545&view=rev
Log:
try to fix the weird no javac found error

Modified:
    incubator/easyant/core/trunk/build.xml

Modified: incubator/easyant/core/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/build.xml?rev=1426545&r1=1426544&r2=1426545&view=diff
==============================================================================
--- incubator/easyant/core/trunk/build.xml (original)
+++ incubator/easyant/core/trunk/build.xml Fri Dec 28 15:18:00 2012
@@ -75,6 +75,12 @@
             <classpath>
                 <path refid="default.classpath" />
                 <pathelement location="${bootstrap.dir}/easyant.jar" />
+                <!--
+                    Ant will try to find the tools.jar using java.home System property, but sometimes
+                    this points to JDK, and sometimes to JRE.
+                    See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4200300
+                -->
+                <path path="${java.class.path}"/>
             </classpath>
             <sysproperty key="easyant.home" file="${basedir}" />
             <arg line="-configfile ${basedir}/easyant-conf.xml" />