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

Closed
mkristian opened this Issue Feb 10, 2014 · 4 comments

Projects

None yet

4 participants

@mkristian
Member

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.

@scarcher2

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
@mkristian
Member

nope, that is something else, i.e. the jruby from the build can not load the
bouncy-castle jars. sounds familiar to me :(

@ratnikov
Contributor

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

+1 on removing its dependency.

@mkristian
Member

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.

@mkristian mkristian closed this Feb 19, 2014
@enebo enebo added this to the JRuby 1.7.11 milestone Feb 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment