Hi,

we are starting with RiaTest to automate testing of our Flex UIs. We are 
using Flexmojos 4.0-RC2 to compile our application with Maven. We have 
added our flash builder 4.5 key in the configuration:

<plugins>
            <plugin>
                <groupId>org.sonatype.flexmojos</groupId>
                <artifactId>flexmojos-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>wrapper</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
<debug>true</debug>
                    <defines>
                        <property>
                            <name>APP::version</name>
                            <value>"${project.version}"</value>
                        </property>
                    </defines>
                    <useNetwork>true</useNetwork>
                    <parameters>
                        <title>My Application</title>
                    </parameters>
                    
<localesSourcePath>src/main/locales/{locale}</localesSourcePath>
                    <localesCompiled>
                        <compiled>fr_FR</compiled>
                        <compiled>en_US</compiled>
                        <compiled>es_ES</compiled>
                        <compiled>de_DE</compiled>
                        <compiled>it_IT</compiled>
                    </localesCompiled>
                    <keepAs3Metadatas>
                        <keepAs3Metadata>Autowired</keepAs3Metadata>
                    </keepAs3Metadatas>
                    <licenses>
                        
<flexbuilder3>XXXX-XXXX-XXXX-XXXX-XXXX-XXXX</flexbuilder3>
                    </licenses>
                    
<templateURI>folder:${basedir}/html-template</templateURI>
                    <storepass/>
                </configuration>
            </plugin>

I have also created a profile to add the automation SWCs:

    <profiles>
        <profile>
            <id>testautomation</id>
            <dependencies>
                <dependency>
                    <groupId>com.riatest</groupId>
                    <artifactId>riatest</artifactId>
                    <version>4</version>
                    <type>swc</type>
                    <scope>internal</scope>
                </dependency>
                <dependency>
                    <groupId>com.adobe.flex.framework</groupId>
                    <artifactId>automation</artifactId>
                    <version>${flex-framework.version}</version>
                    <type>swc</type>
                    <scope>internal</scope>
                </dependency>
                <dependency>
                    <groupId>com.adobe.flex.framework</groupId>
                    <artifactId>automation</artifactId>
                    <version>${flex-framework.version}</version>
                    <classifier>en_US</classifier>
                    <type>rb.swc</type>
                </dependency>
                <dependency>
                    <groupId>com.adobe.flex.framework</groupId>
                    <artifactId>automation_agent</artifactId>
                    <version>${flex-framework.version}</version>
                    <type>swc</type>
                    <scope>internal</scope>
                </dependency>
                <dependency>
                    <groupId>com.adobe.flex.framework</groupId>
                    <artifactId>automation_agent</artifactId>
                    <version>${flex-framework.version}</version>
                    <classifier>en_US</classifier>
                    <type>rb.swc</type>
                    <scope>internal</scope>
                </dependency>
                <dependency>
                    <groupId>com.adobe.flex.framework</groupId>
                    <artifactId>automation_dmv</artifactId>
                    <version>${flex-framework.version}</version>
                    <type>swc</type>
                    <scope>internal</scope>
                </dependency>
                <dependency>
                    <groupId>com.adobe.flex.framework</groupId>
                    <artifactId>automation_spark</artifactId>
                    <version>${flex-framework.version}</version>
                    <type>swc</type>
                    <scope>internal</scope>
                </dependency>
                <dependency>
                    <groupId>com.adobe.flex.framework</groupId>
                    <artifactId>automation_flashflexkit</artifactId>
                    <version>${flex-framework.version}</version>
                    <type>swc</type>
                    <scope>internal</scope>
                </dependency>
            </dependencies>
        </profile>
    </profiles>


However, the license does not seem to be picked up, because we get an error 
that the maximum amount of replays has been reached.

Anybody else using FlexMojos with the automation libraries? How did you get 
it working?

regards,

Wim

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