Martin Skopp <[EMAIL PROTECTED]> wrote on 19/11/2003 04:20:35 AM: > 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? We had one before about this:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-786 But from memory, the 'fix' broke 'sh' or cygwin or something. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
