So in following with my last JRuby post, this weekend I came up with the next piece to the puzzle; how to use maven to build a self-contained jar file that runs ruby scripts. It’s still pretty raw and lacking an interesting name, but I threw my test code up on github for now to assist in its evolution. If you’re interested in trying it out do the following:
With luck, I’ll have this abstracted somehow so you don’t have to really invade your project, but rather can just include an appropriate pom.xml and be on your way. Maybe some of the friendly folks in #maven can help me out. And once it’s more polished, expect a release on code.cimians.com.
Consider this one more step in my plan to subvert the java-centric development world. And now I’ll be accompanied by a small army of ruby scripts wearing jar-file disguises.