Page 3 of 3 FirstFirst 123
Results 21 to 30 of 30

Thread: Spring Roo 1.2.0.M1 released

  1. #21
    Join Date
    Jan 2009
    Location
    Huntington Beach, CA
    Posts
    718

    Default

    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.

    Thanks

    Mark

  2. #22
    Join Date
    Dec 2005
    Posts
    929

    Default

    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
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

  3. #23
    Join Date
    Jan 2009
    Location
    Huntington Beach, CA
    Posts
    718

    Default

    the annotations jar is alread in the .m2 repo.

    Under

    org.springframework.roo
    org.springframework.roo.annotations

    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
    perform eclipse

    Mark

  4. #24
    Join Date
    Aug 2011
    Location
    Sydney
    Posts
    37

    Default

    Hi

    CTRL+SPACE is not working.

    it's really hard to play with the tool with out

    CTRL+SPACE support

    Any commet please.

    Placi.






    ____ ____ ____
    / __ \/ __ \/ __ \
    / /_/ / / / / / / /
    / _, _/ /_/ / /_/ /
    /_/ |_|\____/\____/ 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.

  5. #25
    Join Date
    Aug 2011
    Location
    Sydney
    Posts
    37

    Default

    This will fix in STS soon.

    CTRL+SPACE is not working.

    Spring STS --->> http://forum.springsource.org/showth...622#post386622

  6. #26
    Join Date
    Jan 2009
    Location
    Huntington Beach, CA
    Posts
    718

    Default

    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?

    Thanks

    Mark

  7. #27
    Join Date
    Aug 2011
    Location
    Sydney
    Posts
    37

    Default

    Hi

    how are you running roo ?

    is it STS or command line ?

    Placidus.

  8. #28
    Join Date
    Jan 2009
    Location
    Huntington Beach, CA
    Posts
    718

    Default

    Quote Originally Posted by placidus View Post
    Hi

    how are you running roo ?

    is it STS or command line ?

    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.

    Mark

  9. #29
    Join Date
    Aug 2011
    Location
    Sydney
    Posts
    37

    Default

    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.


    Placi.

  10. #30
    Join Date
    Jan 2009
    Location
    Huntington Beach, CA
    Posts
    718

    Default

    Quote Originally Posted by placidus View Post
    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.


    Placi.
    That isn't the issue. I am running the .sh from the command line to remove STS/Eclipse from the equation of what is the problem.

    I just deleted the cache directories in my roo 1.1.5.RELEASE installation directory, and now it looks like it is working and not getting confused anymore.

    Yep, that definitely resolved my issue. I was able to run roo.sh from a terminal window and run a script file I had for my entire project and generated the website with it in 17 seconds.

    Thank you for trying to help.

    Mark
    Last edited by bytor99999; Nov 8th, 2011 at 11:30 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •