Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

do not install jruby-launcher on mvn -Pbootstrap for windows #1498

Closed
mkristian opened this Issue · 4 comments

4 participants

Christian Meier Scott Archer Dmitry Ratnikov Thomas E Enebo
Christian Meier
Collaborator

it looks like windows users do not have a C-compiler installed (at some users) and then the bootstrap fails.

it would a quite easy to NOT install the jruby-launcher during bootstrap when we are on a windows machine.

I guess that would make it easier for people to help fixing things on windows.

Scott Archer

Would this be why I'm getting the following error when running mvn -Pbootstrap in windows?

[INFO] ------------------------------------------------------------------------
[INFO] Building JRuby Integration Tests 1.7.11-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ jruby-tests ---
[INFO]
[INFO] --- gem-maven-plugin:1.0.0-rc2:initialize (default) @ jruby-tests ---
[WARNING] ERROR:  Loading command: install (LoadError)
[WARNING]       load error: jopenssl/load -- java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DERBoolean
[WARNING] ERROR:  While executing gem ... (NoMethodError)
[WARNING]     undefined method `invoke_with_build_args' for nil:NilClass
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] JRuby ............................................. SUCCESS [0.429s]
[INFO] JRuby Core ........................................ SUCCESS [41.951s]
[INFO] JRuby Ext ......................................... SUCCESS [0.060s]
[INFO] JRuby OpenSSL ..................................... SUCCESS [3.183s]
[INFO] JRuby Readline .................................... SUCCESS [0.145s]
[INFO] JRuby Ripper ...................................... SUCCESS [0.405s]
[INFO] JRuby Integration Tests ........................... FAILURE [11.202s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 57.664s
[INFO] Finished at: Tue Feb 11 12:41:57 CST 2014
[INFO] Final Memory: 39M/612M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.0.0-rc2:initialize (default) on project jruby-tests: Execution de
fault of goal de.saumya.mojo:gem-maven-plugin:1.0.0-rc2:initialize failed: Java returned: 1 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :jruby-tests
Christian Meier
Collaborator
Dmitry Ratnikov

Seems like jruby-launcher also prevents from building jruby-complete jar on windows as well.

+1 on removing its dependency.

Christian Meier
Collaborator

just added by a profile bootstrap-no-launcher and mention it in BUILDING.md. also building jruby-complete or jruby-dist will not run integration-tests (one did try to install the jruby-launcher as well) per default.

Christian Meier mkristian closed this
Thomas E Enebo enebo added this to the JRuby 1.7.11 milestone
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.