ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Au <bill.w...@gmail.com>
Subject Re: problem with using <arg> with the javah task
Date Thu, 15 Oct 2009 14:32:29 GMT
I just tried but it seems that <jvmarg> is not valid for the javah task:

javah doesn't support the nested "jvmarg" element.


Bill

On Thu, Oct 15, 2009 at 9:53 AM, Francis GALIEGUE <fge@one2team.com> wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message