Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Since FlexMojos 4.x this goal has been renamed to create-rsl

 

Optimizer mojo extract library.swf from the current SWC, them, run adobe optimizer and digest. After that, the digest data is updated on the original SWC.

The usage is very simple. Just need to add this:

<build>
    <plugins>
      <plugin>
        <groupId>org.sonatype.flexmojos</groupId>
        <artifactId>flexmojos-maven-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>optimize</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

Once that is activated, maven will install 2 artifacts on maven repo: the SWC and the optimized SWF. The SWC can be used as any other SWC. The SWF will be used when RSLs are required.

A sample is available here.

Known Issues

type key summary
Loading...
Refresh

  • No labels