On Tue, Jan 27, 2009 at 1:26 AM, David Meulemans
<[email protected]> wrote:
> I want to use FlexMonkey with flex-mojos and I've read the article about it
> on http://blog.flex-mojos.info/2008/11/20/the-return-of-automated-ui-tests/

Did you look at the linked project? Does it not work for you?

> When I run mvn install I get a build error because 2 artifacts are missing.
> com.adobe.flex.sdk:framework:resource-bundle:en_US:3.0.0.477 and
> com.adobe.flex.sdk:framework:resource-bundle:ja_JP:3.0.0.477
>
> I did a copylocale and copied the flex sdk to my local m2 repo. I also added
> the dependencies:
>         <dependency>
>                  <groupId>com.adobe.flex.sdk</groupId>
>                  <artifactId>rpc</artifactId>
>                  <version>3.0.0.477</version>
>                  <type>swc</type>
>                  <classifier>en_US</classifier>
>          </dependency>
>          <dependency>
>                  <groupId>com.adobe.flex.sdk</groupId>
>                  <artifactId>rpc</artifactId>
>                  <version>3.0.0.477</version>
>                  <type>resource-bundle</type>
>                  <classifier>en_US</classifier>
>          </dependency>

These are old-style resource-bundle dependencies and won't work very
well with the new test stuff. Are you using flex-mojos 2.0M9 or newer
(preferably 2.0.3)? If you installed your Flex Builder SDK correctly
as mentioned here:
http://blog.flex-mojos.info/2008/10/17/automated-ui-tests/
then you should be okay. copylocale won't do anything for en_US or
ja_JP because they come with the Flex SDK. You only need copylocale
for other locales.

> The scw files rpc-3.0.0.477-en_US.swc and rpc-3.0.0.477-ja_JP.swc are
> available in my local m2 repo in the correct groupId.
These should be .rb.swc, not .swc

> It looks like maven in searching for the wrong artifacts:
> Downloading:
> http://svn.sonatype.org/flexmojos/repository//com/adobe/flex/sdk/framework/3.0.0.477/framework-3.0.0.477-en_US.rb.swc
>
> Anyone has an idea about this problem?

Once you get the correct Flex SDK installed, and are on a newer
version of flex-mojos with the correct dependencies, this should work
better, though I haven't looked at FlexMonkey myself yet.

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