type 0.swc???

On Thu, Mar 4, 2010 at 8:27 PM, TizzyTool <[email protected]> wrote:

> I'm trying to get AIR 2.0 working, but am running into issues.
>
> I tried to set up the POM similarly to how the "playerglobal" people
> have been doing it, but instead referencing the airglobal 2.0 I found
> on the Sonatype repo browser. You'll see I've excluded both airglobal
> and playerglobal from the air-framework dependency.
>
> POM:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://
> www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://
> maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
>        <modelVersion>4.0.0</modelVersion>
>
>        <groupId>com.susslin.test</groupId>
>        <artifactId>air2</artifactId>
>        <version>1.0-SNAPSHOT</version>
>        <packaging>swf</packaging>
>
>        <name>AIR 2 Test</name>
>
>        <properties>
>                <flex.version>4.0.0.13875</flex.version>
>        </properties>
>
>        <repositories>
>                <repository>
>                        <id>flex-mojos-repository</id>
>                        <url>
> http://repository.sonatype.org/content/groups/flexgroup/</url>
>                        <releases><enabled>true</enabled></releases>
>                        <snapshots><enabled>true</enabled></snapshots>
>                </repository>
>        </repositories>
>        <pluginRepositories>
>                <pluginRepository>
>                        <id>flex-mojos-repository</id>
>                        <url>
> http://repository.sonatype.org/content/groups/flexgroup/</url>
>                        <releases><enabled>true</enabled></releases>
>                        <snapshots><enabled>true</enabled></snapshots>
>                </pluginRepository>
>        </pluginRepositories>
>
>        <build>
>                <sourceDirectory>src/main/flex</sourceDirectory>
>                <testSourceDirectory>src/test/flex</testSourceDirectory>
>                <plugins>
>                         <plugin>
>                                <groupId>org.sonatype.flexmojos</groupId>
>
>  <artifactId>flexmojos-maven-plugin</artifactId>
>                                 <version>3.6-SNAPSHOT</version>
>                                <extensions>true</extensions>
>
>                                <configuration>
>
>  <sourceFile>FileTile.mxml</sourceFile>
>                                </configuration>
>
>                                <dependencies>
>                                        <dependency>
>
>  <groupId>com.adobe.flex</groupId>
>
>  <artifactId>compiler</artifactId>
>
>  <version>${flex.version}</version>
>                                                 <type>pom</type>
>                                        </dependency>
>                                </dependencies>
>                         </plugin>
>                </plugins>
>        </build>
>
>        <dependencies>
>                 <dependency>
>                        <groupId>com.adobe.flex.framework</groupId>
>                         <artifactId>air-framework</artifactId>
>                        <version>${flex.version}</version>
>                        <type>pom</type>
>                        <exclusions>
>                                <exclusion>
>
>  <groupId>com.adobe.flex.framework</groupId>
>                                         <artifactId>airglobal</artifactId>
>                                </exclusion>
>                                <exclusion>
>
>  <groupId>com.adobe.flex.framework</groupId>
>
>  <artifactId>playerglobal</artifactId>
>                                 </exclusion>
>                        </exclusions>
>                </dependency>
>                 <dependency>
>                        <groupId>com.adobe.flex.framework</groupId>
>                         <artifactId>airglobal</artifactId>
>                        <version>${flex.version}</version>
>                        <classifier>2</classifier>
>                        <type>0.swc</type>
>                </dependency>
>        </dependencies>
>
> </project>
>
> OUTPUT:
>
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building AIR 2 Test
> [INFO]    task-segment: [clean, package]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting directory /Users/scotts/Desktop/test/target
> [INFO] [resources:resources {execution: default-resources}]
> [WARNING] Using platform encoding (MacRoman actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /Users/scotts/Desktop/test/
> src/main/resources
> [INFO] [flexmojos:compile-swf {execution: default-compile-swf}]
> [INFO] Flexmojos 3.6-SNAPSHOT
> [INFO]   Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT
> file
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Player/Air Global dependency not found.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 20 seconds
> [INFO] Finished at: Thu Mar 04 15:20:18 PST 2010
> [INFO] Final Memory: 33M/204M
> [INFO]
> ------------------------------------------------------------------------
>
> When I don't exclude them, the -compiler.external-library-path
> variable is always set to airglobal.swc, and I get a compile error on
> the AIR-2.0-specific classes that it can't find.
>
> Thanks!
> - Scott
>
>
> On Feb 23, 4:12 am, velo <[email protected]> wrote:
> > Hi folks,
> >
> > Last night it did deployed the latest Flex 4 stable version available
> > (4.0.0.13875) on Flexmojos maven repository. (http://
> > repository.sonatype.org/content/groups/flexgroup/)
> >
> > For this version I did include playerglobal 10.1 (from Adobe SVN) and
> > renamed player global 10 to 10.0
> >
> > Also, I included airglobal 2.0 for those that are playing withair 2.
> >
> > Some locales where not included this time, due to missing rb.swc files
> > (namely playerglobal_rb.swc and flash-integration_rb.swc.  Hopefully
> > adobe will fix that on future releases.
> >
> > VELO
>
> --
> 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]<flex-mojos%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/flex-mojos?hl=en?hl=en
>
> 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?hl=en?hl=en

http://flexmojos.sonatype.org/

Reply via email to