ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francis GALIEGUE <...@one2team.com>
Subject Re: problem with using <arg> with the javah task
Date Thu, 15 Oct 2009 13:53:57 GMT
On Thu, Oct 15, 2009 at 15:37, Bill Au <bill.w.au@gmail.com> wrote:
> I have a need to limit the max heap size of the javah task.  So I am using a
> <arg>:
>
>        <javah
>          classpath="${build.classes}"
>          destdir="${build.native}/src/org/apache/hadoop/io/compress/zlib"
>      force="yes"
>          verbose="yes"
>          >
>          <arg value="-J-Xmx512m"/>
>          <class name="org.apache.hadoop.io.compress.zlib.ZlibCompressor" />
>        </javah>
>

Have you tried using <jvmarg> instead of <arg>?
-- 

Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
fge@one2team.com
40 avenue Raymond Poincaré
75116 Paris

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


Mime
View raw message