Hi,
I’m trying to minimize any interruption to my flow when developing a
Rails app. My current setup is thus:
- Edit ruby code.
- Maven build / deploy to local Tomcat instance. This uses warbler to
build a war, and maven to pull in other Java lib dependencies and
deploy to tomcat. - Browse my app to see the changes that I’ve made.
The build / deploy step takes a minute, but it interrupts and slows
down the feedback loop between writing code and seeing what it does.
Now, the reason that I’m deploying to Tomcat is that I have a JNDI
resource which is used by the application (not JDBC or anything that
simple).
My currently envisaged ideal flow would be:
- Edit ruby code
- Browse the app to see the changes I’ve made.
Any suggestions as to how I get there? I can’t see that the Glassfish
gem will let me define a JNDI resource that I need. Potentially, I
could try using symlinks to update an exploded WAR in Tomcat, but that
doesn’t work for the Windows guys on my team.
If java dependencies change, then I’m willing to suffer a build /
deploy cycle to pick that up, but otherwise I could be looking at
wasting an hour a day for builds and associated difficulties in
maintaining a good development state.
Cheers,
James
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email