Hi to all,

I create my war with flexmojos and works quite fine.
I need customize where swf are copied.

my war layout:
+--images
+--it_IT
       +---images
       +---swf
+--fr_FR
+--swf
+--js
index.html

I need copy my modules app1.swf and rslib.swf  to /swf dir or in
LOCALE/swf

I try with flexmojos:copy-flex-resources:
<plugin>
        <groupId>org.sonatype.flexmojos</groupId>
        <artifactId>flexmojos-maven-plugin</artifactId>
        <version>3.2.0</version>
        <executions>
          <execution>
            <goals>
              <goal>copy-flex-resources</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
                        <outputDirectory>${project.build.directory}/$
{project.build.finalName}/swf</outputDirectory>
                        <includeTypes>swf</includeTypes>
                <stripVersion>true</stripVersion>
            </configuration>
      </plugin>

the swf are copied but in root directtory instead of swf.

Otherwise with maven-dependency-plugin the dependency are copied in
custom directory but the swc files instead of rsl library swf.
<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}/$
{project.build.finalName}/swf</outputDirectory>
              <stripVersion>true</stripVersion>
              <groupId>mk2009</groupId>
<!--               <includeTypes>swf</includeTypes>-->
            </configuration>
          </execution>
        </executions>
      </plugin>

Any suggestion?
Regards Lorenzo
--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---

Reply via email to