I recently ran into trouble trying to build the flex4-gumbo sample project (http://svn.sonatype.org/flexmojos/trunk/flexmojos-testing/ flexmojos-test-harness/projects/concept/flex4-gumbo) with the latest Flex 4 SDK. I thought I'd post here what I had to do to get it working for those of you trying to work with Flex 4 and flex-mojos.
These steps assume you're trying to build the flex4-gumbo project. 1. Download the latest stable Flex 4 SDK from http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK. As of this writing, the latest stable was 4.0.0.4904. 2. Use the flex-mojos install-mojo to install the SDK in your repository. To use the install-mojo: 2.1 Install the install-mojo jar and its pom into your repository. You can get it from the flex-mojo respository at: http://svn.sonatype.org/flexmojos/repository/info/flex-mojos/install-mojo 2.2 Then use install-mojo to install the Flex 4 SDK: mvn info.flex-mojos:install-mojo:2.0.3:install-sdk -Dflex.sdk.folder= [path_to_Flex_4_SDK_directory] -Dversion=[Flex_4_SDK_version_number, such as 4.0.0.4904] 3. Copy over the new manifest files from the Flex 4 SDK to the flex4- gumbo project. 4. Update all the Flex SDK version number references in the pom so it matches the version number you used to install the SDK -- such as 4.0.0.4904. 5. There is no longer a gumbo-manifest.xml. Remove that name space element from the pom. 6. In the pom, change the uri element value for the mxml-manifest to http://ns.adobe.com/mxml/2009 That should do it. You should now be able to build the flex4-gumbo project with the latest Flex 4 SDK. Stephen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex-mojos?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
