We have a swc project with a build section like this (under 3.7/8/9)

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

At the end of the build you would get a swf and a swc of this project. Now 
under 4.x (using 4.0-RC2) it doesn't seem to be building the swf anymore.

I dug through the source and Flexmojos 3.x was doing this check:


if ( !SWC.equals( packaging ) && !SWF.equals( packaging ) )
        {
            getLog().warn( "Optimizer mojo can only be used on SWC or SWF 
projects." );
            return;
        }

Whereas version 4 simply disallows anything that isn't of swf type. Any ideas 
why that got taken out?

Thanks



-- 
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

http://flexmojos.sonatype.org/

Reply via email to