harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r479762 - /harmony/enhanced/classlib/trunk/make/build-java.xml
Date Mon, 27 Nov 2006 21:01:29 GMT
Author: tellison
Date: Mon Nov 27 13:01:26 2006
New Revision: 479762

URL: http://svn.apache.org/viewvc?view=rev&rev=479762
Log:
Tweak javac task to remove unused attributes, and avoid getting the Ant runtime JARs.
Specify a bootclasspath to avoid getting the Java runtime JARs.

Modified:
    harmony/enhanced/classlib/trunk/make/build-java.xml

Modified: harmony/enhanced/classlib/trunk/make/build-java.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/make/build-java.xml?view=diff&rev=479762&r1=479761&r2=479762
==============================================================================
--- harmony/enhanced/classlib/trunk/make/build-java.xml (original)
+++ harmony/enhanced/classlib/trunk/make/build-java.xml Mon Nov 27 13:01:26 2006
@@ -118,13 +118,12 @@
         </fail>
         <mkdir dir="${build.output}" />
 
-        <javac fork="yes" 
-               compiler="${hy.javac.compiler}"
-               memoryMaximumSize="${hy.javac.maxmem}"
+        <javac compiler="${hy.javac.compiler}"
                destdir="${build.output}"
                source="${hy.javac.source}" 
                target="${hy.javac.target}"
-               debug="${hy.javac.debug}">
+               debug="${hy.javac.debug}"
+               includeAntRuntime="no">
             
             <compilerarg value="-warn:none" />
             
@@ -171,6 +170,15 @@
                     <include name="**/*.jar" />
                 </fileset>
             </classpath>
+
+            <!-- We need to set some BCP to avoid the compiler picking
+                 up the JRE's JARs -->
+            <bootclasspath>
+                <fileset dir="${depends.jars}">
+                    <!-- FIXME: picked mx4j arbitrarily, needs to be non-empty set -->
+                    <include name="**/mx4j.jar" />
+                </fileset>
+            </bootclasspath>
         </javac>
 
         <call-modules target="build" />



Mime
View raw message