ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Irene Ros" <>
Subject Re: Redhat Linux Enterprise issues with command line argument containing spaces
Date Wed, 30 Aug 2006 19:45:09 GMT
Hi Dominique,

I am running version 1.5.4. Unfortunately it's not an option for me to 
update to another version, it is prepackaged with our product. I am using 
the jar that we ship and there is no pre-installed ant on the system.
Is anyone else developing on RHEL 4 by any chance?

Irene Ros 
Software Engineer

"Dominique Devienne" <> 
08/30/2006 03:38 PM
Please respond to
"Ant Users List" <>

"Ant Users List" <>

Re: Redhat Linux Enterprise issues with command line argument containing 

First, make sure you're using the install of Ant you expect. Linux
often comes with a pre-installed Ant which might be older than the one
you think you are using, which automatically use by default.
Use the package manager to find out if Ant is pre-installed.

Second, this sounds like an issue with ant, the Shell script in
$ANT_HOME/bin that starts the Ant VM, although it's strange no one
would have noticed it before.

Which version of Ant as you using BTW? --DD

On 8/30/06, Irene Ros <> wrote:
> Hello,
> I've been developing various configuration scripts and I noticed that 
> I pass arguments through the command like such as -Dusername="firstname
> lastname" only the part prior to the space is registered. So when I
> reference ${username} it will return "firstname". Is there any 
> for this? I know this doesn't occur on windows but it seems linux 
> the quotation marks (I've also tried single quotes.)
> The argument is to be directly used in a java task but seeing as I am 
> seeing the entire value in a simple echo statement, I am pretty sure the
> issue is in the argument passing.
> Has this issue been brought up before? I haven't been able to find any
> info in the mailing list archives.
> Thank you very much.
> Irene Ros
> Software Engineer
> e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message