IMHO this is a bug in the shell-script MAVEN_HOME/bin/maven
Change the lines containing
$MAIN_CLASS $@
into
$MAIN_CLASS "$@"
Well after all, this probably depends upon the actual shell you are
using. I don't know if a korn shell (ksh) would support "$@"....
Probably the first line
#! /bin/sh
should be changed to
#!/bin/bash
as well? Don't know how this behaves on other unix, e.g. Solaris when
you possibly don't have a bash!
I remind I have mentioned this already in a JIRA issue (cannot remind
which one) but it seems it has not been fixed in CVS HEAD yet!
Committers, do you want us to create a JIRA issue?
On Wed, 2003-11-12 at 01:06, Jeff Barrett wrote:
> I'm running rc1 w/ jdk1.3
>
> Calling maven like so on Windows:
>
> maven -Dmyname="billy bob"
>
> Seems to proceed normally.
>
> On my linux machine, I get:
>
> BUILD FAILED
> Goal "bob" does not exist in this project.
>
> I thought it was a quoting problem so I tried:
>
> maven -Dmyname=\"billy bob\"
>
> which gives:
>
> BUILD FAILED
> Goal "bob"" does not exist in this project.
>
> I'm assuming there's a cmd line parsing problem some where. Any ideas?
>
> +jeff
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
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]