Hi,

I am trying to upgrade my project from Flexmojos 3.8 to 4.0-RC2. I am
getting the below exception.

C:\JDeveloper\mywork\trunk\frontend\FlexApps\UIComponents\src\main\flex\com\avocent\trellis\presentation\main\OneLineDToolBarView.mxml(0):
Warning: CSS type selectors are not supported in components:
'spark.components.TextArea.NewAnnotation'

<?xml version="1.0"?>

C:\JDeveloper\mywork\trunk\frontend\FlexApps\UIComponents\src\main\flex\com\avocent\trellis\presentation\main\OneLineDToolBarView.mxml(56):
Warning: CSS type selectors are not supported in components:
'com.avocent.trellis.presentation.main.alertClasses.ADFAlertCloseButton'

<toolbar:ToolbarButton id="editToolBtnId"

C:\JDeveloper\mywork\trunk\frontend\FlexApps\UIComponents\src\main\flex\com\avocent\trellis\presentation\main\OneLineDToolBarView.mxml(63):
Warning: CSS type selectors are not supported in components:
'com.avocent.trellis.presentation.main.alertClasses.ADFAlertButton'

</s:Group>

C:\JDeveloper\mywork\trunk\frontend\FlexApps\UIComponents\src\main\flex\com\avocent\trellis\presentation\main\OneLineDToolBarView.mxml(68):
Warning: CSS type selectors are not supported in components:
'com.avocent.trellis.presentation.main.alertClasses.ADFAlertTextArea'



C:\JDeveloper\mywork\trunk\frontend\FlexApps\UIComponents\src\main\flex\com\avocent\trellis\presentation\main\OneLineDToolBarView.mxml(73):
Warning: CSS type selectors are not supported in components:
'com.avocent.trellis.presentation.main.alertClasses.ADFGripButton'


My POM file looks like this. Can you please help me how to fix this issue.


<!--suppress ALL -->
<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>
    <parent>
        <groupId>com.avocent.trellis</groupId>
        <artifactId>apps</artifactId>
        <version>02.00.00.02-SNAPSHOT</version>
    </parent>

    <groupId>com.avocent.trellis.apps</groupId>

    <artifactId>flexapps</artifactId>
    <version>02.00.00.02-SNAPSHOT</version>

    <packaging>pom</packaging>

    <properties>
        <flexmojos.version>4.0-RC1</flexmojos.version>
        <flex.version>4.5.1.21328</flex.version>
    </properties>

    <build>
        <sourceDirectory>src/main/flex</sourceDirectory>
<!--        <testSourceDirectory>src/test/flex</testSourceDirectory> -->
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.sonatype.flexmojos</groupId>
                    <artifactId>flexmojos-maven-plugin</artifactId>
                    <extensions>true</extensions>
                    <configuration>
                        <autoSortRsls>true</autoSortRsls>
                        <accessible>true</accessible>
                        <debug>true</debug>
                        <optimize>true</optimize>
                        <strict>true</strict>
                        <incremental>false</incremental>

<staticLinkRuntimeSharedLibraries>true</staticLinkRuntimeSharedLibraries>
                        <targetPlayer>11.2</targetPlayer>
                        <showWarnings>true</showWarnings>
                        <configFiles>
                            <configFile>config-swf-version.xml</configFile>
                        </configFiles>
                        <configurationReport>true</configurationReport>
                        <linkReport>true</linkReport>
                    </configuration>
                    <version>${flexmojos.version}</version>
                    <dependencies>
                        <dependency>
                            <groupId>com.adobe.flex</groupId>
                            <artifactId>compiler</artifactId>
                            <version>${flex.version}</version>
                            <type>pom</type>
                        </dependency>
                        <dependency>
                            <groupId>com.adobe.flex.compiler</groupId>
                            <artifactId>asdoc</artifactId>
                            <version>${flex.version}</version>
                            <classifier>template</classifier>
                            <type>zip</type>
                        </dependency>
                    </dependencies>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.adobe.flex.framework</groupId>
                <artifactId>flex-framework</artifactId>
                <version>${flex.version}</version>
                <type>pom</type>
            </dependency>
            <dependency>
                <groupId>com.adobe.flexunit</groupId>
                <artifactId>flexunit</artifactId>
                <version>4.1.0_RC2</version>
                <type>swc</type>
            </dependency>
            <dependency>
                <groupId>com.adobe.flexunit</groupId>
                <artifactId>flexunit-uilistener</artifactId>
                <version>4.1.0_RC2</version>
                <type>swc</type>
            </dependency>
            <dependency>
                <groupId>asmock-v1.0</groupId>
                <artifactId>asmock-v1.0</artifactId>
                <version>asmock-v1.0</version>
                <type>swc</type>
            </dependency>
            <dependency>
                <groupId>asmock-v1.0-flexunit-v4.1</groupId>
                <artifactId>asmock-v1.0-flexunit-v4.1</artifactId>
                <version>asmock-v1.0-flexunit-v4.1</version>
                <type>swc</type>
            </dependency>
            <dependency>
                <groupId>org.robotlegs</groupId>
                <artifactId>robotlegs-framework</artifactId>
                <version>1.4.0</version>
                <type>swc</type>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <modules>
        <module>DebugWindowv2</module>
        <module>UIComponents</module>
        <module>ServiceDefs</module>
        <module>ServiceImpls</module>
        <module>Visualizer</module>
    </modules>

