Logan - Could you please share your automation pom?  We also cannot
get automation to work.

The problem we are seeing is that the automation resources bundles are
not following the internal scope.

<dependencies>
        <dependency>
                <groupId>com.adobe.flex.framework</groupId>
                <artifactId>automation</artifactId>
                <version>${flex.sdk.version}</version>
                <type>swc</type>
                <scope>internal</scope>
        </dependency>
        <dependency>
                <groupId>com.adobe.flex.framework</groupId>
                <artifactId>automation</artifactId>
                <version>${flex.sdk.version}</version>
                <classifier>en_US</classifier>
                <type>rb.swc</type>
                <scope>internal</scope>
        </dependency>
        <dependency>
                <groupId>com.adobe.flex.framework</groupId>
                <artifactId>automation-agent</artifactId>
                <version>${flex.sdk.version}</version>
                <type>swc</type>
                <scope>internal</scope>
        </dependency>
        <dependency>
                <groupId>com.adobe.flex.framework</groupId>
                <artifactId>automation-agent</artifactId>
                <version>${flex.sdk.version}</version>
                <classifier>en_US</classifier>
                <type>rb.swc</type>
                <scope>internal</scope>
        </dependency>
        <dependency>
                <groupId>com.adobe.flex.framework</groupId>
                <artifactId>qtp</artifactId>
                <version>${flex.sdk.version}</version>
                <type>swc</type>
                <scope>internal</scope>
        </dependency>
        <dependency>
                <groupId>com.adobe.flex.framework</groupId>
                <artifactId>automation-dmv</artifactId>
                <version>${flex.sdk.version}</version>
                <type>swc</type>
                <scope>internal</scope>
        </dependency>
        <dependency>
                <groupId>com.adobe.flex.framework</groupId>
                <artifactId>automation-flashflexkit</artifactId>
                <version>${flex.sdk.version}</version>
                <type>swc</type>
                <scope>internal</scope>
        </dependency>
        <dependency>
                <groupId>com.adobe.flex.framework</groupId>
                <artifactId>automation-spark</artifactId>
                <version>${flex.sdk.version}</version>
                <type>swc</type>
                <scope>internal</scope>
        </dependency>
</dependencies>

turns into

-compiler.include-libraries C:\Documents and Settings\vincencollins
\.m2\repository\com\adobe\flex\framework\automation
\4.0.0.14159\automation-4.0.0.14159.swc C:\Documents and Settings
\vincencollins\.m2\repository\com\adobe\flex\framework\qtp
\4.0.0.14159\qtp-4.0.0.14159.swc C:\Documents and Settings
\vincencollins\.m2\repository\com\adobe\flex\framework\automation-agent
\4.0.0.14159\automation-agent-4.0.0.14159.swc C:\Documents and Settings
\vincencollins\.m2\repository\com\adobe\flex\framework\automation-dmv
\4.0.0.14159\automation-dmv-4.0.0.14159.swc C:\Documents and Settings
\vincencollins\.m2\repository\com\adobe\flex\framework\automation-
flashflexkit\4.0.0.14159\automation-flashflexkit-4.0.0.14159.swc C:
\Documents and Settings\vincencollins\.m2\repository\com\adobe\flex
\framework\automation-spark\4.0.0.14159\automation-
spark-4.0.0.14159.swc

-compiler.library-path [lots of other library dependencies]...C:
\Documents and Settings\vincencollins\.m2\repository\com\adobe\flex
\framework\automation\4.0.0.14159\automation-4.0.0.14159-en_US.rb.swc
C:\Documents and Settings\vincencollins\.m2\repository\com\adobe\flex
\framework\automation-agent\4.0.0.14159\automation-agent-4.0.0.14159-
en_US.rb.swc

For automation to work we need automation-4.0.0.14159-en_US.rb.swc and
automation-agent-4.0.0.14159-en_US.rb.swc up in the include
libraries.  Any ideas?

Vincen Collins

On May 7, 7:37 pm, Logan Allred <[email protected]> wrote:
> On Fri, May 7, 2010 at 9:58 AM, Radu Fiser <[email protected]> wrote:
> > The problem is not in qtp. Is my pom ok? Am i using correctlytest-swfgoal?
>
> We use SilkTest, not QTP, but it should be similar. Your pom looks
> very similar to ours, except that we don't use thetest-swfgoal, we
> just build our regular swf with automation in it.
>
> My understanding is that if you usetest-swf, you should end up with 2
> swfs in your target directory, your normal and your -test.swf. Are you
> seeing that?
>
> When you build with automation, your swf should be quite a big bigger
> (ours went from 700k to 1.3mb). Try commenting out the automation and
> see if your swf size changes. If it stays the same, then it's not
> getting compiled correctly.
>
> Try running your build with mvn -X, which will be very verbose, but
> will include detailed configuration information for the compiler. You
> want the automation swcs to be listed in the include-libraries
> section.
>
> 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 athttp://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