Skip to content

Loading…

Build Failure: Cucumber-JVM: Scala (FAILURE) #167

Closed
restagner opened this Issue · 2 comments

3 participants

@restagner

After removing my copy of the cucumber-jvm directory and then performing another git clone of the latest code (commit ddaf8bc), I attempted to perform a mvn clean install and encountered the following error messages:

[INFO] Cucumber-JVM ...................................... SUCCESS [1.785s]
[INFO] Cucumber-JVM: Core ................................ SUCCESS [10.738s]
[INFO] Cucumber-JVM: JUnit ............................... SUCCESS [2.456s]
[INFO] Cucumber-JVM: Scala ............................... FAILURE [3.726s]
.
.
.
INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19.928s
[INFO] Finished at: Sun Jan 22 19:07:23 PST 2012
[INFO] Final Memory: 24M/160M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (generate-i18n-sources) on project cucumber-scala: An Ant BuildException has occured: Script Failed: /home/restagner/src/cucumber-jvm/scala/src/usr/local/apache-maven-3.0.3/bin/mvnmain/usr/local/apache-maven-3.0.3/bin/mvncode_generator/usr/local/apache-maven-3.0.3/bin/mvnI18n.scala.txt (No such file or directory)
[ERROR] 
[ERROR] around Ant part ...<groovy>import groovy.text.SimpleTemplateEngine... @ 5:11 in /home/restagner/src/cucumber-jvm/scala/target/antrun/build-main.xml
@dkowis
Cucumber member

I can't reproduce this.

A fresh checkout and build from latest head runs just fine...

This:
Script Failed: /home/restagner/src/cucumber-jvm/scala/src/usr/local/apache-maven-3.0.3/bin/mvnmain/usr/local/apache-maven-3.0.3/bin/mvncode_generator/usr/local/apache-maven-3.0.3/bin/mvnI18n.scala.txt (No such file or directory)
[ERROR]

is rather odd. It looks like it's injecting $PATH somehow into the groovy script, or the paste is horribly messed up.

@aslakhellesoy aslakhellesoy pushed a commit that closed this issue
DFUK Fix Scala build. Closes #167. a3b267e
@restagner

@dkowis Yeah, I thought that path was very strange as well. I'll give it another try and see how it goes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.