ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Eitner <Christian.Eit...@cern.ch>
Subject Re: Target names with spaces evoke error
Date Mon, 23 Jun 2003 09:25:58 GMT
Salut Antoine et tous les autres!

In fact, it was a problem in the /usr/bin/ant script. It called ant with $@ for arguments.
Replacing that with "$@" solved the thing. I filed a bug report at Debian's.

   Thanks,

   Christian

On Mon, Jun 23, 2003 at 08:43:36AM +0200, Antoine Levy-Lambert wrote:
> Hi Christian,
> 
> I have tested a target with space with ant1.6alpha under cygwin and under
> Solaris.
> In both cases it works, I am not getting an error if I do
> ant "with space"
> You might want to have a look at the ant script which is included in your
> debian distribution and maybe change its first line to #!/bin/sh -x to see
> what it is doing ?
> One debian specialty is that there is an ant script under /usr/bin; maybe
> this one is causing the trouble and you might want to rename it or delete it
> to invoke directly ant's own script, not a wrapper or a symbolic link.
> Make sure that you define ANT_HOME in your shell, and that ANT_HOME/bin is
> in your PATH.
> Antoine
> 

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


Mime
View raw message