On Fri, Mar 6, 2009 at 4:31 AM, Michael <[email protected]> wrote:
>
> When I run the tests my Flash CS3 application starts up (on my mac).
> Is there a way to avoid this?

Flex-mojos uses whatever is the system default handler for .swf files.
On your Mac, it must be set to Flash CS3.

You can either change the default handler for .swf files to be the
Flash Player, or you can customize the Flex Unit launcher command:

                <profile>
                        <id>flexunit-mac</id>
                        <activation>
                                <os>
                                        <name>mac</name>
                                </os>
                        </activation>
                        <build>
                                <plugins>
                                        <plugin>
                                                
<groupId>info.flex-mojos</groupId>
                                                
<artifactId>flex-compiler-mojo</artifactId>
                                                <configuration>
                                                        <flexUnitCommand>
                                                                
<argument>[enter the path to your Flash Player here]</argument>
                                                                
<argument>${project.build.testOutputDirectory}/TestRunner.swf</argument>
                                                        </flexUnitCommand>
                                                </configuration>
                                        </plugin>
                                </plugins>
                        </build>
                </profile>

Logan

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