Well, when the component is build on flexmojos that is easy. Take a look at reference app: https://docs.sonatype.org/display/FLEXMOJOS/Reference+application
Now, optimize 3rd party stuff should be done manually ( if not by the owner). VELO On Fri, Mar 27, 2009 at 5:33 PM, Jean-Philippe Steinmetz < [email protected]> wrote: > I want an RSL for as3corelib but also about ten of our proprietary > libraries. I'm just looking for a way to make it all work. We have a rather > large system that is broken up into many components and they all should be > loaded as RSLs to minimize download time across our system. > > > On Fri, Mar 27, 2009 at 12:25 PM, Marvin Froeder <[email protected]>wrote: > >> You wanna RSL for as3corelib? >> VELO >> >> On Fri, Mar 27, 2009 at 4:19 PM, [email protected] < >> [email protected]> wrote: >> >>> >>> Hello all, >>> >>> First off, i've been using flex-mojos for a while now and love it. >>> Thank you for all the hard work! Documentation is seriously lacking >>> though. It's wasted hours trying to find answers to all my questions >>> which has given me great frustration. >>> >>> Now for my problem. I've got some libraries that are building as swc's >>> and I have turned on the optimizer so I am generating the swf RSL >>> along with them. I have these libraries all marked as dependencies in >>> my main swf project. The problem is when I use maven's maven- >>> dependency-plugin to copy the dependencies I only get the swc files. >>> How do I get maven to actually copy the correct swf's over so I can >>> properly bundle them with my application? >>> >>> Here is an example of my main application pom.xml >>> >>> <build> >>> <plugins> >>> <plugin> >>> <groupId>info.rvin.mojo</groupId> >>> <artifactId>flex-compiler-mojo</artifactId> >>> <configuration> >>> <rslUrls> >>> <rsl>{artifactId}-{version}.{extension}</rsl> >>> </rslUrls> >>> <targetPlayer>9.0.115</targetPlayer> >>> </configuration> >>> </plugin> >>> <plugin> >>> <groupId>org.apache.maven.plugins</groupId> >>> <artifactId>maven-dependency-plugin</artifactId> >>> <executions> >>> <execution> >>> <id>copy-dependencies</id> >>> <phase>package</phase> >>> <goals> >>> <goal>copy-dependencies</goal> >>> </goals> >>> <configuration> >>> <outputDirectory>${project.build.directory} >>> </outputDirectory> >>> <overWriteReleases>false</ >>> overWriteReleases> >>> <overWriteSnapshots>false</ >>> overWriteSnapshots> >>> <overWriteIfNewer>true</overWriteIfNewer> >>> </configuration> >>> </execution> >>> </executions> >>> </plugin> >>> </plugins> >>> </build> >>> <dependencies> >>> <dependency> >>> <groupId>com.adobe</groupId> >>> <artifactId>as3corelib</artifactId> >>> <version>0.92.1</version> >>> <scope>rsl</scope> >>> <type>swc</type> >>> </dependency> >>> </dependencies> >>> >>> Regards, >>> >>> Jean-Philippe Steinmetz >>> >>> >>> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
