[
http://jira.codehaus.org/browse/MSELENIUM-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_108097
]
Jerome Lacoste commented on MSELENIUM-22:
-----------------------------------------
A work.-around in MGROOVY-64 is to use a local repository without spaces.
On XP, I am using my dos file name for the documents and settings directory:
C:\DOCUME~1\XXXXXXXX\.m2\repository
It looks like it works for usual maven commands, so I will try with selenium as
soon as I enable a project to use it.
> Windows path with white space issue in start-server goal
> --------------------------------------------------------
>
> Key: MSELENIUM-22
> URL: http://jira.codehaus.org/browse/MSELENIUM-22
> Project: Maven 2.x Selenium Plugin
> Issue Type: Bug
> Components: start-server
> Affects Versions: 1.0-beta-2
> Environment: xp
> Reporter: Dan Tran
> Assignee: Jason Dillon
> Fix For: 1.0-beta-2
>
>
> when local repo is at default setting on windows, selenium:start-server
> breaks. this errro shows up last last week with latest snapshot. The work
> around is to move localrepo to somewhere else with no white space in its
> path. Here is the error message
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [selenium:start-server {execution: start-selenium}]
> [INFO] Starting Selenium server...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] null
> Illegal character in path at index 18: file:/C:/Documents and
> Settings/dtran/.m2
> /repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.IllegalArgumentException
> at java.net.URI.create(URI.java:842)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.tools.ant.launch.Locator.fromURI(Locator.java:162)
> at
> org.apache.tools.ant.launch.Locator.getResourceSource(Locator.java:11
> 9)
> at org.apache.tools.ant.launch.Locator.getClassSource(Locator.java:90)
> at org.apache.tools.ant.Project.setAntLib(Project.java:313)
> at org.apache.tools.ant.Project.initProperties(Project.java:309)
> at org.apache.tools.ant.Project.init(Project.java:295)
> at
> org.codehaus.mojo.groovy.util.AntBuilder.createProject(AntBuilder.jav
> a:62)
> at org.codehaus.mojo.groovy.util.AntBuilder.<init>(AntBuilder.java:36)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
> orAccessorImpl.java:39)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
> onstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> at
> org.codehaus.groovy.runtime.MetaClassHelper.doConstructorInvoke(MetaC
> lassHelper.java:563)
> at
> groovy.lang.MetaClassImpl.doConstructorInvoke(MetaClassImpl.java:1864
> )
> at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:804)
> at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:734)
> at
> org.codehaus.groovy.runtime.Invoker.invokeConstructorOf(Invoker.java:
> 143)
> at
> org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorOf(Invoker
> Helper.java:114)
> at
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeNewN(ScriptBy
> tecodeAdapter.java:214)
> at
> org.codehaus.mojo.groovy.GroovyMojoSupport.getAnt(GroovyMojoSupport.g
> roovy:39)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(Ref
> lectionMetaMethod.java:52)
> at
> org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassH
> elper.java:714)
> at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:936)
> at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:2183)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(Ref
> lectionMetaMethod.java:52)
> at
> org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassH
> elper.java:714)
> at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:583)
> at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:476)
> at
> org.codehaus.groovy.runtime.Invoker.invokePojoMethod(Invoker.java:104
> )
> at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:77)
> at
> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.
> java:85)
> at
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(Scrip
> tBytecodeAdapter.java:158)
> at
> org.codehaus.mojo.groovy.GroovyMojoSupport.getProperty(GroovyMojoSupp
> ort.groovy)
> at
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.getGroovyObjectProp
> erty(ScriptBytecodeAdapter.java:527)
> at
> org.codehaus.mojo.selenium.StartServerMojo.execute(StartServerMojo.gr
> oovy:188)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:443)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:539)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> fecycle(DefaultLifecycleExecutor.java:480)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:459)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:311)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:278)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:143)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.net.URISyntaxException: Illegal character in path at index
> 18: f
> ile:/C:/Documents and
> Settings/dtran/.m2/repository/org/apache/ant/ant/1.7.0/ant
> -1.7.0.jar
> at java.net.URI$Parser.fail(URI.java:2816)
> at java.net.URI$Parser.checkChars(URI.java:2989)
> at java.net.URI$Parser.parseHierarchical(URI.java:3073)
> at java.net.URI$Parser.parse(URI.java:3021)
> at java.net.URI.<init>(URI.java:578)
> at java.net.URI.create(URI.java:840)
> ... 65 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email