Nov 5th, 2011, 07:05 PM
Is there a bug in 1.2.0.M1 that would cause my simple app to not sucessfully package, compile or perform eclipse?
I created two simple entities, then generated all the web mvc controllers, then run perform eclipse, or go to the command line and type mvn package or mvn compile and it won't compile because it can't find the Annotation classes.
Nov 5th, 2011, 07:29 PM
It should work OK. But to fix your issue now, copy the annotations jar out of the spring-roo-1.2..0.M1/annotations directory to the appropriate directory in your .m2 repo
Nov 6th, 2011, 12:33 PM
the annotations jar is alread in the .m2 repo.
So there is something else that is wrong.
I downloaded the 1.2.0.M1 zip file unzipped it, set a symbolic link, and ran roo and ran the following script
project --topLevelPackage com.pwp.address
jpa setup --provider HIBERNATE --database POSTGRES
entity --class ~.domain.Address --testAutomatically
field string --fieldName street2 --notNull
entity --class ~.domain.Person
field set --fieldName addresses --type com.pwp.address.domain.Address --cardinality ONE_TO_MANY
field string --fieldName personName --notNull
field number --fieldName age --type int --notNull
web mvc setup
web mvc all --package com.pwp.address.web
Nov 7th, 2011, 07:12 PM
CTRL+SPACE is not working.
it's really hard to play with the tool with out
Any commet please.
____ ____ ____
/ __ \/ __ \/ __ \
/ /_/ / / / / / / /
/ _, _/ /_/ / /_/ /
/_/ |_|\____/\____/ 1.2.0.BUILD-SNAPSHOT [rev e14b410]
Welcome to Spring Roo. For assistance press CTRL+SPACE or type "hint" then hit ENTER.
Last edited by placidus; Nov 7th, 2011 at 09:35 PM.
Nov 8th, 2011, 03:45 PM
This will fix in STS soon.
CTRL+SPACE is not working.
Spring STS --->> http://forum.springsource.org/showth...622#post386622
Nov 8th, 2011, 06:32 PM
I still can't resolve my issue, but I am narrowing it down to be how Roo runs on a Mac.
So, I removed the symbolic link and removed the Roo 1.2.0.M1 directory, so effectively removed it. But if I go directly into the bin directory of Roo 1.1.5.RELEASE and run ./roo.sh Roo tries to start up but shows errors because it still tries to load stuff from 1.2.0 jars or something like that.
I thought removing the files of 1.2.0 .M1 from my computer and going directly into 1.1.5 would work.
Is there any other files that get created the first time your run roo.sh and that file still exists and anytime I run roo.sh from any version of Roo it will use it and think that I am trying to use 1.2.0?
Nov 8th, 2011, 08:24 PM
how are you running roo ?
is it STS or command line ?
Nov 8th, 2011, 09:37 PM
Originally Posted by placidus
"But if I go directly into the bin directory of Roo 1.1.5.RELEASE and run ./roo.sh Roo tries to start up but shows errors because it still tries to load stuff from 1.2.0 jars or something like that."
Don't think you can do that in STS. run a .sh script directly. So definitely, running it from the command line. And my ROO_HOME and PATH are pointing to the ROO-1.1.5.RELEASE directory also, just in case.
Nov 8th, 2011, 10:16 PM
STS there is roo shell , plugin
what you can do is download the latest version of STS 2.8 , it will come with roo 1.5 install to new directory.
and try creating new roo project from STS
you don't wont run roo command line at-all [bin/roo] ,
it's very nice
GiveGo and let me know , if you need more info.
Nov 8th, 2011, 10:27 PM