>
> VerifyError: Error #1014: Class mx.containers::TitleWindow could not be
> found.
>

I've been there and succesfully out, i cant seem to be able to
replicate, i'll give you my informations

>
> Is anyone actually successfully using FM4 + SDK 4.5.1 to build a flex app
> that isn't just a trival SWF ?

my app is quite simple, still it is multimodular and i use external
swcs
this is my dependency tree

[INFO] +- com.adobe.cairngorm:task:swc:1.11-SNAPSHOT:compile
[INFO] +- com.adobe.flexunit:flexunit:swc:4.1-RC2:test
[INFO] +- com.adobe.flex.framework:textLayout:swc:4.5.1.21328:caching
(scope not updated to compile)
[INFO] +- com.adobe.flex.framework:framework:swc:4.5.1.21328:caching
(scope not updated to compile)
[INFO] +- com.adobe.flex.framework:spark:swc:4.5.1.21328:caching
(scope not updated to compile)
[INFO] +- com.adobe.flex.framework:sparkskins:swc:4.5.1.21328:caching
(scope not updated to compile)
[INFO] +- com.adobe.flex.framework:rpc:swc:4.5.1.21328:caching (scope
not updated to compile)
[INFO] +- com.adobe.flex.framework:charts:swc:4.5.1.21328:caching
(scope not updated to compile)
[INFO] +- com.adobe.flex.framework:mx:swc:4.5.1.21328:caching (scope
not updated to compile)
[INFO] +- com.adobe.flex.framework:osmf:swc:4.5.1.21328:caching (scope
not updated to compile)
[INFO] +- com.adobe.flex.framework:spark_dmv:swc:4.5.1.21328:caching
(scope not updated to compile)
[INFO] +- com.adobe.flex.framework:advancedgrids:swc:
4.5.1.21328:caching (scope not updated to compile)
[INFO] \- com.adobe.flex.framework:flex-framework:pom:
4.5.1.21328:compile
[INFO]    +- com.adobe.flex.framework:common-framework:pom:
4.5.1.21328:compile
[INFO]    |  +- com.adobe.flex.framework:authoringsupport:swc:
4.5.1.21328:compile
[INFO]    |  +- com.adobe.flex.framework:core:swc:4.5.1.21328:compile
[INFO]    |  +- com.adobe.flex.framework:flash-integration:swc:
4.5.1.21328:compile
[INFO]    |  +- com.adobe.flex.framework:framework:zip:configs:
4.5.1.21328:compile
[INFO]    |  +- com.adobe.flex.framework:advancedgrids:rb.swc:
4.5.1.21328:compile
[INFO]    |  +- com.adobe.flex.framework:charts:rb.swc:
4.5.1.21328:compile
[INFO]    |  +- com.adobe.flex.framework:framework:rb.swc:
4.5.1.21328:compile
[INFO]    |  +- com.adobe.flex.framework:mx:rb.swc:4.5.1.21328:compile
[INFO]    |  +- com.adobe.flex.framework:osmf:rb.swc:
4.5.1.21328:compile
[INFO]    |  +- com.adobe.flex.framework:rpc:rb.swc:
4.5.1.21328:compile
[INFO]    |  +- com.adobe.flex.framework:spark:rb.swc:
4.5.1.21328:compile
[INFO]    |  +- com.adobe.flex.framework:textLayout:rb.swc:
4.5.1.21328:compile
[INFO]    |  \- com.adobe.flex.framework:flash-integration:rb.swc:
4.5.1.21328:compile
[INFO]    +- com.adobe.flex.framework:playerglobal:swc:
10.2:4.5.1.21328:compile
[INFO]    \- com.adobe.flex.framework:playerglobal:rb.swc:
4.5.1.21328:compile

I met this problem first on some colleague's pc and it was related to
rsls cache
once cleaned i could replicate and fix it
(http://www.kalengibbons.com/blog/index.php/2008/11/clearing-framework-
rsls-from-your-flash-player-cache/)

these are the parts of the pom that should fix it

                                        <policyFileUrls>
                                                
<url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</url>
                                                
<url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</url>
                                                
<url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</url>
                                                
<url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</url>
                                                
<url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</url>
                                                
<url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</url>
                                                
<url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</url>
                                        </policyFileUrls>
                                        <rslUrls>
                                                
<url>http://fpdownload.adobe.com/pub/{extension}/flex/$
{flex.sdk.version}/{artifactId}_{version}.{extension}</url>
                                                
<url>http://fpdownload.adobe.com/pub/{extension}/tlf/$
{flex.tlf.version}/{artifactId}_${flex.tlf.version}.{extension}</url>
                                                
<url>http://fpdownload.adobe.com/pub/{extension}/flex/$
{flex.sdk.version}/{artifactId}_${flex.osmf.version}.{extension}</url>
                                                
<url>{artifactId}_{version}.{extension}</url>
                                                
<url>{artifactId}_${flex.tlf.version}.{extension}</url>
                                                
<url>{artifactId}_${flex.osmf.version}.{extension}</url>
                                                
<url>{artifactId}-{version}.{extension}</url>
                                        </rslUrls>


                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-resources-plugin</artifactId>
                                
<version>${maven.resources.plugin.version}</version>
                                <executions>
                                        <execution>
                                                <id>copyRequiredFiles</id>
                                                
<phase>generate-resources</phase>
                                                <goals>
                                                        
<goal>copy-resources</goal>
                                                </goals>
                                                <configuration>
                                                        
<outputDirectory>${basedir}/target</outputDirectory>
                                                        <resources>
                                                                <resource>
                                                                        
<targetPath>${basedir}/target</targetPath>
                                                                        
<directory>${sdk.install.path}\sdks\${flex.sdk.major}
\frameworks\rsls</directory>
                                                                        
<includes>
                                                                                
<include>**/*.swz</include>
                                                                        
</includes>
                                                                </resource>
                                                        </resources>
                                                </configuration>
                                        </execution>
                                </executions>
                                <configuration>
                                        
<outputDirectory>${basedir}/target</outputDirectory>
                                        <resources></resources>
                                </configuration>
                        </plugin>

        <dependencies>
                <dependency>
                        <groupId>com.adobe.cairngorm</groupId>
                        <artifactId>task</artifactId>
                        <version>${task.version}</version>
                        <type>swc</type>
                        <scope>compile</scope>
                </dependency>

                <dependency>
                        <groupId>com.adobe.flexunit</groupId>
                        <artifactId>flexunit</artifactId>
                        <version>${flexunit.version}</version>
                        <type>swc</type>
                        <scope>test</scope>
                </dependency>

                <!-- framework RSL -->

                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>textLayout</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swc</type>
                        <scope>caching</scope>
                </dependency>

                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>framework</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swc</type>
                        <scope>caching</scope>
                </dependency>

                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>spark</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swc</type>
                        <scope>caching</scope>
                </dependency>

                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>sparkskins</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swc</type>
                        <scope>caching</scope>
                </dependency>

                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>rpc</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swc</type>
                        <scope>caching</scope>
                </dependency>

                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>charts</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swc</type>
                        <scope>caching</scope>
                </dependency>

                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>mx</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swc</type>
                        <scope>caching</scope>
                </dependency>

                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>osmf</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swc</type>
                        <scope>caching</scope>
                </dependency>

                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>spark_dmv</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swc</type>
                        <scope>caching</scope>
                </dependency>

                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>advancedgrids</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swc</type>
                        <scope>caching</scope>
                </dependency>

                <!-- must be last -->
                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>flex-framework</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>pom</type>
                </dependency>

        </dependencies>

-- 
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