ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Dettori" <>
Subject Re: JDK1.4.1 and java
Date Fri, 11 Apr 2003 09:47:51 GMT
BTW, just for completeness.
I resolved the thing with the OoM exception using <javac>.
Now I call the directly via <java>
And give a new paramter for the underlying JVM:
Building the paths was much more difficult, but that is another thing.
here the snippet:

<java classname="" fork="yes" failonerror="true">
     <arg line="-classpath ${project.class.path} -sourcepath ${src.dir} -d
${build.dir} ${compile.source.path.unix}"/>

     <jvmarg value="-Xmx1024m"/>
     <jvmarg value="-XX:MaxPermSize=150m"/>
     <!--<jvmarg value="-verbose"/>-->
     <classpath refid="project.class.path"/>
     <classpath refid="compile.project.class.path"/>

HTH others,

View raw message