-
1. Re: OSMF 1.5, Flex 4.1 and Maven
WriterDonna Feb 1, 2011 9:51 AM (in response to Mister Kevo)Hi!
Are the instructions here (probably starting at step 5) relevant for you at all?
<http://help.adobe.com/en_US/OSMF/1.0/Dev/WSc6f922f643dd2e6d231a337012a15fff05c-8000.html>
If not, please let us know, so we can document your use case. Thank you!!
-
2. Re: OSMF 1.5, Flex 4.1 and Maven
Mister Kevo Feb 1, 2011 10:01 AM (in response to WriterDonna)Hi Donna, thanks for your reply.
I have absolutely no problem getting it to work in the FlashBuilder environment. The problem facing us now is to get it working in a Continuous Integration environment using the build tool Maven.
Would be great if you could post an example of how to get it working in Maven.
Thanks,
Kevo
-
3. Re: OSMF 1.5, Flex 4.1 and Maven
WriterDonna Feb 1, 2011 12:10 PM (in response to Mister Kevo)Thanks for the clarification, Kevo! I'm not sure if anyone on our forums can help with Maven... I suspect you may have to try their user list <http://maven.apache.org/users/getting-help.html> and see if anyone else has run across this.
Best wishes, though! And please let me/us know if there's something useful we put into our docs for the next person who runs into this. :-)
Much thanks,
-d.
-
4. Re: OSMF 1.5, Flex 4.1 and Maven
FTQuest Feb 5, 2011 6:29 PM (in response to WriterDonna)Hello there,
A few days ago I posted the question about upgrading to OSMF v. 1.5 in the Hero SDK in the comments on the page that you referenced:
http://help.adobe.com/en_US/OSMF/1.0/Dev/WSc6f922f643dd2e6d231a337012a15fff05c-8000.html, but it looks like nobody checks it.
So, here it goes:
The Flash Builder has flex-config.xml, where it refers to the older version of OSMF.
Does it need to be changed as well?
In the instructions on that page and in your reply it's not mentioned.
The same might be true for the OSMF folder in sdk/frameworks/projects/osmf folder?
Thanks,
Igor Borodin
-
5. Re: OSMF 1.5, Flex 4.1 and Maven
WriterDonna Feb 7, 2011 9:00 AM (in response to FTQuest)Hi, Igor!
You are right that the forums are a much faster way to get a response than the doc comments. These forums are very closely monitored, and responses are often same-day.
Having said that and given how long you've already waited, I'd like to ensure that you *do* get fast feedback. So, could you start a new forum thread for your question? If you title it something like "Changing flex-config.xml?", it will hopefully get a response asap.
I'll keep track of the question and response and post it back to the doc comments on resolution. I could make a guess at an answer to your question, but I'd rather one of the developers give you something authoritative.
Thank you for your patience!
-
6. Re: OSMF 1.5, Flex 4.1 and Maven
FTQuest Feb 7, 2011 12:39 PM (in response to WriterDonna)@ WriterDonna
Thanks for the quick reply.
I followed your suggestion and posted the question on the gen flex forum: http://forums.adobe.com/thread/788386?tstart=0
IB
-
7. Re: OSMF 1.5, Flex 4.1 and Maven
Mister Kevo Feb 9, 2011 7:29 AM (in response to Mister Kevo)We managed to get this working, but it is a little bit of a hack.
We had to create a custom version of the flex-config.xml which had the osmf reference commented out. This custom-flex-config file was then referenced in the required POM files like so:
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<configuration>
<configFile>${project.basedir}/custom-flex-config.xml</configFile>
</configuration>
</plugin>We also had to specify the custom-flex-config.xml file in any ANT based tasks like so:
<mxmlc file="${project.basedir}/src/assets/custom.css" output="${project.build.directory}/assets/custom.swf">
<load-config filename="${project.basedir}/custom-flex-config.xml" />
</mxmlc>Hope this helps anyone who might need this in the future.
THIS is the answer to my original question
-
8. Re: OSMF 1.5, Flex 4.1 and Maven
WriterDonna Feb 9, 2011 7:37 AM (in response to Mister Kevo)Igor, thanks MUCH for sending the follow-up!
-
9. Re: OSMF 1.5, Flex 4.1 and Maven
Mister Kevo Feb 9, 2011 7:40 AM (in response to WriterDonna)Actually - the follow up is from me - the original poster.
We figured it out ourselves - and I thought we should post the solution.
Regards,
Kevo
-
10. Re: OSMF 1.5, Flex 4.1 and Maven
WriterDonna Feb 9, 2011 7:46 AM (in response to Mister Kevo)Sorry! It's early. ;-) But the thanks still applies!
-
11. Re: OSMF 1.5, Flex 4.1 and Maven
Tim Beynart Feb 10, 2011 8:42 AM (in response to Mister Kevo)You shouldn't consider this a hack, you are using the config for its intended use. But it does make more sense to have depdencies handled in the build process and not as a compiler option. I am getting up to speed with Maven now for our OSMF-based players, and one of my needs is to use swcs from a local repository, so if I come across a alternative way to solve this problem I will post here.