Ken Rimple heads Chariot Solutions' training and mentoring programs, and has developed and/or delivered courseware and seminars in a variety of technologies such as Maven, OSGi, Groovy, Grails and Spring. Throughout his career, Ken has always made it a priority to teach others what he has learned. Ken has served as the technical co-chair of both the Fall Forecast 2008 Cloud Computing Conference and the 2009 - 2012 Emerging Technologies for the Enterprise conferences. He hosts a popular podcast, the Chariot TechCast, and has led or participated in projects written in Java since Java 1.0.2. Ken taught the first Philadelphia-area Sun Introduction to Java course in the late 1990s. He is the co-author (along with Srini Penchikala) of Spring Roo in Action for Manning Publications. He is also an avid photographer and jazz drummer. Ken is a DZone MVB and is not an employee of DZone and has posted 35 posts at DZone. You can read more from them at their website. View Full User Profile

Living on the Edge of a Roo - working on the trunk

10.22.2011
| 3906 views |
  • submit to reddit

Let's say you're an add-on developer or someone who wants to stay current with the refactorings of Roo 1.2. Since it is in active development, you need to do two things to make your project work with the latest code. Remember, this is bleeding edge, so don't be surprised if your Maven gets ahead of your snapshot builds...

Install the CI build

First, download the most recent build from the CI server at http://static.springsource.org/downloads/nightly/snapshot-download.php?project=ROO Install it as roo in your symlinks (unix/OS X) or add to the path for Windows.

On my OS X system, I call it rooss, and I keep M1 as roo.

Set up your snapshot repo and Roo version

Next, edit your pom.xml file and change the roo.version to 1.2.0.BUILD-SNAPSHOT - the punctuation is very important to Maven here. You'll need to add the Roo snapshots repository to your repository list:

 <repository>
    <id>spring-roo-repository</id>
    <name>Spring Roo Repository</name>
    <url>http://spring-roo-repository.springsource.org/release</url>
</repository>

Then, you can do a mvn package and you should be on your way.

From http://www.rimple.com/tech/2011/10/18/living-on-the-edge-of-a-roo-working-on-the-trunk.html

Published at DZone with permission of Ken Rimple, author and DZone MVB.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)