ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: ANT_OPTS and -D
Date Tue, 31 Jan 2006 21:02:47 GMT
On Tue, 31 Jan 2006, javier muguruza <jmuguruza@gmail.com> wrote:

> I am trying to set ant to start with some customization, but setting
> ANT_OPTS = -Dcom.sun.management.jmxremote
> does not seem to work.

It should (without whitespace around the equals sign, at least for
/bins/sh).

> Maybe ANT_OPTS can only to be used with things like -server
> -XX:+UseParallelGC and -D is only available in the command line?

No.  ANT_OPTS is for anything you want to pass to the java command
running Ant, ANT_ARGS is for arguments you want to pass to Ant
itself.

Stefan

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


Mime
View raw message