You must pick one, or flex-framework or air-framework.... if you add both maven will pick one for you. Witch one? Who knows :P
VELO On Mon, Jun 22, 2009 at 10:58 AM, James Cook <[email protected]> wrote: > Everything appears correct with my POM, as the compiler properties specify > my air libraries correctly. However, I get class not found exceptions during > the compile step whenever an Air-specific class is encountered. Does anyone > know what might be wrong? > > Error: > ===== > [INFO] Flex compiler configurations: > -compiler.accessible=false > -compiler.actionscript-file-encoding UTF-8 > -compiler.allow-source-path-overlap=false > -compiler.as3=true > -compiler.debug=false > -compiler.es=false > -compiler.external-library-path > /Users/jimcook/Projects/tracer/TRAC1004/employee-client/target/classes/libraries/playerglobal.swc > > -compiler.fonts.local-fonts-snapshot > /Users/jimcook/Projects/tracer/TRAC1004/employee-client/target/classes/fonts.ser > > -compiler.headless-server=false > -compiler.include-libraries= > -compiler.keep-all-type-selectors=false > -compiler.keep-generated-actionscript=false > -compiler.library-path > /Users/jimcook/.m2/repository/com/adobe/flex/framework/flex/3.2.0.3958/flex-3.2.0.3958.swc > /Users/jimcook/.m2/repository/com/adobe/flex/framework/framework/3.2.0.3958/framework-3.2.0.3958.swc > /Users/jimcook/.m2/repository/com/adobe/flex/framework/rpc/3.2.0.3958/rpc-3.2.0.3958.swc > /Users/jimcook/.m2/repository/com/adobe/flex/framework/utilities/3.2.0.3958/utilities-3.2.0.3958.swc > /Users/jimcook/.m2/repository/org/puremvc/lib-as3/2.0.4/lib-as3-2.0.4.swc > /Users/jimcook/.m2/repository/com/adobe/flex/framework/airframework/3.2.0.3958/airframework-3.2.0.3958.swc > /Users/jimcook/.m2/repository/com/adobe/flex/framework/applicationupdater/3.2.0.3958/applicationupdater-3.2.0.3958.swc > /Users/jimcook/.m2/repository/com/adobe/flex/framework/applicationupdater_ui/3.2.0.3958/applicationupdater_ui-3.2.0.3958.swc > /Users/jimcook/.m2/repository/com/adobe/flex/framework/servicemonitor/3.2.0.3958/servicemonitor-3.2.0.3958.swc > > -compiler.locale= > -compiler.namespaces.namespace > http://www.adobe.com/2006/mxml/Users/jimcook/Projects/tracer/TRAC1004/employee-client/target/classes/configs/mxml-manifest.xml > > -compiler.optimize=true > -compiler.source-path > /Users/jimcook/Projects/tracer/TRAC1004/employee-client/src/main/flex > -compiler.strict=true > -compiler.use-resource-bundle-metadata=true > -compiler.verbose-stacktraces=false > -default-background-color 8821927 > -default-frame-rate 24 > -default-script-limits 1000 60 > -default-size 500 375 > -metadata.date Mon Jun 22 09:26:26 EDT 2009 > -target-player 10.0.0 > -use-network=true > -verify-digests=true -load-config= > [ERROR] > /Users/jimcook/Projects/tracer/TRAC1004/employee-client/src/main/flex/com/tracermedia/time/client/employee/model/ConfigProxy.as:[33,41] > Access of undefined property EncryptedLocalStore. var > storedValue:ByteArray = EncryptedLocalStore.getItem(key); > > > POM: > ==== > <?xml version="1.0" encoding="UTF-8"?> > <!-- > > Copyright 2008 Marvin Herman Froeder > Licensed under the Apache License, Version 2.0 (the "License"); > you may not use this file except in compliance with the License. > You may obtain a copy of the License at > > http://www.apache.org/licenses/LICENSE-2.0 > > Unless required by applicable law or agreed to in writing, software > distributed under the License is distributed on an "AS IS" BASIS, > WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or > implied. > See the License for the specific language governing permissions and > limitations under the License. > > --> > <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.tracermedia.time</groupId> > <artifactId>employee-client</artifactId> > <version>1.0-SNAPSHOT</version> > <packaging>swf</packaging> > > <name>employee-client Flex</name> > > <properties> > <flex-mojos-version>3.2.0</flex-mojos-version> > </properties> > > <build> > <sourceDirectory>src/main/flex</sourceDirectory> > <testSourceDirectory>src/test/flex</testSourceDirectory> > <plugins> > <plugin> > <groupId>org.sonatype.flexmojos</groupId> > <artifactId>flexmojos-maven-plugin</artifactId> > <version>${flex-mojos-version}</version> > <extensions>true</extensions> > <configuration> > <targetPlayer>10.0.0</targetPlayer> > > <!--<sourceFile>com/tracermedia/time/App.as</sourceFile>--> > > <resourceBundlePath>${basedir}/src/main/resources/locale/{locale}</resourceBundlePath> > <runtimeLocales> > <locale>en_US</locale> > </runtimeLocales> > </configuration> > </plugin> > </plugins> > </build> > > <dependencies> > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>flex-framework</artifactId> > <version>3.2.0.3958</version> > <type>pom</type> > </dependency> > > <dependency> > <groupId>org.puremvc</groupId> > <artifactId>lib-as3</artifactId> > <version>2.0.4</version> > <type>swc</type> > </dependency> > > <!-- Air SDK dependencies --> > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>air-framework</artifactId> > <version>3.2.0.3958</version> > <type>pom</type> > </dependency> > > <!-- flexmojos Unit testing support --> > <dependency> > <groupId>org.sonatype.flexmojos</groupId> > <artifactId>flexmojos-unittest-support</artifactId> > <version>${flex-mojos-version}</version> > <type>swc</type> > <scope>test</scope> > </dependency> > </dependencies> > > </project> > > > > > --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
