Page 1 of 2 12 LastLast
Results 1 to 10 of 60

Thread: Flex Addon for Spring Roo - Compatibility Update

Hybrid View

  1. #1
    Join Date
    Apr 2005
    Location
    San Francisco, CA
    Posts
    1,224

    Default Flex Addon for Spring Roo - Compatibility Update

    As many of you trying out the Flex Addon have discovered, the current milestone release (1.0.0.M1) is only compatible with Spring Roo 1.1.0.M1 and STS 2.3.3.M1. It does not work with later releases of Roo, up to and including the final 1.1.0.RELEASE.

    As of Nov 17th's nightly build (which you can obtain here: http://s3browse.springsource.com/bro...UILD-SNAPSHOT/), the Flex Addon has been tested and confirmed to be compatible with Spring Roo 1.1.0.RELEASE and STS 2.5.1

    Update:

    Further changes were required to bring the addon into line with Spring Roo 1.1.1.RELEASE. These changes are available as of tonight's snapshot (http://maven.springframework.org/sna...075648-225.jar) and going forward. Many thanks to Thomas Fowler for supplying a patch that served as the foundation for this update.
    Last edited by jeremyg484; Feb 19th, 2011 at 02:06 AM.
    Jeremy Grelle

    Staff Engineer, Web Products Team
    SpringSource

  2. #2
    Join Date
    Dec 2010
    Posts
    1

    Default

    Thanks Jeremy and Ben. Spring Roo with the Flex Addon made it really easy to get going with Flex/Blaze/MySQL! Awesome stuff!!!

  3. #3
    Join Date
    May 2010
    Posts
    5

    Default 2.5.2 ?

    Hello,
    Is it me or is it happening again with STS 2.5.2/roo 1.1.1 ?

  4. #4
    Join Date
    Jan 2011
    Location
    Denver, CO
    Posts
    12

    Default

    Quote Originally Posted by mla View Post
    Hello,
    Is it me or is it happening again with STS 2.5.2/roo 1.1.1 ?
    Yes, it is for me at least. I did however manage to rewrite the 'generateAll' method in the FlexOperationsImpl class to get it working with Roo 1.1.1.RELEASE [rev 156ccd6]. I also had to make some other minor changes to some other classes because of deprecations between Roo 1.1.0 and Roo 1.1.1.

    There has been some sketchy behavior for me though when attempting to execute the 'flex remoting all --package [...]' command on a large number of domain objects. I suspect this is due to some of the changes I made, in particular those made to the 'createActionScriptMirrorClass' method in the ActionScriptEntityMetadataProvider class. I'm not very familiar with Queues in Java (or multi-threading/concurrent programming for that matter) which is why I think I'm having issues. If someone could take a look at my changes, I would appreciate any and all feedback.

    Which brings me to my next (somewhat off-topic) issue. Are there any plans to move the spring-flex code base to the SpringSource git repo.? If we could get that done, that would be huge in terms of collaboration and would make reviewing other folks' code much easier and more productive. Just my 2¢...

    Anyhow, if anyone wants me to zip up the flex roo addon so they can take a look, just let me know and I'll be happy to oblige.


    Cheers,

    Thomas

  5. #5
    Join Date
    Sep 2004
    Location
    Manchester, NH
    Posts
    1,236

    Default

    Thomas, I'd love if you could attach whatever changes you have made to this post or provide a SVN patch to get the current SVN trunk working with Roo 1.1.1. I'm noodling with the database reverse engineering features of Roo 1.1.1, and the result of DBRE isn't compatible with Roo 1.1.0, and also not with Roo Flex (which hangs in Roo 1.1.1).

    Is there a JIRA item out there for the Roo 1.1.1 hang? If not, I'll volunteer to file one and work with Jeremy (or whomever) to get this patched!
    Peter Mularien | Blog
    Author, Spring Security 3 (Book) - Packt Publishing, Available in print and eBook form
    SCJP 5, Oracle DBA
    Any postings are my own opinion, and should not be attributed to my employer or clients.


  6. #6

    Default SpringRoo and Flex add on...

    Hi,

    I am trying to get this whole shebang working, with particular regard to flex and the add on. I am running the following:-

    STS 2.5.1.Release
    Roo1.1.0.Release
    Adobe Flex 4
    and i have added org.springframework.flex.roo.addon-1.0.0.BUILD-20101118.020007-139 (though it does not really seem to matter which version I add!!! None of them work)

    With the exception of SpringRoo these all seem to be working correctly....

    Whilst I don't get the hang upon executing 'any' roo command as you do in 2.5.2 and 2.6.0.M1 (because i have the flex roo add-in) I do have problems with the 'flex setup'command I get the following error:-

    Command 'flex setup' not found (for assistance press CTRL+SPACE or type "hint" then hit ENTER)
    No remote OBR repositories have matching add-ons matching your request.

    Any clues anybody.....I really want this to work and to be able to desert MS for good!

  7. #7
    Join Date
    Apr 2005
    Location
    San Francisco, CA
    Posts
    1,224

    Default

    I assume you've at least run the basic 'project' command first (or done the equivalent in STS of creating a new Roo project)? The 'flex' commands won't become available until there is a proper project in place.

    One other thing to try would be to delete the 'cache' directory from your Roo installation. This will force the embedded OSGi runtime to re-discover all available bundles, including the Flex addon.
    Jeremy Grelle

    Staff Engineer, Web Products Team
    SpringSource

  8. #8
    Join Date
    Nov 2010
    Location
    Santo Domingo, Albay Philippines
    Posts
    158

    Default

    Quote Originally Posted by dirkandthemac View Post
    Hi,

    I am trying to get this whole shebang working, with particular regard to flex and the add on. I am running the following:-

    STS 2.5.1.Release
    Roo1.1.0.Release
    Adobe Flex 4
    and i have added org.springframework.flex.roo.addon-1.0.0.BUILD-20101118.020007-139 (though it does not really seem to matter which version I add!!! None of them work)
    ...Any clues anybody.....I really want this to work and to be able to desert MS for good!
    I can add I just tried org.springframework.flex.roo.addon-1.0.0.BUILD-20110210.020025-223 and that doesn't work either.

  9. #9
    Join Date
    Jan 2011
    Location
    Denver, CO
    Posts
    12

    Default

    Quote Originally Posted by pmularien View Post
    Thomas, I'd love if you could attach whatever changes you have made to this post or provide a SVN patch to get the current SVN trunk working with Roo 1.1.1. I'm noodling with the database reverse engineering features of Roo 1.1.1, and the result of DBRE isn't compatible with Roo 1.1.0, and also not with Roo Flex (which hangs in Roo 1.1.1).

    Is there a JIRA item out there for the Roo 1.1.1 hang? If not, I'll volunteer to file one and work with Jeremy (or whomever) to get this patched!
    Hi Peter-

    I'm terribly sorry for just now replying to this. I thought I had set up my profile/account for this forum to notify me via email if anyone posts replies/comments to this thread; clearly, I was mistaken.

    I would be glad to provide a patch or post the changes here, whichever you prefer. Or, I could just do both.


    Thanks,

    Thomas
    Last edited by tbird; Feb 18th, 2011 at 09:19 AM. Reason: Wanted to change the salutation of the post from being 'pmularien' to his first name, which is 'Peter'.

  10. #10
    Join Date
    Jan 2011
    Location
    Denver, CO
    Posts
    12

    Default

    Quote Originally Posted by tbird View Post
    Hi Peter-

    I'm terribly sorry for just now replying to this. I thought I had set up my profile/account for this forum to notify me via email if anyone posts replies/comments to this thread; clearly, I was mistaken.

    I would be glad to provide a patch or post the changes here, whichever you prefer. Or, I could just do both.


    Thanks,

    Thomas
    Attached is a patch for the changes I made to the source for the Roo flex add-on. You'll probably want to change the properties/roo.version value in the pom (not included in the patch), so as to not cause a problem with the Maven dependencies. For example, I changed mine to '1.1.1.RELEASE' just for testing/debugging. In addition, (and this is somewhat stating the obvious) you'll want to make sure and build against the 1.1.1 Roo project source. Let me know if you have questions.

    Thanks,

    Thomas

    FlexAddon_Roo1.1.1.txt.zip
    Last edited by tbird; Feb 18th, 2011 at 09:20 AM. Reason: Changed quoted salutation.

Posting Permissions

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