Probably my fault. Most of us aren't using Windows anymore which would
explain why it affected you and not us. I just committed a fix and deployed a
new snapshot. Thus, you should be able to build now if you run with the -U
-cpu to update the snapshot.
Dan
On Thursday 24 June 2010 4:06:17 pm Jim Talbut wrote:
> Hi,
>
> When I try to build CXF from source I get this:
> [INFO] Preparing pmd:check
> [INFO] [pmd:pmd {execution: pmd}]
> [INFO] [pmd:check {execution: validate}]
> [INFO]
> [INFO] [cxf-xml2fastinfoset:xml2fastinfoset {execution: xml2fastinfoset}]
> [INFO] [cxf-xjc:xsdtojava {execution: generate-sources}]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The filename, directory name, or volume label syntax is incorrect
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: The filename,
> directory name, or volume label syntax is incorrect
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLif
> ecycleExecutor.java:719) at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycl
> e(DefaultLifecycleExecutor.java:556) at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLife
> cycleExecutor.java:535) at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFai
> lures(DefaultLifecycleExecutor.java:387) at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Def
> aultLifecycleExecutor.java:348) at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycl
> eExecutor.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:3
> 9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
> l.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: The filename,
> directory name, or volume label syntax is incorrect
> at
> org.apache.cxf.maven_plugin.AbstractXSDToJavaMojo.execute(AbstractXSDToJava
> Mojo.java:229) at
> org.apache.cxf.maven_plugin.XSDToJavaMojo.execute(XSDToJavaMojo.java:38)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManag
> er.java:490) at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLif
> ecycleExecutor.java:694) ... 17 more
> Caused by: java.io.IOException: The filename, directory name, or volume
> label syntax is incorrect
> at java.io.WinNTFileSystem.createFileExclusively(Native Method)
> at java.io.File.createNewFile(File.java:883)
> at
> org.apache.cxf.maven_plugin.AbstractXSDToJavaMojo.execute(AbstractXSDToJava
> Mojo.java:220) ... 20 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 50 seconds
> [INFO] Finished at: Thu Jun 24 20:59:07 BST 2010
> [INFO] Final Memory: 120M/502M
> [INFO]
> ------------------------------------------------------------------------
>
> Useful version details:
> C:\Work\cxf>mvn -v
> Apache Maven 2.2.1 (r801777; 2009-08-06 20:16:01+0100)
> Java version: 1.6.0_14
> Java home: C:\Program Files\Java\jdk1.6.0_14\jre
> Default locale: en_GB, platform encoding: Cp1252
> OS name: "windows vista" version: "6.0" arch: "amd64" Family: "windows"
> C:\Work\cxf>echo %MAVEN_OPTS%
> -Xms512m -Xmx512m -XX:PermSize=512m -XX:MaxPermSize=512m
>
> Noone else seems to be hitting this, so I'm guess it's something stupid
> in my setup, can anyone point me in the right direction?
>
> Thanks
>
> Jim
--
Daniel Kulp
[email protected]
http://dankulp.com/blog