You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Todd Nine <to...@gmail.com> on 2006/10/16 16:05:17 UTC
Cywin shell script error
I'm receiving the following error when I try to run maven 2.0.4 from cygwin
$ mvn
: command not found.0.4/bin/mvn: line 17:
: command not found.0.4/bin/mvn: line 20:
'cygdrive/c/maven-2.0.4/bin/mvn: line 40: syntax error near unexpected token
`in
'cygdrive/c/maven-2.0.4/bin/mvn: line 40: `case "`uname`" in
I thought that my #!/bin/sh might not exist, but it does. Also if I run
echo "`uname`", I receive the output "CYGWIN_NT-5.1". Does anyone have any
input on this?
Todd
Re: Searching Maven List
Posted by Wendy Smoak <ws...@gmail.com>.
On 10/17/06, Tom Hurley <th...@insightful.com> wrote:
> Can anyone recommend a tool for searching the Maven user list archives? I
> usually use http://marc.theaimsgroup.com/?w=2 for Apache projects but the
> Maven User List is not included there.
http://maven.apache.org/mail-lists.html ->
http://www.nabble.com/Maven---Users-f178.html
What's neat about Nabble is that you can search across all the
Maven-related lists at once by starting here:
http://www.nabble.com/Maven-f177.html
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Searching Maven List
Posted by Tom Hurley <th...@insightful.com>.
Hi:
Can anyone recommend a tool for searching the Maven user list archives? I
usually use http://marc.theaimsgroup.com/?w=2 for Apache projects but the
Maven User List is not included there.
Thanks in advance.
Tom.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Cywin shell script error
Posted by Todd Nine <to...@gmail.com>.
Well, it appears to be a non reproducible bug. I has this all day
yesterday, then I came in today and its gone. I've had some strange
behavior from my environment and roaming profiles, but I don't think that
would affect cygwin would it?
Todd
On 10/16/06, Daniel Serodio <da...@xxx.com.br> wrote:
>
> Todd Nine wrote:
> > I'm receiving the following error when I try to run maven 2.0.4 from
> > cygwin
> >
> > $ mvn
> > : command not found.0.4/bin/mvn: line 17:
> > : command not found.0.4/bin/mvn: line 20:
> > 'cygdrive/c/maven-2.0.4/bin/mvn: line 40: syntax error near unexpected
> > token
> > `in
> > 'cygdrive/c/maven-2.0.4/bin/mvn: line 40: `case "`uname`" in
> >
> >
> > I thought that my #!/bin/sh might not exist, but it does. Also if I run
> >
> > echo "`uname`", I receive the output "CYGWIN_NT-5.1". Does anyone
> > have any
> > input on this?
> >
> > Todd
> I've been using Maven on Cygwin with no problems for a while. The errors
> in line 17 and 20 (blank lines) seem to indicate a line ending problem,
> are you sure your "mvn" script is using Unix delimiters?
>
> HTH,
> Daniel Serodio
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: Cywin shell script error
Posted by Daniel Serodio <da...@xxx.com.br>.
Todd Nine wrote:
> I'm receiving the following error when I try to run maven 2.0.4 from
> cygwin
>
> $ mvn
> : command not found.0.4/bin/mvn: line 17:
> : command not found.0.4/bin/mvn: line 20:
> 'cygdrive/c/maven-2.0.4/bin/mvn: line 40: syntax error near unexpected
> token
> `in
> 'cygdrive/c/maven-2.0.4/bin/mvn: line 40: `case "`uname`" in
>
>
> I thought that my #!/bin/sh might not exist, but it does. Also if I run
>
> echo "`uname`", I receive the output "CYGWIN_NT-5.1". Does anyone
> have any
> input on this?
>
> Todd
I've been using Maven on Cygwin with no problems for a while. The errors
in line 17 and 20 (blank lines) seem to indicate a line ending problem,
are you sure your "mvn" script is using Unix delimiters?
HTH,
Daniel Serodio
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org