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:[EMAIL PROTECTED] 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 > [EMAIL PROTECTED]:$PWD --> but if I type env I get the --> in a separate > line > > -----Original Message----- > From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] > 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:[EMAIL PROTECTED] >>Sent: Tuesday, December 13, 2005 11:42 AM >>To: Maven Users List >>Subject: Re: Exception running continuum on solaris >> >>the correct list is [email protected] ;-) >> >>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.executeShe >>>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.bui >>>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$Exe >>>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(Comman >>>d >>>Li >>>neUtils.java:188) >>> at >>>org.codehaus.plexus.util.cli.Commandline.addSystemEnvironment(Command >>>l >>>in >>>e.java:355) >>> at >>>org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.exec >>>u >>>te >>>ShellCommand(DefaultShellCommandHelper.java:71) >>> at >>>org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.exec >>>u >>>te >>>ShellCommand(DefaultShellCommandHelper.java:53) >>> at >>>org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShe >>>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: [EMAIL PROTECTED] >>>For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >>> >> >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
