If you see using flex 4.x you need a corresponding key. For flex 4 a
flashbuilder 4 and for 4.5 even a flashbuilder 4.5 key. Both have to be
provided with the corresponding flashbuilder4 tag (not sure that it is
exactly called that way, but fact is, that there is an extra tag for that)

Chris
Am 23.04.2012 23:48 schrieb "Wim Deblauwe" <[email protected]>:

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

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