Sorry being late, dion, I was a few days offline...

On Tue, 2003-11-18 at 14:59, [EMAIL PROTECTED] wrote:
> What happens when you use
> 
>  maven '-Dmyname=billy bob'
> 
> or 
> 
>  maven "-Dmyname=billy bob"

Should work fine!  " is converted into ' anyway (after shell expansion
inside the double quotes).

Here's proove, I removed the error messages since the x_... command does
not exist:

[EMAIL PROTECTED] bin]$ cat test_shell.sh
#!/bin/sh -x
x_with "$@"
x_without $@


[EMAIL PROTECTED] bin]$ ./test_shell.sh Para1 "-Dmyname=billy bob" Para3
+ x_with Para1 '-Dmyname=billy bob' Para3
+ x_without Para1 -Dmyname=billy bob Para3

[EMAIL PROTECTED] bin]$ ./test_shell.sh Para1 '-Dmyname=billy bob' Para3
+ x_with Para1 '-Dmyname=billy bob' Para3
+ x_without Para1 -Dmyname=billy bob Para3


Will you fix it dion, or do want me to create a JIRA issue?

Thanks,
Martin

> Martin Skopp <[EMAIL PROTECTED]> wrote on 12/11/2003 07:28:57 PM:
> 
> > IMHO this is a bug in the shell-script MAVEN_HOME/bin/maven
> > 
> > Change the lines containing 
> > 
> >    $MAIN_CLASS $@
> > 
> > into
> > 
> >    $MAIN_CLASS "$@"

-- 
Martin Skopp
Riege Software International GmbH
Support: mailto:[EMAIL PROTECTED], Information: http://www.riege.com
 
This email is intended to be viewed with a nonproportional font.
Public Key on http://www.keyserver.net, Key-ID: 3D4027B5
Fingerprint: 1970 C78D 9A1D 99FA 5CE4  5C0D 29E6 6A95 3D40 27B5



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to