ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Irene Ros" <i...@us.ibm.com>
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?

Thanks!!
Irene Ros 
Software Engineer
e-mail:  iros@us.ibm.com 



"Dominique Devienne" <ddevienne@gmail.com> 
08/30/2006 03:38 PM
Please respond to
"Ant Users List" <user@ant.apache.org>


To
"Ant Users List" <user@ant.apache.org>
cc

Subject
Re: Redhat Linux Enterprise issues with command line argument containing 
spaces






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 ant.sh 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 <iros@us.ibm.com> wrote:
> Hello,
>
> I've been developing various configuration scripts and I noticed that 
when
> 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 
workaround
> for this? I know this doesn't occur on windows but it seems linux 
ignores
> 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 
not
> 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: iros@us.ibm.com
>

---------------------------------------------------------------------
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