continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mordo, Aviran (EXP N-NANNATEK)" <aviran.mo...@lmco.com>
Subject RE: Exception running continuum on solaris
Date Tue, 13 Dec 2005 21:13:39 GMT
 

I got the same exception. I also tried to remove the . From the path and it still does not
work

-----Original Message-----
From: Mayorgaadame, Alex [mailto:alex.mayorgaadame@citigroup.com]
Sent: Tuesday, December 13, 2005 3:13 PM
To: Maven Users List
Cc: continuum-users@maven.apache.org
Subject: RE: Exception running continuum on solaris

Can you try:

PATH=$PATH:/usr/sbin:/usr/builduser/maven-2.0/bin:/usr/bin

Instead of:

PATH=.:/usr/sbin:/usr/builduser/maven-2.0/bin:/usr/bin

And see if it does any good. I'm moving the discussion over to the Continuum List.

Regards,
Alex
-----Original Message-----
From: Mordo, Aviran (EXP N-NANNATEK) [mailto:aviran.mordo@lmco.com]
Sent: Tuesday, December 13, 2005 1:21 PM
To: Maven Users List
Subject: RE: Exception running continuum on solaris


Sorry in I wasn't clear, the space in the path was under Windows where it failed to start.

I attached the env file

Aviran

-----Original Message-----
From: Emmanuel Venisse [mailto:emmanuel@venisse.net]
Sent: Tuesday, December 13, 2005 12:24 PM
To: Maven Users List
Subject: Re: Exception running continuum on solaris

Can you put your env result in a file and attach it to the issue?

You have a space in a folder name under solaris!!! I thought it was only under windows.
So, you need to remove line "wrapper.java.additional.5.stripquotes=TRUE" in bin/solaris/wrapper.conf
(if you use the wrapper)

Emmanuel

Mordo, Aviran (EXP N-NANNATEK) a écrit :
> Correct.
> 
> Anyway I changed this entry not to have a carriage return and I'm still getting the exception.
> 
> I don't know if this is related but I found that if I have an entry in the system's path
with a folder name containing a space, continuum will fail to start. 
> 
> -----Original Message-----
> From: Emmanuel Venisse [mailto:emmanuel@venisse.net]
> Sent: Tuesday, December 13, 2005 12:08 PM
> To: Maven Users List
> Subject: Re: Exception running continuum on solaris
> 
> so "-->" is part of previous line with a return carriage?
> 
> Mordo, Aviran (EXP N-NANNATEK) a écrit :
> 
>>It is part of the SP1 env variable. If I echo SP1 I get 
>>user@server:$PWD -->  but if I type env I get the --> in a separate 
>>line
>>
>>-----Original Message-----
>>From: Emmanuel Venisse [mailto:emmanuel@venisse.net]
>>Sent: Tuesday, December 13, 2005 11:55 AM
>>To: Maven Users List
>>Subject: Re: Exception running continuum on solaris
>>
>>hmm, strange line.
>>Do you know what is it? It isn't an environment variable
>>
>>Emmanuel
>>
>>Mordo, Aviran (EXP N-NANNATEK) a écrit :
>>
>>
>>>Yes I do, I have the following line: "-->" (without the quotes)
>>>
>>>-----Original Message-----
>>>From: Emmanuel Venisse [mailto:emmanuel@venisse.net]
>>>Sent: Tuesday, December 13, 2005 11:42 AM
>>>To: Maven Users List
>>>Subject: Re: Exception running continuum on solaris
>>>
>>>the correct list is continuum-users@maven.apache.org ;-)
>>>
>>>It seems there is a bug in our command line util class (used too by maven 2.0.1)
Do you have a line without '=' when you run env command?
>>>The problem is with a substring on env result.
>>>
>>>Emmanuel
>>>
>>>Mordo, Aviran (EXP N-NANNATEK) a écrit :
>>>
>>>
>>>
>>>>I'm trying to build a project using continuum on Solaris and I'm 
>>>>getting the following exception:
>>>>
>>>>org.apache.maven.continuum.execution.ContinuumBuildExecutorException:
>>>>Error while executing shell command. The most common error is that 'mvn'
>>>>is not in your path.
>>>>    at
>>>>org.apache.maven.continuum.execution.AbstractBuildExecutor.executeSh
>>>>e
>>>>l
>>>>lC
>>>>ommand(AbstractBuildExecutor.java:199)
>>>>     at
>>>>org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.
>>>>b
>>>>u
>>>>il
>>>>d(MavenTwoBuildExecutor.java:86)
>>>>    at
>>>>org.apache.maven.continuum.core.action.ExecuteBuilderContinuumAction.
>>>>e
>>>>xe
>>>>cute(ExecuteBuilderContinuumAction.java:127)
>>>>     at
>>>>org.apache.maven.continuum.buildcontroller.DefaultBuildController.bu
>>>>i
>>>>l
>>>>d(
>>>>DefaultBuildController.java:171)
>>>>     at
>>>>org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.
>>>>e
>>>>x
>>>>ec
>>>>uteTask(BuildProjectTaskExecutor.java:53)
>>>>    at
>>>>org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Ex
>>>>e
>>>>c
>>>>ut
>>>>orRunnable.run(ThreadedTaskQueueExecutor.java:103)
>>>>     at java.lang.Thread.run(Thread.java:595)
>>>>Caused by: java.lang.StringIndexOutOfBoundsException: String index 
>>>>out of range: -1
>>>>     at java.lang.String.substring(String.java:1768)
>>>>     at
>>>>org.codehaus.plexus.util.cli.CommandLineUtils.getSystemEnvVars(Comma
>>>>n
>>>>d
>>>>Li
>>>>neUtils.java:188)
>>>>     at
>>>>org.codehaus.plexus.util.cli.Commandline.addSystemEnvironment(Comman
>>>>d
>>>>l
>>>>in
>>>>e.java:355)
>>>>     at
>>>>org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.exe
>>>>c
>>>>u
>>>>te
>>>>ShellCommand(DefaultShellCommandHelper.java:71)
>>>>     at
>>>>org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.exe
>>>>c
>>>>u
>>>>te
>>>>ShellCommand(DefaultShellCommandHelper.java:53)
>>>>     at
>>>>org.apache.maven.continuum.execution.AbstractBuildExecutor.executeSh
>>>>e
>>>>l
>>>>lC
>>>>ommand(AbstractBuildExecutor.java:190)
>>>>     ... 6 more
>>>>
>>>>
>>>>I have maven in the system's path, and continuum is running without 
>>>>any problems on a Windows workstation, but under Solaris 10 it does 
>>>>not build.
>>>>
>>>>Continuum was able to pull the project from Starteam, but it will 
>>>>not build it. (I can build it manually by calling maven directly)
>>>>
>>>>Any thoughts?
>>>>
>>>>Thanks
>>>>
>>>>Aviran
>>>>
>>>>--------------------------------------------------------------------
>>>>- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>>
>>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



Mime
View raw message