Page 6 of 6 FirstFirst ... 456
Results 51 to 60 of 60

Thread: Flex Addon for Spring Roo - Compatibility Update

  1. #51
    Join Date
    Sep 2010
    Location
    Walnut Creek, California
    Posts
    6

    Default Maven missing artifact: spring-flex-core

    I was pulled off my work on the Roo-Flex work I chimed in a while back. Glad to hear of the progress made by others in this area. I am using the following environment:

    Mac OS X 10.6.6
    Java 1.6.X
    STS 2.5.2.RELEASE
    Roo 1.1.1.RELEASE
    org.springframework.flex.roo.addon-1.0.0.BUILD-20110219.075648-225.jar

    Per post on Feb 4 by Jeremy, I tried tweaking the pom.xml file, yet I continue to get the following:

    2/27/11 10:18:30 PM PST: Missing artifact org.springframework.flex:spring-flex-core:jar:1.5.0.BUILD-SNAPSHOT:compile
    2/27/11 10:18:30 PM PST: Missing artifact org.springframework.flex.roo.addon:org.springframe work.flex.roo.annotations:jar:1.0.0.BUILD-SNAPSHOT:compile

    Is this an environment setup I am missing or is this a missing dependency in my pom.xml file?

    Thanks

  2. #52

    Default

    Hi, I'm having exact;y the same issue. Did you ever find a resolution?

  3. #53
    Join Date
    Sep 2010
    Location
    Walnut Creek, California
    Posts
    6

    Default spring-foo-flex setup on STS 2.5.2

    geordieracer, I was pulled off again, but left the project in an unstable condition. Though I was able to pull off an initial full build from scratch, I could not replicate the setup more than once. I believe in the build, tear down, build again paradigm so that I can show others what was done. Unfortunately, when we use bleeding edge libraries, we are going to come across this. I hope to get back at the use of the STS-spring-roo-flex setup tomorrow. Let us (the general community) if you find yourself in a state that can be published for general consumption.... Cheers!

  4. #54

    Default

    amercado, the wuick solution for me was to add the folopwing repository to the roo project pom.xml to pick up the snapshot builds

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

    The project now build correectly. My only remaining issue is that I can't deploy it to the Springsource tc server! See post below

    http://forum.springsource.org/showthread.php?t=106543

  5. #55

    Default

    Can anybody tell me what is the latest stable known configuration that works with STS 2.6?

    I cannot get to work STS 2.6 with Spring Roo and the snapshot build of flex plugin...

  6. #56
    Join Date
    Oct 2010
    Posts
    29

    Default

    I've personally given up on the roo flex addon ever becoming a stable usable product that's kept inline with the roo releases.

    Perhaps now roo has CI the addon can be brought back into the fold?

  7. #57
    Join Date
    Oct 2010
    Posts
    29

    Default

    1.1.4 was released today, seems like the perfect time to update to flex plugin non?

    Anyways I've created a thread with a poll:

    http://forum.springsource.org/showth...-for-roo-1.1.4

  8. #58
    Join Date
    May 2011
    Posts
    3

    Default

    Regarding this:
    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.

    I found there is some problem with this patch with Spring Roo 1.1.1.Release. My persistence layer is using Oracle with Hibernate.
    First problem, pom.xml is using spring-flex-core.1.5.0.BUILD-SNAPSHOT, and it will complain the jar is missing, so I have to change it back to spring-flex-core.1.5.0.M1.
    Second problem, I found I could not be able to add a new record from GUI. Got "org.hibernate.PersistentObjectException: detached entity passed to persist:" error.

    but I don't the same problems with flex addon 1.0.0.M1 with Spring Roo 1.1.0.M1.

    Does anyone has the same problem, or I missed something?

    Thanks.

  9. #59
    Join Date
    May 2011
    Posts
    3

    Default

    Ok, I resolved my problem.
    I need add
    <repository>
    <id>spring-maven-snapshot</id>
    <snapshots>
    <enabled>true</enabled>
    </snapshots>
    <name>Springframework Maven SNAPSHOT Repository</name>
    <url>http://maven.springframework.org/snapshot</url>
    </repository>

    to pom.xml, this resolved all the problems.

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

    Default

    Quote Originally Posted by xiongfeng17 View Post
    Regarding this:
    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.

    I found there is some problem with this patch with Spring Roo 1.1.1.Release. My persistence layer is using Oracle with Hibernate.
    First problem, pom.xml is using spring-flex-core.1.5.0.BUILD-SNAPSHOT, and it will complain the jar is missing, so I have to change it back to spring-flex-core.1.5.0.M1.
    Second problem, I found I could not be able to add a new record from GUI. Got "org.hibernate.PersistentObjectException: detached entity passed to persist:" error.

    but I don't the same problems with flex addon 1.0.0.M1 with Spring Roo 1.1.0.M1.

    Does anyone has the same problem, or I missed something?

    Thanks.
    Hi Xiong-

    Thank you very much for the kind words. I'm very glad I could help with the patch and I would be happy to continue contributing to the development of the flex add-on.

    Cheers,

    Thomas

Posting Permissions

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