On Ant side, this is reported as
http://issues.apache.org/bugzilla/show_bug.cgi?id=42222 and already
fixed toward 1.7.1.
According to a quick Google search, 1.7.1 should be released "soon", but
no roadmap was found.
Kohsuke Kawaguchi wrote:
> I debugged this and found out that "Ant 1.7.0 + Maven 2 + whitespace in
> path = disaster." I'm rolling back to Ant 1.6.5.
>
> See http://jira.codehaus.org/browse/MANTRUN-68 for the cause of the problem.
>
> Tim Quinn wrote:
>> Hi, again.
>>
>> I did build v3/api first (that worked), and the error below (sorry for
>> the length) is what I got from the v3-level build.
>>
>> Indeed the blank at position 18 is illegal in a URL. And no, I have not
>> changed the location of my mvn repository since my most recent
>> successful builds.
>>
>> Any advice? Please?
>>
>> - Tim
>>
>> [INFO]
>> ----------------------------------------------------------------------------
>> [INFO] Building Glassfish Nucleus Base Bundle
>> [INFO] task-segment: [install]
>> [INFO]
>> ----------------------------------------------------------------------------
>> Downloading:
>> http://download.java.net/maven/glassfish/org/jvnet/maven-antrun-extended-plugin/maven-antrun-extended-plugin/1.13/maven
>> -antrun-extended-plugin-1.13.pom
>> Downloading:
>> http://download.java.net/maven/2/org/jvnet/maven-antrun-extended-plugin/maven-antrun-extended-plugin/1.13/maven-antrun-
>> extended-plugin-1.13.pom
>> 5K downloaded
>> Downloading:
>> http://download.java.net/maven/glassfish/org/jvnet/maven-antrun-extended-plugin/maven-antrun-extended-plugin/1.13/maven
>> -antrun-extended-plugin-1.13.jar
>> Downloading:
>> http://download.java.net/maven/2/org/jvnet/maven-antrun-extended-plugin/maven-antrun-extended-plugin/1.13/maven-antrun-
>> extended-plugin-1.13.jar
>> 61K downloaded
>> [INFO] [resources:resources]
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] FATAL ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] null
>> Illegal character in path at index 18: file:/C:/Documents and
>> Settings/tjquinn/.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(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.apache.tools.ant.launch.Locator.fromURI(Locator.java:162)
>> at
>> org.apache.tools.ant.launch.Locator.getResourceSource(Locator.java:119)
>> 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.jvnet.maven.plugin.antrun.components.AntTargetConverter.processConfiguration(AntTargetConverter.java:110)
>> at
>> org.jvnet.maven.plugin.antrun.components.AntTargetConverter.fromConfiguration(AntTargetConverter.java:80)
>> at
>> org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.configure(ComponentValueSetter.java:247)
>> at
>> org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWith
>> FieldsConverter.java:137)
>> at
>> org.codehaus.plexus.component.configurator.BasicComponentConfigurator.configureComponent(BasicComponentConfigurator.java:
>> 56)
>> at
>> org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1147)
>> at
>> org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:614)
>> at
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:421)
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.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(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> 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: file:/C:/Documents and Settings/tjquinn/.m2/repositor
>> y/org/apache/ant/ant/1.7.0/ant-1.7.0.jar
>> at java.net.URI$Parser.fail(URI.java:2809)
>> at java.net.URI$Parser.checkChars(URI.java:2982)
>> at java.net.URI$Parser.parseHierarchical(URI.java:3066)
>> at java.net.URI$Parser.parse(URI.java:3014)
>> at java.net.URI.<init>(URI.java:578)
>> at java.net.URI.create(URI.java:840)
>> ... 35 more
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 2 minutes 27 seconds
>> [INFO] Finished at: Wed Jan 09 14:53:02 CST 2008
>> [INFO] Final Memory: 30M/63M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>>
>
>
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com