Page 1 of 4 123 ... LastLast
Results 1 to 10 of 37

Thread: ROO and GWT without GAE?

  1. #1
    Join Date
    May 2008
    Posts
    227

    Default ROO and GWT without GAE?

    hi
    i just downloaded STS 2.5.2SR1 and tried using gwt setup command
    there is an issue

    it generate authentication system for GAE, i do not use GAE , i wanna use it in plain JPA hibernate without gae
    i do not want any GAE dependency
    so , how can i do that as the gwt setup does not take any arguments

    thanks a lot
    Joe

  2. #2
    Join Date
    Dec 2005
    Posts
    930

    Default

    Not sure I understand what you mean. If I don't specify GAE as a persistence provider, no app engine artefacts are present in the pom or other resource files. Can you give some more details on how to reproduce the issue?
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

  3. #3
    Join Date
    Nov 2010
    Posts
    6

    Default

    I have the same "problem":

    I started with a fresh installation of the latest STS.
    Then I added the nucleus and google plugin.
    Now I created a new roo project and entered the roo console.

    After having setup the presistency and database, i created 1 entity with 2 fields.

    Then I executed "gwt setup".

    After quite some time the scaffold project was created.
    It created a ~.server.gae package that failed to compile.

    This package contains the classes:
    GaeAuthFilter.java, UserSServiceLocator.java and UserServiceWrapper.java

    This package does not compile because the gae references could not be resolved:

    import com.google.appengine.api.users.UserService;
    import com.google.appengine.api.users.UserServiceFactory;

    So it seems that:
    1) gae classes are being created.
    2) gae classes cannot be compiled dependencies are not set.

    I can although execute the application (from console: mvn gwt:run)
    which runs as expected.

  4. #4
    Join Date
    Mar 2011
    Posts
    1

    Default

    Same problem at me.
    Can easily be reproduced with a out of the box windows jdk 1.6, current maven, current roo plain install. Just enter the commands from "try roo" from the homepage. Ideas?

  5. #5
    Join Date
    May 2008
    Posts
    227

    Default

    Really easy, jsut do any sample application using only hibernate and hypersonic db as persistence and make sample entity then gwt setup
    you will see that it generate .server.gae packege with dependency on GAE

  6. #6
    Join Date
    May 2008
    Posts
    227

    Default Any comment?

    Hey.... this is very trivial 4 u to solve and very blocking 4 us to use the platform
    any comment?!!!! anything ?!!
    Thanks in advance
    Joe

  7. #7
    Join Date
    Mar 2011
    Posts
    4

    Default

    Same problem to me.
    I'm using roo scripts to generate my entity layer and gwt request factory stuff in order to use the generated content at different places throughout my project. So actually, I just want to have maven compile and package the roo stuff automatically which is impossible, because of compile errors. So, this is quite annoying if one has to manually delete the GAE-Packages every time.
    But I guess, it's rather a google problem as they have contributed the gwt-addon, correct?
    Though, a simple workaroud should be to let maven delete the gae-folders in client, server and shared packages prior to compilation which is working quite well and eliminates the compile errors...

  8. #8
    Join Date
    May 2008
    Posts
    227

    Default Hey any reply please....

    Hi
    To the Core team...
    is this a known bug or feature?
    will this be addressed in the next version or any version , or shall we give up on it?
    Thanks
    Joe

  9. #9
    Join Date
    Dec 2005
    Posts
    930

    Default

    Please raise a Jira issue on this
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

  10. #10
    Join Date
    May 2008
    Posts
    227

    Default

    Hi
    Ok ,i did that
    https://jira.springsource.org/browse/ROO-2252
    please everyone who suffer from this , go to the url and vote on this issue

    psssss core team... it does not take 16 days to tell me that i should file a jira
    Thanks
    Joe

Tags for this Thread

Posting Permissions

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