View Full Version : What is the best way to upgrade Spring Roo
Oct 14th, 2009, 09:22 AM
I have the STS 2.1.0 SR01, I know how to upgrade plugin in Eclipse but I was wondering what is the best way (minimal effort that does the job, like p2 dropins folder installation) to upgrade Roo from RC1 to RC2?
Oct 14th, 2009, 12:15 PM
Install the new Roo to a new location. (Optionally, remove the old Roo first.)
If you are using Roo from the command line, make sure the new executable is on your PATH (e.g., c:/dev/tools/roo-RC2/roo.bat).
If you're using Roo from within STS, go to Window->Preferences->Spring->Roo Support and add the new Roo installation directory.
(I don't know if there are program differences between RC1 and RC2 that you need to account for, but that should be in the RC2 release announcement.)
Oct 15th, 2009, 09:12 AM
All your suggestions works, I just like the second option the most :)
Oct 15th, 2009, 12:10 PM
Be aware that there are a number of changes between rc1 and rc2. I'm trying to migrate an rc1 project at the moment.
Your best bet is to create a dummy RC2 project and add some domain objects and controllers to see what has changed and modify your RC1 code.
@RooWebScaffold has changed, you need to include the path attribute e.g. (automaticallyMaintainView = true, formBackingObject = ComponentCommand.class,path="componentcommand")
roo javabeans for booleans have been corrected to be is instead of get, e.g. getRunning is now isRunning
You need a config/webmvc-config.xml under WEB-INF
That's as far as I have progressed. If you find some other issues please update!
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.