If you have to deal with several projects that are based on different versions of Java here is how I’m solving this.
Recently I found out built-in OS X capabilities to switch between different version of Java installed on your system. After some period of time using it I come up with aliases to easily switch between Java versions installed on my machine, here are they:
Recent 2 days were just amazing, if you ask me why here is an answer – I was at JEEConf in Kyiv.
It was quite good conference with lot of option to get some fresh ideas in software development with Java. Among speakers from Ukraine there were a lot from other countries like UK, USA, Switzerland, Germany, Egypt, Greece, Sweden, Poland, Netherlands and Russia etc.
I need to mention that organization was well done, there were even lunch for attendees.
It’s ok, I’ve done with switching of build to Buildr, but there is a constraint for talk – I cannot use my laptop to live demo. I was thinking about remote connection, VM preparation, and finally come up with idea to use Travis CI.
After some reading of documentation and playing with Travis CI build configuration I compete my set up, and it just wonderful how it’s easy and pretty straight forward to achieve continuous integration for open source project.
There was one trick though with using of Ruby kind of project to build Java related source code, but it was easily done with help of Bundler to install Buildr and then just execute it’s commands through