Re: ant generate-maven-artifacts, BUILD FAILED?
I'll take a look. Have you tried a diff. version of Maven? On Aug 24, 2009, at 3:09 PM, Ryan McKinley wrote: Anyone else seeing this: $ ant generate-maven-artifacts ... ... BUILD FAILED c:\workspace\apache\solr\build.xml:741: The following error occurred while executing this line: c:\workspace\apache\solr\common-build.xml:261: Failed to copy c:\workspace\apache\solr\src\maven\solr-parent-pom.xml.template to c:\workspace\apache\solr\build\maven\c:\workspace\apache\solr\src \maven\solr-parent-pom.xml.template due to java.io.FileNotFoundException c:\workspace\apache\solr\build\maven\c:\workspace\apache\solr\src \maven\solr-parent-pom.xml.template (The filename, directory name, or volume label syntax is incorrect) Total time: 3 minutes 37 seconds $ ant -version Apache Ant version 1.7.1 compiled on June 27 2008 $ mvn --version Maven version: 2.0.10 Java version: 1.6.0_13 OS name: windows vista version: 6.0 arch: amd64 Family: windows - - - - - - Obviously this has something to do with: c:\workspace\apache\solr\build\maven\c:\workspace\apache... thanks ryan
Re: ant generate-maven-artifacts, BUILD FAILED?
On Aug 25, 2009, at 11:17 AM, Grant Ingersoll wrote: I'll take a look. Have you tried a diff. version of Maven? On Aug 24, 2009, at 3:09 PM, Ryan McKinley wrote: Anyone else seeing this: $ ant generate-maven-artifacts ... ... BUILD FAILED c:\workspace\apache\solr\build.xml:741: The following error occurred while executing this line: c:\workspace\apache\solr\common-build.xml:261: Failed to copy c:\workspace\apache\solr\src\maven\solr-parent-pom.xml.template to c:\workspace\apache\solr\build\maven\c:\workspace\apache\solr\src \maven\solr-parent-pom.xml.template due to java.io.FileNotFoundException c:\workspace\apache\solr\build\maven\c:\workspace\apache\solr\src \maven\solr-parent-pom.xml.template (The filename, directory name, or volume label syntax is incorrect) Total time: 3 minutes 37 seconds $ ant -version Apache Ant version 1.7.1 compiled on June 27 2008 $ mvn --version Maven version: 2.0.10 Java version: 1.6.0_13 OS name: windows vista version: 6.0 arch: amd64 Family: windows - - - - - - Obviously this has something to do with: c:\workspace\apache\solr\build\maven\c:\workspace\apache... Hmm, WFM (Works for me) but I'm on a Mac. Does ant -diagnostics show anything weird? You might try echoing out the basedir and the maven.build.dir -Grant
Re: ant generate-maven-artifacts, BUILD FAILED?
I only see the behavior on windows. Works fine in linux/mac (with same maven version) Running with maven 2.2.1 I get the same results... I'll try some more debugging tomorow On Aug 25, 2009, at 11:41 AM, Grant Ingersoll wrote: On Aug 25, 2009, at 11:17 AM, Grant Ingersoll wrote: I'll take a look. Have you tried a diff. version of Maven? On Aug 24, 2009, at 3:09 PM, Ryan McKinley wrote: Anyone else seeing this: $ ant generate-maven-artifacts ... ... BUILD FAILED c:\workspace\apache\solr\build.xml:741: The following error occurred while executing this line: c:\workspace\apache\solr\common-build.xml:261: Failed to copy c:\workspace\apache\solr\src\maven\solr-parent-pom.xml.template to c:\workspace\apache\solr\build\maven\c:\workspace\apache\solr\src \maven\solr-parent-pom.xml.template due to java.io.FileNotFoundException c:\workspace\apache\solr\build\maven\c:\workspace\apache\solr\src \maven\solr-parent-pom.xml.template (The filename, directory name, or volume label syntax is incorrect) Total time: 3 minutes 37 seconds $ ant -version Apache Ant version 1.7.1 compiled on June 27 2008 $ mvn --version Maven version: 2.0.10 Java version: 1.6.0_13 OS name: windows vista version: 6.0 arch: amd64 Family: windows - - - - - - Obviously this has something to do with: c:\workspace\apache\solr\build\maven\c:\workspace\apache... Hmm, WFM (Works for me) but I'm on a Mac. Does ant -diagnostics show anything weird? You might try echoing out the basedir and the maven.build.dir -Grant