ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Kitching <skitch...@apache.org>
Subject Re: using arguments after the java command
Date Wed, 20 Jul 2005 02:14:12 GMT
On Tue, 2005-07-19 at 22:07 -0400, James Black wrote:

> This is the error I get:
> Exception caught: java.lang.IllegalArgumentException: Unknown command
> line argument: -o filename.tini

You should carefully read the ant manual for <java> re the difference
between
 <arg value=
and
 <arg line=

Using value= is equivalent to quoting that value on the command line:
  java "-o filename.tini"
vs
  java -o filename.tini

try
  <arg value="-o"/>
  <arg value="filename.tini"/>
  ....

Regards,

Simon




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


Mime
View raw message