Page 1 of 6 123 ... LastLast
Results 1 to 10 of 60

Thread: Flex Addon for Spring Roo - Compatibility Update

  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

    Default Basic Stuff

    Yes and Yes!

  9. #9

    Default Rushed...

    Hi Jeremy,

    Apologies for that rather rushed last answer, was just leaving work!. In essence though I had created the project framework as described and deleted the STS cache directory. I have managed to at last move on a little from this. So a summary of where I am now first:-


    STS 2.5.1.Release
    Roo1.1.0.Release
    Adobe Flex 4
    org.springframework.flex.roo.addon-1.0.0.BUILD-20101118.020007-139.jar

    This is all the same as previously but I was having issues with a few extra broken flex plugin perspectives. So I removed these and started again with my flex plugins. These are now correct and so...

    I am now able to execute all roo commands including 'Flex setup' without locking the IDE. However once maven has been through the mill I get the following issues on my output window. Maven to me is nothing short of witchcraft and so any help would be appreciated. I am guessing that there is some mismatch in files but I do not know HOW to address this issue

    2/3/11 8:34:02 PM GMT: Missing artifact org.springframework.flex:spring-flex-core:jar:1.5.0.BUILD-SNAPSHOT:compile
    2/3/11 8:34:02 PM GMT: Missing artifact org.springframework.flex.roo.addon:org.springframe work.flex.roo.annotations:jar:1.0.0.BUILD-SNAPSHOT:compile
    2/3/11 8:33:33 PM GMT: Maven Builder: AUTO_BUILD
    2/3/11 8:33:35 PM GMT: [WARN] Missing POM for org.springframework.flex:spring-flex-core:jar:1.5.0.BUILD-SNAPSHOT
    2/3/11 8:33:35 PM GMT: [WARN] Missing POM for org.springframework.flex.roo.addon:org.springframe work.flex.roo.annotations:jar:1.0.0.BUILD-SNAPSHOT
    2

    Thanks in Advance

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

    Default

    Yea, using nightly builds tends to require a little tweaking.

    You've got two choices in this case:

    1) Check out the source of Spring Flex from SVN and run a build yourself so that your local repository gets populated with the necessary snapshot (since you are Maven-averse, you might prefer option 2)

    2) Update the Roo project's pom.xml to include the Spring maven repository for nightly snapshots. To do this, just add an entry like this as a child of the existing <repositories> element:

    Code:
    <repository>
        <id>spring-maven-snapshot</id>
        <name>Spring Maven Snapshot Repository</name>
        <url>http://maven.springframework.org/snapshot</url>
    </repository>
    Jeremy Grelle

    Staff Engineer, Web Products Team
    SpringSource

Posting Permissions

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