</project>

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to flex-mojos@googlegroups.com
To unsubscribe from this group, send email to
flex-mojos+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/
<!--suppress ALL -->
<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>
    <parent>
        <groupId>com.avocent.trellis</groupId>
        <artifactId>apps</artifactId>
        <version>02.00.00.02-SNAPSHOT</version>
    </parent>

    <groupId>com.avocent.trellis.apps</groupId>

    <artifactId>flexapps</artifactId>
    <version>02.00.00.02-SNAPSHOT</version>

    <packaging>pom</packaging>

    <properties>
        <flexmojos.version>4.0-RC1</flexmojos.version>
        <flex.version>4.5.1.21328</flex.version>
    </properties>

    <build>
        <sourceDirectory>src/main/flex</sourceDirectory>
<!--        <testSourceDirectory>src/test/flex</testSourceDirectory> -->
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.sonatype.flexmojos</groupId>
                    <artifactId>flexmojos-maven-plugin</artifactId>
                    <extensions>true</extensions>
                    <configuration>
                        <autoSortRsls>true</autoSortRsls>
                        <accessible>true</accessible>
                        <debug>true</debug>
                        <optimize>true</optimize>
                        <strict>true</strict>
                        <incremental>false</incremental>
                        <staticLinkRuntimeSharedLibraries>true</staticLinkRuntimeSharedLibraries>
                        <targetPlayer>11.2</targetPlayer>
                        <showWarnings>true</showWarnings>
                        <configFiles>
                            <configFile>config-swf-version.xml</configFile>
                        </configFiles>
                        <configurationReport>true</configurationReport>
                        <linkReport>true</linkReport>
                    </configuration>
                    <version>${flexmojos.version}</version>
                    <dependencies>
                        <dependency>
                            <groupId>com.adobe.flex</groupId>
                            <artifactId>compiler</artifactId>
                            <version>${flex.version}</version>
                            <type>pom</type>
                        </dependency>
                        <dependency>
                            <groupId>com.adobe.flex.compiler</groupId>
                            <artifactId>asdoc</artifactId>
                            <version>${flex.version}</version>
                            <classifier>template</classifier>
                            <type>zip</type>
                        </dependency>
                    </dependencies>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.adobe.flex.framework</groupId>
                <artifactId>flex-framework</artifactId>
                <version>${flex.version}</version>
                <type>pom</type>
            </dependency>
            <dependency>
                <groupId>com.adobe.flexunit</groupId>
                <artifactId>flexunit</artifactId>
                <version>4.1.0_RC2</version>
                <type>swc</type>
            </dependency>
            <dependency>
                <groupId>com.adobe.flexunit</groupId>
                <artifactId>flexunit-uilistener</artifactId>
                <version>4.1.0_RC2</version>
                <type>swc</type>
            </dependency>
            <dependency>
                <groupId>asmock-v1.0</groupId>
                <artifactId>asmock-v1.0</artifactId>
                <version>asmock-v1.0</version>
                <type>swc</type>
            </dependency>
            <dependency>
                <groupId>asmock-v1.0-flexunit-v4.1</groupId>
                <artifactId>asmock-v1.0-flexunit-v4.1</artifactId>
                <version>asmock-v1.0-flexunit-v4.1</version>
                <type>swc</type>
            </dependency>
            <dependency>
                <groupId>org.robotlegs</groupId>
                <artifactId>robotlegs-framework</artifactId>
                <version>1.4.0</version>
                <type>swc</type>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <modules>
        <module>DebugWindowv2</module>
        <module>UIComponents</module>
        <module>ServiceDefs</module>
        <module>ServiceImpls</module>
        <module>Visualizer</module>
    </modules>

</project>

Reply via email to