Please do that.

On Fri, Mar 5, 2010 at 2:46 PM, TizzyTool <[email protected]> wrote:

> OK cool. Any thoughts on what could be causing the problem? Were you
> able to get an AIR 2 project to build?
>
> If it helps, I can file a bug and attach a sample AIR 2 project (with
> AIR 2 calls/classes).
>
> Thanks
>
> On Mar 5, 9:44 am, Marvin Froeder <[email protected]> wrote:
> > I did remove the targetPlayer suff then the airglobal is present....
> >
> > On Fri, Mar 5, 2010 at 2:43 PM, TizzyTool <[email protected]> wrote:
> > > Thanks for working on this. I downloaded the updated POMs with the
> > > code changes, but I'm still getting the error:
> >
> > > [INFO] Invalid player version 2.0
> >
> > > I'm still using the same POM as above. I've also tried to include
> > > <targetPlayer>2.0</targetPlayer>, but no luck there.
> >
> > > On Mar 4, 5:56 pm, Marvin Froeder <[email protected]> wrote:
> > > > I changed flexmojos to not try to setPlayer global when airGlobal is
> > > > present... honestly I have no idea what should be set on playerglobal
> for
> > > > air projects.
> >
> > > > On Thu, Mar 4, 2010 at 10:49 PM, TizzyTool <[email protected]>
> wrote:
> > > > > I actually have to go, so I can't chat right now. I can check in in
> > > > > about 15 hours.
> >
> > > > > Thanks!
> >
> > > > > On Mar 4, 5:47 pm, Marvin Froeder <[email protected]> wrote:
> > > > > > No, this, now is a flexmojos bug... add me on gtalk then I ping
> you
> > > once
> > > > > I
> > > > > > have a fix in place
> >
> > > > > > On Thu, Mar 4, 2010 at 10:44 PM, TizzyTool <[email protected]>
> > > wrote:
> > > > > > > Does there need to be an "air-framework" artifact with
> classifier
> > > > > > > "2.0" built? Would that solve this?
> >
> > > > > > > On Mar 4, 5:42 pm, TizzyTool <[email protected]> wrote:
> > > > > > > > OK, I figured out that the Sonatype repo browser is incorrect
> and
> > > > > > > > didn't list the AIR 2 airglobal. Here is the working one:
> >
> > > > > > > > <dependency>
> > > > > > > >         <groupId>com.adobe.flex.framework</groupId>
> > > > > > > >         <artifactId>airglobal</artifactId>
> > > > > > > >         <version>${flex.version}</version>
> > > > > > > >         <classifier>2.0</classifier>
> > > > > > > >         <type>swc</type>
> > > > > > > > </dependency>
> >
> > > > > > > > But now I run into this error:
> >
> > > > > > > > [ERROR] BUILD ERROR
> > > > > > > > [INFO]
> >
> > >
> ------------------------------------------------------------------------
> > > > > > > > [INFO] Invalid player version 2.0
> >
> > > > > > > > I've tried setting the <targetPlayer /> value to 2.0, 2, and
> > > 10.1,
> > > > > but
> > > > > > > > none work (the 2's aren't valid player values; 10.1 doesn't
> match
> > > > > 2.0)
> >
> > > > > > > > Here's the complete POM again for clarity.
> >
> > > > > > > > <?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.0http://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.0</classifier>
> > > > > > > >                         <type>swc</type>
> > > > > > > >                 </dependency>
> > > > > > > >         </dependencies>
> >
> > > > > > > > </project>
> >
> > > > > > > > On Mar 4, 5:12 pm, Marvin Froeder <[email protected]> wrote:
> >
> > > > > > > > > Would be nice if you could drop a few lines on wiki after
> you
> > > > > figuted
> > > > > > > that
> > > > > > > > > out.
> >
> > > > > > > > > VELO
> >
> > > > > > > > > On Thu, Mar 4, 2010 at 10:12 PM, Marvin Froeder <
> > > [email protected]
> >
> > > > > > > wrote:
> > > > > > > > > > This is like playerglobal 10.... so where is the
> classifier?
> >
> > > > > > > > > > On Thu, Mar 4, 2010 at 10:07 PM, TizzyTool <
> > > [email protected]>
> > > > > > > wrote:
> >
> > > > > > > > > >> When I change it to this:
> >
> > > > > > > > > >>                <dependency>
> >
> > > > >  <groupId>com.adobe.flex.framework</groupId>
> > > > > > > > > >>
>  <artifactId>airglobal</artifactId>
> > > > > > > > > >>
>  <version>${flex.version}</version>
> > > > > > > > > >>                         <type>swc</type>
> > > > > > > > > >>                </dependency>
> >
> > > > > > > > > >> I get told that the AIR 2 events can't be found
> >
> > > > > > > > > >> [ERROR]
> /Users/scotts/Desktop/flexmojos-air2/src/main/flex/
> > > > > > > > > >> FileTile.mxml:[98,-1] Type was not found or was not a
> > > > > compile-time
> > > > > > > > > >> constant: StorageVolumeChangeEvent.
> > > > > > > > > >> [ERROR]
> /Users/scotts/Desktop/flexmojos-air2/src/main/flex/
> > > > > > > > > >> FileTile.mxml:[110,-1] Type was not found or was not a
> > > > > compile-time
> > > > > > > > > >> constant: StorageVolumeChangeEvent.
> >
> > > > > > > > > >> On Mar 4, 4:47 pm, Marvin Froeder <[email protected]>
> > > wrote:
> > > > > > > > > >> > Did you fixed the 0.swc ?
> >
> > > > > > > > > >> > On Thu, Mar 4, 2010 at 9:39 PM, TizzyTool <
> > > > > [email protected]>
> > > > > > > wrote:
> > > > > > > > > >> > > That's the artifact I saw in the Sonatype repo:
> >
> > >http://repository.sonatype.org/index.html#nexus-search;quick~airglobal<http://repository.sonatype.org/index.html#nexus-search;quick%7Eairglobal>
> <http://repository.sonatype.org/index.html#nexus-search;quick%7Eairglobal>
> > > <
> http://repository.sonatype.org/index.html#nexus-search;quick%7Eairglobal>
> > > > > <
> > >
> http://repository.sonatype.org/index.html#nexus-search;quick%7Eairglobal>
> > > > > > > <
> >
> > >
> http://repository.sonatype.org/index.html#nexus-search;quick%7Eairglobal>
> > > > > > > > > >> <
> >
> > >
> http://repository.sonatype.org/index.html#nexus-search;quick%7Eairglobal
> >
> > > > > > > > > >> > > Looked weird, but I assumed that's how you got
> airglobal
> > > 1
> > > > > and 2
> > > > > > > in
> > > > > > > > > >> > > the same spot.
> >
> > > > > > > > > >> > > What should I be using to be able to link to the AIR
> 2.0
> > > > > > > functions/
> > > > > > > > > >> > > classes?
> >
> > > > > > > > > >> > > Thanks again
> > > > > > > > > >> > > - Scott
> >
> > > > > > > > > >> > > On Mar 4, 4:35 pm, Marvin Froeder <
> [email protected]>
> > > > > wrote:
> > > > > > > > > >> > > > 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
> >
> > ...
> >
> > read more ยป
>
> --
> 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