I have upgrade my project from
1.2.0.M1 [rev 1fa252f] --> 1.2.0.RELEASE [rev 39eb957]
it's remove all --> _Roo_Jpa_Repository.aj
I used -> STS.
Placidus.
I have upgrade my project from
1.2.0.M1 [rev 1fa252f] --> 1.2.0.RELEASE [rev 39eb957]
it's remove all --> _Roo_Jpa_Repository.aj
I used -> STS.
Placidus.
roo 1.2.0 can run in java 7 but with the following error:
InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInsta n
ce0(Native Method)
every time you type hint... the folloing error will appear:
InvocationTargetException at sun.reflect.GeneratedConstructorAccessor11.newInst a
nce(Unknown Source)
Works OK for me.
Code:C:\Users\stewarta>java -version java version "1.7.0" Java(TM) SE Runtime Environment (build 1.7.0-b147) Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode) C:\Users\stewarta>cd \projects\roo-test\petclinic C:\projects\roo-test\petclinic> C:\projects\roo-test\petclinic>\Java\spring-roo-1.2.0.RELEASE\bin\roo.bat ____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ 1.2.0.RELEASE [rev 39eb957] Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER. @jbbarquero: Good job @gdickens @RooInAction MEAP is complete! Great job @KRrimple, Srini Penchikala. Learn @SpringRoo @ManningBooks http://t.co/8eVsz ZSr roo> hint At this stage of the project, you have a few options: * List all hint topics via 'hint topics' * Create more fields with 'hint fields' * Create more entities with 'hint entities' * Create a web controller with 'hint web mvc' * Create dynamic finders with 'hint finders' * Setup your logging levels via 'hint logging' * Run tests via Maven (type 'perform tests') * Build a deployment artifact (type 'perform package') * Learn about Eclipse integration by typing 'hint eclipse' * Add support for Google Web Toolkit via 'hint gwt' * Discover all Roo commands by typing 'help' roo>
Alan, I'm trying to build Spring Roo 1.2.0.Release from source under openjdk7, and "install" works fine and I can run the roo-dev command, but I'm getting stuck at "clean site-install" in deployment-support with NullPointerExceptions and multiple of "Line 1 of a paragraph overflows the available area" errors. Error stack at link above.
Is there a more simple yet effective assembly command?
Without running mvn site first, assembly is not possible without changing our deploy script. I get the same NPE using openjdk 7 and the error displayed is in the same FOP code as reported in this old bug - https://issues.apache.org/bugzilla/s...g.cgi?id=44965.
So what are you saying, Alan. I must hack your install script?
Yes, or alternatively use the Sun JDK 6
Last edited by Alan Stewart; Dec 21st, 2011 at 07:28 PM.
This is mine...
D:\InetPub\JavaWeb>java -version
java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) 64-Bit Server VM (build 22.0-b10, mixed mode)
D:\InetPub\JavaWeb>roo
____ ____ ____
/ __ \/ __ \/ __ \
/ /_/ / / / / / / /
/ _, _/ /_/ / /_/ /
/_/ |_|\____/\____/ 1.2.0.RELEASE [rev 39eb957]
Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInsta n
ce0(Native Method)
roo> hint
InvocationTargetException at sun.reflect.GeneratedConstructorAccessor11.newInst a
nce(Unknown Source)
roo>
i use java 7 update 2...
you use java 7
I have a question about roo 1.2.0.RELEASE.
Did script expenses.roo work STS 2.8.1 with GWT 2.4.0 without error.
Because I am having always a Maven error: Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:exec-maven-plugin:1.2:exec.
I try with different help forum links like a http://forum.springsource.org/showth...e-with-GWT-2-4 or http://forum.springsource.org/showth...116776-Roo-GWT. I still have the same maven error. I am asking if this error will be resolved with the next version of spring-roo releases ?
This is script:
// project --topLevelPackage org.springsource.roo.extrack
jpa setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY
enum type --class ~.shared.domain.Gender
enum constant --name MALE
enum constant --name FEMALE
entity jpa --class ~.server.domain.Employee --testAutomatically
field string --fieldName displayName --notNull
field string --fieldName userName --sizeMin 3 --sizeMax 30 --notNull
field string --fieldName department
field reference --type Employee supervisor
field enum --fieldName gender --type ~.shared.domain.Gender
field boolean --fieldName admin --notNull
entity jpa --class ~.server.domain.Report --testAutomatically
field string --fieldName purpose
field string --fieldName notes
field date --fieldName created --type java.util.Date
field string --fieldName department
field reference --type Employee reporter
field reference --type Employee approvedSupervisor
entity jpa --class ~.server.domain.Expense --testAutomatically
field number --type java.lang.Double amount
field string --fieldName description
field reference --type Report report
field string --fieldName approval
field string --fieldName category
field date --fieldName created --type java.util.Date
field string --fieldName reasonDenied
web gwt setup
web gwt all --proxyPackage ~.client.proxy --requestPackage ~.client.request
logging setup --level INFO