Hi,

I'm trying to switch to cached framework libraries and it's not as easy as I
hoped for... Below is my current pom.xml for testing.

- Is there an easier way to cache the framework libs?
- If no, how can I specify textLayout?
http://repository.sonatype.org/content/groups/flexgroup/com/adobe/flex/framework/has
"text-Layout" and "textLayout". For 4.0.0.14159 there is only
"text-layout" but Adobe has its swz named "textLayout", so the Flash Player
cannot find the swz.
- Is deleteme-1-SNAPSHOT-config-report.xml the final config file? E.g.
target/classes/configs/flex-config.xml are not taken into account, right?

Thanks for any hints,
Marc




<?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.0
http://maven.apache.org/maven-v4_0_0.xsd";>
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.example</groupId>
    <artifactId>deleteme</artifactId>
    <version>1-SNAPSHOT</version>

    <packaging>swf</packaging>

    <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</version>
                <extensions>true</extensions>
                <configuration>
                    <sourceFile>DeleteMe.mxml</sourceFile>

                    <linkReport>true</linkReport>
                    <configurationReport>true</configurationReport>
                    <rslUrls>
                      <url>
http://fpdownload.adobe.com/pub/swz/flex/4.0.0.14159/{artifactId}_{version}.{extension}
</url>
                    </rslUrls>
                    <policyFileUrls>
                        <url>
http://fpdownload.adobe.com/pub/swz/crossdomain.xml</url>
                    </policyFileUrls>
                </configuration>
                <dependencies>
                    <dependency>
                        <groupId>com.adobe.flex</groupId>
                        <artifactId>compiler</artifactId>
                        <version>4.0.0.14159</version>
                        <type>pom</type>
                    </dependency>
                </dependencies>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>com.adobe.flex.framework</groupId>
            <artifactId>flex-framework</artifactId>
            <version>4.0.0.14159</version>
            <type>pom</type>
        </dependency>

        <!-- Caching -->
        <dependency>
            <groupId>com.adobe.flex.framework</groupId>
            <artifactId>framework</artifactId>
            <version>4.0.0.14159</version>
            <type>swc</type>
            <scope>caching</scope>
        </dependency>
        <dependency>
            <groupId>com.adobe.flex.framework</groupId>
            <artifactId>spark</artifactId>
            <version>4.0.0.14159</version>
            <type>swc</type>
            <scope>caching</scope>
        </dependency>
        <dependency>
            <groupId>com.adobe.flex.framework</groupId>
            <artifactId>rpc</artifactId>
            <version>4.0.0.14159</version>
            <type>swc</type>
            <scope>caching</scope>
        </dependency>
        <dependency>
            <groupId>com.adobe.flex.framework</groupId>
            <artifactId>text-layout</artifactId>
            <version>4.0.0.14159</version>
            <type>swc</type>
            <scope>caching</scope>
        </dependency>

        <dependency>
            <groupId>com.adobe.flex.framework</groupId>
            <artifactId>sparkskins</artifactId>
            <version>4.0.0.14159</version>
            <type>swc</type>
            <scope>caching</scope>
        </dependency>
        <dependency>
            <groupId>com.adobe.flex.framework</groupId>
            <artifactId>datavisualization</artifactId>
            <version>4.0.0.14159</version>
            <type>swc</type>
            <scope>caching</scope>
        </dependency>
    </dependencies>

    <repositories>
        <repository>
            <id>flex-mojos-repository</id>
            <url>http://repository.sonatype.org/content/groups/flexgroup/
</url>
            <releases> <enabled>true</enabled> </releases>
            <snapshots> <enabled>false</enabled> </snapshots>
        </repository>
    </repositories>

    <pluginRepositories>
        <pluginRepository>
            <id>flex-mojos-plugin-repository</id>
            <url>http://repository.sonatype.org/content/groups/flexgroup/
</url>
            <releases> <enabled>true</enabled> </releases>
            <snapshots> <enabled>false</enabled> </snapshots>
        </pluginRepository>
    </pluginRepositories>
</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

http://flexmojos.sonatype.org/

To unsubscribe from this group, send email to 
flex-mojos+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to