Skip to content

Commit

Permalink
use mvn instead of rmvn - too many Errno::EBADF
Browse files Browse the repository at this point in the history
  • Loading branch information
mkristian committed Aug 20, 2014
1 parent 1fe3b00 commit a3c9f0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
language: java
before_script:
- unset GEM_PATH GEM_HOME IRBRC
- find -name pom-generated.xml | xargs rename s/-generated//
- "export PATH=`pwd`/bin:$PATH"

jdk:
Expand Down
9 changes: 3 additions & 6 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -463,26 +463,23 @@
</target>

<target name="jruby-jars" description="Create the jruby-jars GEM">
<exec executable="mvn" failonerror="true"/>
<exec executable="lib/ruby/gems/shared/bin/rmvn" failonerror="true">
<exec executable="mvn" failonerror="true">
<arg line="-Pjruby-jars"/>
<arg line="-Dinvoker.skip=false"/>
<arg line="install"/>
</exec>
</target>

<target name="complete" description="Create the jruby-complete.jar">
<exec executable="mvn" failonerror="true"/>
<exec executable="lib/ruby/gems/shared/bin/rmvn" failonerror="true">
<exec executable="mvn" failonerror="true">
<arg line="-Pcomplete"/>
<arg line="-Dinvoker.skip=false"/>
<arg line="install"/>
</exec>
</target>

<target name="main" description="Create the jruby maven artifacts">
<exec executable="mvn" failonerror="true"/>
<exec executable="lib/ruby/gems/shared/bin/rmvn" failonerror="true">
<exec executable="mvn" failonerror="true">
<arg line="-Pmain"/>
<arg line="-Dinvoker.skip=false"/>
<arg line="install"/>
Expand Down

0 comments on commit a3c9f0d

Please sign in to comment.