Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Use nailgun for faster startup #7

Open
oc opened this issue Jun 11, 2009 · 4 comments
Open

Use nailgun for faster startup #7

oc opened this issue Jun 11, 2009 · 4 comments

Comments

@oc
Copy link
Contributor

oc commented Jun 11, 2009

Currently uses ...ant.taskdefs.Java to lauch jruby-jvm. Should be refactored into something more flexible in order to i.e. run with nailgun, etc.

Suggestions for better lightweight class/jvm launchers?

@torbjornvatn
Copy link
Contributor

Have org.codehaus.mojo:exec-maven-plugin been tested?

@aslakhellesoy
Copy link
Contributor

Not sure if nailgun is a good option. The classpath must be set on the nailgun server (jruby --ng-server -J-cp....) and when you build with maven you're typically compiling stepdefs and code. This means the nailgun server must be restarted and you're back to square one wrt speed saving. Or am I missing something?

@oc
Copy link
Contributor Author

oc commented Sep 3, 2009

Sorry I haven't responded sooner. The reason I figured it too much of a hassle and discontinued my nailgun branch was because of classpath issues as Aslak correctly point out. Might consider JavaRebel-plugin instead, but I'll wait till IDEAs cucumber-support is more stable.

@aslakhellesoy
Copy link
Contributor

This should be implemented decoupled from Maven so it can be used from Ant, CLI etc.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants