ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yaron Ruckenstein" <yaron.ruckenst...@mobilitec.com>
Subject javac and "-J-mx256m" passed as compilerarg
Date Tue, 24 Dec 2002 11:45:21 GMT
Hi,

I have "out of memory exception" while compiling on win2000 with jdk1.3.1_03

This is the javc usage:

<javac destdir="${project.dir}/lib/classes"
classpathref="project.class.path">
	<compilerarg value="-J-mx500m"/>
	<src path="${project.dir}/src"/>
</javac>

The Compilation fails, saying :
    [javac] javac: invalid flag: -J-mx500m
    [javac] Usage: javac <options> <source files>

When I performed my compilation with scripts, this option worked fine.

I thank you in advance for any suggestion,
Yaron.


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message