views:

19

answers:

1

How I can configure copy-flex-resources goal and swf dependencies to copy swf files to the custom folder in my web-app? By default it copies to the web-app root.

More about copy-flex-resources goal here: https://docs.sonatype.org/display/FLEXMOJOS/Copy+Flex+Resources

A: 

Your can add a "configuration" to that plugin:

<configuration> 
    <webappDirectory>${basedir}/src/main/webapp</webappDirectory> 
    <!-- If RSLs are coming from the WAR uncomment this line 
    <copyRSL>false</copyRSL>--> 
</configuration> 
Benoit Courtine
Hi Benoit, thank you for your reply. What about the case when I have several swfs from several sub-projects that I have to copy into different folders in my web-app? Can I do it too somehow?
MinimeDJ
I don't think you can. Maybe you can ask for a new feature.
Benoit Courtine