Does your sources compile at all?  From the error they don't seem to.

VELO

On Fri, Oct 1, 2010 at 2:47 PM, harish.dhina <[email protected]> wrote:

> Hi All
>
> When i run mvn clean install - get a Build error which I have posted
> below:
>
>
> This is our project structure:
>
> Flex Project -->
>
> src --> Main.mxml
> src --> com --> abcd --> modules --> A.mxml, B.mxml, C.mxml...
> src --> com --> abcd --> models
> src --> com --> abcd --> services
> src --> com --> abcd --> components
> src --> com --> abcd --> views
> src --> com --> abcd --> messages
> src --> com --> abcd --> messageHandlers
>
>
> This is my pom:
>
>
>
> <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";>
>
>        <parent>
>                <groupId>com.abcd.datacollection</groupId>
>                <artifactId>dataCollection</artifactId>
>                <version>1.0-SNAPSHOT</version>
>        </parent>
>
>        <modelVersion>4.0.0</modelVersion>
>        <groupId>com.abcd.datacollection</groupId>
>        <artifactId>dataCollection-flex</artifactId>
>        <version>1.0-SNAPSHOT</version>
>        <packaging>swf</packaging>
>        <name>DataCollection - Flex</name>
>        <description>Flex UI</description>
>
>        <build>
>                <sourceDirectory>src</sourceDirectory>
>
>                <plugins>
>                        <plugin>
>                                <groupId>org.sonatype.flexmojos</groupId>
>
>  <artifactId>flexmojos-maven-plugin</artifactId>
>                                <extensions>true</extensions>
>                                <configuration>
>                                        <targetPlayer>10.0.0</targetPlayer>
>
>
>  <contextRoot>dataCollection</contextRoot>
>                                        <debug>true</debug>
>                                        <optimize>true</optimize>
>
>  <loadExternsOnModules>true</loadExternsOnModules>
>                                        <compiledLocales>
>                                                <locale>en_US</locale>
>                                        </compiledLocales>
>
>  <configurationReport>true</configurationReport>
>
>  <staticLinkRuntimeSharedLibraries>true</
> staticLinkRuntimeSharedLibraries>
>                                        <moduleFiles>
>
>  <moduleFile>com/abcd/modules/a.mxml</moduleFile>
>
>  <moduleFile>com/abcd/modules/c.mxml</moduleFile>
>
>  <moduleFile>com/abcd/modules/d.mxml</moduleFile>
>                                        </moduleFiles>
>                                        <sourceFile>Main.mxml</sourceFile>
>                                </configuration>
>                                <dependencies>
>                                        <dependency>
>
>  <groupId>com.adobe.flex</groupId>
>
>  <artifactId>compiler</artifactId>
>
>  <version>${flex.sdk.version}</version>
>                                                <type>pom</type>
>                                        </dependency>
>                                </dependencies>
>                        </plugin>
>                </plugins>
>        </build>
>
>        <repositories>
>                <repository>
>                        <id>flexmojos-repository</id>
>                        <url>
> http://repository.sonatype.org/content/groups/public/</url>
>                </repository>
>        </repositories>
>
>        <pluginRepositories>
>                <pluginRepository>
>                        <id>flexmojos-repository</id>
>                        <url>
> http://repository.sonatype.org/content/groups/public/</url>
>                </pluginRepository>
>        </pluginRepositories>
>
>        <dependencies>
>                <dependency>
>                        <groupId>com.abcd.datacollection</groupId>
>                        <artifactId>dataCollection-flexModel</artifactId>
>                        <version>1.0-SNAPSHOT</version>
>                        <type>swc</type>
>                </dependency>
>                <dependency>
>                        <groupId>com.abcd.swc</groupId>
>                        <artifactId>parsley-flex4</artifactId>
>                        <version>2.3.M2</version>
>                        <type>swc</type>
>                </dependency>
>                <dependency>
>                        <groupId>com.abcd.swc</groupId>
>                        <artifactId>spicelib-flash</artifactId>
>                        <version>2.3.M2</version>
>                        <type>swc</type>
>                </dependency>
>                <dependency>
>                        <groupId>com.abcd.swc</groupId>
>                        <artifactId>tinkspark</artifactId>
>                        <version>1.0.0</version>
>                        <type>swc</type>
>                </dependency>
>
>                <dependency>
>                        <groupId>com.adobe.flex.framework</groupId>
>                        <artifactId>flex-framework</artifactId>
>                        <version>${flex.sdk.version}</version>
>                        <type>pom</type>
>                        <exclusions>
>                                <exclusion>
>
>  <groupId>com.adobe.flex.framework</groupId>
>
>  <artifactId>playerglobal</artifactId>
>                                </exclusion>
>                        </exclusions>
>                </dependency>
>
>                <dependency>
>                        <groupId>com.adobe.flex.framework</groupId>
>                        <artifactId>playerglobal</artifactId>
>                        <version>${flex.sdk.version}</version>
>                        <classifier>10.0</classifier>
>                        <type>swc</type>
>                </dependency>
>
>        </dependencies>
> </project>
>
>
> The error I get when executing
>
> mvn clean install:
>
>
> [WARNING] C:\harish\flex\apps\workspace\dataCollection-
> flexUserInterface\src\com\abcd\events\MainViewEvent.as:[54,23]
> variable 'TOGGLE_SAVE_STATUS' has no type declaration.
> public static const TOGGLE_SAVE_STATUS = "toggleSaveStatus";
>
> [WARNING] C:\harish\flex\apps\workspace\dataCollection-
> flexUserInterface\src\com\abcd\events\MainViewEvent.as:[113,76] String
> used where a Boolean value was expected.  The expression will be type
> coerced to Boolean.
>        return new MainViewEvent(type, title, view, uid, bubbles,
> selectedInfo,currentState);
>
> [ERROR] C:\harish\flex\apps\workspace\dataCollection-flexUserInterface
> \src\com\abcd\models\ModelLocator.as:[1,1] Type was not found or was
> not a compile-time constant: User.package
> com.newwavetechnologies.models
>
> [ERROR] C:\harish\flex\apps\workspace\dataCollection-flexUserInterface
> \src\com\abcd\models\ModelLocator.as:[1,1] Type was not found or was
> not a
> compile-time constant: User.package com.newwavetechnologies.models
>
>
> Thanks
>
> Harish
>
> On Oct 1, 11:30 am, Marvin Froeder <[email protected]> wrote:
> > Bring it on!
> >
> > Sent from DROID
>
> --
> 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
>
> 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