Hi All, as discussed here ...

http://forums.adobe.com/message/3334565#3334565

... I try to do the same thing, but I am stuck now, since I do not
know,
how to make either of the two possibilities ...

<snip from disscussion above>

So here is what I found out (the result of 3 days of work (elapse
time)).

To get a Flex/Air SDK up and running you need to ...

Download the Flex SDK (e.g. 4.1.0.16076) from
http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4
This will NOT contain an/the AIR SDK (and that means also no runtimes)
Download the Air SDK (e.g. 2.5.1) from http://www.adobe.com/products/air/sdk/
Copy the Air SDK over the Flex SDK as described here
http://kb2.adobe.com/cps/495/cpsid_49532.html
Note: Make sure that the Air SDK is newer than the Flex SDK. Otherwise
the Flex SDK might use features of the Air SDK that are not present in
the Air SDK and that might result in compile or runtime errors. I was
not able to find a definition of "newer", but assume that Air 2.5 is
newer than Flex 4.1
... or ...

You download the Flex SDK 4.5.0.17689 from
http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+Hero
This actually contains (means is already merged with) an Air SDK
(don't know which version)

</snip from disscussion above>

... work with 3.7.1 or 4.0.

Any advice is welcome.

Regards ...
    Roland

On Nov 6, 1:08 pm, SimonW <[email protected]> wrote:
> Hi all,
>
> I am trying to build an AIR application for AIR runtime 2.5 with
> Flexmojos 4.0 and Flex SDK 4.1
>
> However I get a build failure:
>
> [ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-
> plugin:4.0
> -beta-2:test-run (default-test-run) on project test: Execution default-
> test-run
> of goal org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-beta-2:test-
> run failed
> : Failed to resolve artifact com.adobe.adl:runtime:zip:2.0 -> [Help 1]
>
> Here is the POM extract of the flexmojos plugin:
>
>                 <plugins>
>                         <plugin>
>                                 <groupId>org.sonatype.flexmojos</groupId>
>                                 
> <artifactId>flexmojos-maven-plugin</artifactId>
>                                 <version>4.0-beta-2</version>
>                                 <extensions>true</extensions>
>                                 <configuration>
>                                         <sourceFile>Test.mxml</sourceFile>
>                                 </configuration>
>
>                                 <dependencies>
>                                         <dependency>
>                                                 
> <groupId>com.adobe.flex</groupId>
>                                                 
> <artifactId>compiler</artifactId>
>                                                 <version>4.1.0.16076</version>
>                                                 <type>pom</type>
>                                         </dependency>
>                                 </dependencies>
>                         </plugin>
>                 </plugins>
>
> Am I missing here something?
> Is there any reference/sample POM available of how to do that?
>
> Thanks a lot!!
> Simon

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