Use a newer ant to avoid the "whitepsace in path" handling problem as shown below:
Use a newer ant to avoid the "whitepsace in path" handling problem as shown below:

+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'source'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Test harness for Hudson and plugins
[INFO]    task-segment: [source:jar, install]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing source:jar
[INFO] [enforcer:enforce {execution: default}]
[INFO] [enforcer:display-info {execution: default}]
[INFO] Maven Version: 2.2.1
[INFO] JDK Version: 1.6.0_19 normalized as: 1.6.0-19
[INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
[INFO] [source:jar {execution: default-cli}]
[INFO] Building jar: C:\cygwin\home\kkawaguchi\ws\hudson\hudson\main\test\target\hudson-test-harness-1.356-SNAPSHOT-sources.jar
[INFO] [enforcer:enforce {execution: default}]
[INFO] [enforcer:display-info {execution: default}]
[INFO] Maven Version: 2.2.1
[INFO] JDK Version: 1.6.0_19 normalized as: 1.6.0-19
[INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] inceptionYear not specified, defaulting to 2010
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] [groovy:execute {execution: preset-packager}]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] 

Illegal character in path at index 18: file:/C:/Documents and Settings/kkawaguchi/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
	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: org.apache.maven.plugin.MojoExecutionException
	at org.codehaus.groovy.maven.plugin.MojoSupport.execute(MojoSupport.java:85)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
	... 17 more
Caused by: 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 groovy.util.AntBuilder.createProject(AntBuilder.java:140)
	at groovy.util.AntBuilder.<init>(AntBuilder.java:69)
	at org.codehaus.groovy.maven.runtime.v1_6.ScriptExecutorFeature$ScriptExecutorImpl.createAntBuilder(ScriptExecutorFeature.java:84)
	at org.codehaus.groovy.maven.runtime.v1_6.ScriptExecutorFeature$ScriptExecutorImpl.createMagicAttribute(ScriptExecutorFeature.java:101)
	at org.codehaus.groovy.maven.runtime.support.ScriptExecutorSupport.applyContext(ScriptExecutorSupport.java:108)
	at org.codehaus.groovy.maven.runtime.support.ScriptExecutorSupport.execute(ScriptExecutorSupport.java:69)
	at org.codehaus.groovy.maven.plugin.execute.ExecuteMojo.process(ExecuteMojo.java:200)
	at org.codehaus.groovy.maven.plugin.ComponentMojoSupport.doExecute(ComponentMojoSupport.java:60)
	at org.codehaus.groovy.maven.plugin.MojoSupport.execute(MojoSupport.java:69)
	... 19 more
Caused by: java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/Documents and Settings/kkawaguchi/.m2/repository/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)
	... 38 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Thu Apr 22 15:20:14 PDT 2010
[INFO] Final Memory: 37M/89M
[INFO] ------------------------------------------------------------------------


git-svn-id: 28f34f9aa52bc55a5ddd5be9e183c5cccadc6ee4@30335 71c3de6d-444a-0410-be80-ed276b4c234a

stefanbrausch/hudson-main,stefanbrausch/hudson-main,stefanbrausch/hudson-main,stefanbrausch/hudson-main,stefanbrausch/hudson-main,stefanbrausch/hudson-main,stefanbrausch/hudson-main