I have to correct my previous answer : your local rsl url must be the
last one, not the first one. Sorry for the inconvenience.

On 27 mar, 11:21, "[email protected]"
<[email protected]> wrote:
>  Ofcourse it was something simple..
> Many thanks..
>
> this works perfectly now...
>
>  <copyRSL>false</copyRSL>
>
> <plugin>
>                 <groupId>org.sonatype.flexmojos</groupId>
>                 <artifactId>flexmojos-maven-plugin</artifactId>
>                 <version>4.1-beta</version>
>                 <executions>
>                     <execution>
>                         <phase>
>                             package
>                         </phase>
>                         <goals>
>                             <goal>copy-flex-resources</goal>
>                         </goals>
>                         <configuration>
>                             <copyRSL>false</copyRSL>
>                             <webappDirectory>$
> {project.build.directory}/${project.build.finalName}
>                             </webappDirectory>
>                         </configuration>
>                     </execution>
>                 </executions>
>
> On Mar 26, 8:29 pm, "[email protected]"
>
>
>
>
>
>
>
> <[email protected]> wrote:
> > ...That and the scope changed to caching.
> > Previously these were marked as external and worked well with 3.8..
> > The libraries were then compiled into the root application.
>
> > Since it makes sense to use common rsl's to reduce the load overhead,
> > I decided to go down this path.
>
> > Much appreciation for any suggestions.
>
> > I am tending towards copying the module swfs back out of the m2 repo.
> > As opposed to using the copy-flex-resources goal. But this does not
> > seem to be the intended implantation.
>
> > Many thanks
>
> > Brndn
>
> > On Mar 26, 7:30 pm, "[email protected]"
>
> > <[email protected]> wrote:
> > > Hi Marvin
> > > Thanks for the quick response.
> > > Yes the mojo version was the only thing I changed.
> > > The packager worked fine when all modules + webapp pom used 3.8.
>
> > > On Mar 26, 6:45 pm, Marvin Froeder <[email protected]> wrote:
>
> > > > And the only think that changed was flexmojos version?
>
> > > > On Mon, Mar 26, 2012 at 2:32 PM, [email protected] <
>
> > > > [email protected]> wrote:
> > > > > Hi there.
> > > > > I have recently moved to the 4.1-beta for FlexMojos, as I was unable
> > > > > to run a compiled application against the 3.8 version.
>
> > > > > I thought this was strange or maybe me, but exhausted it on 3
> > > > > machines.
>
> > > > > so I updated to the 4.1-beta. Worked a treat. all modules run
> > > > > fantastically.
>
> > > > > looking good so far.
>
> > > > > But wow. when I come to package the module.. It fails, complaining
> > > > > about the swz files not found in my local m2 repo...  But the scope is
> > > > > <scope>caching</scope>
>
> > > > > the build task is like so. nothing complex.
>
> > > > >    <build>
> > > > >        <plugins>
> > > > >            <plugin>
> > > > >                <groupId>org.sonatype.flexmojos</groupId>
> > > > >                <artifactId>flexmojos-maven-plugin</artifactId>
> > > > >                <version>4.1-beta</version>
> > > > >                <executions>
> > > > >                    <execution>
> > > > >                        <phase>
> > > > >                            package
> > > > >                        </phase>
> > > > >                        <goals>
> > > > >                            <goal>copy-flex-resources</goal>
> > > > >                        </goals>
> > > > >                        <configuration>
> > > > >                            <webappDirectory>$
> > > > > {project.build.directory}/${project.build.finalName}
> > > > >                            </webappDirectory>
> > > > >                        </configuration>
> > > > >                    </execution>
> > > > >                </executions>
> > > > >            </plugin>
>
> > > > > and the dependencies are referenced like so.
>
> > > > >  <dependency>
> > > > >            <groupId>com.apclient.modules</groupId>
> > > > >            <artifactId>transactions</artifactId>
> > > > >            <type>swf</type>
> > > > >            <version>1.0-SNAPSHOT</version>
> > > > >        </dependency>
>
> > > > > and just so I dont waist time, here is the parent pom for module.....
>
> > > > > <?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";>
>
> > > > >    <properties>
> > > > >        <flexmojo.version>4.1-beta</flexmojo.version>
> > > > >        <flex.sdk.textLayout.version>2.0.0.232</
> > > > > flex.sdk.textLayout.version>
> > > > >        <flex.sdk.version>4.5.1.21328</flex.sdk.version>
> > > > >        <maven.build.timestamp.format>dd-MM-yyyy HH:mm</
> > > > > maven.build.timestamp.format>
> > > > >    </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>${flexmojo.version}</version>
> > > > >                <extensions>true</extensions>
> > > > >                <configuration>
> > > > >                    <staticLinkRuntimeSharedLibraries>false</
> > > > > staticLinkRuntimeSharedLibraries>
> > > > >                    <policyFileUrls>
> > > > >                        <url>http://fpdownload.adobe.com/pub/swz/
> > > > > crossdomain.xml</url>
> > > > >                        <url>http://fpdownload.adobe.com/pub/swz/
> > > > > crossdomain.xml</url>
> > > > >                    </policyFileUrls>
> > > > >                    <accessible>true</accessible>
> > > > >                    <configurationReport>true</configurationReport>
> > > > >                    <rslUrls>
> > > > >                        <url>
>
> > > > >http://fpdownload.adobe.com/pub/{extension}/flex/{version}/{artifactId}_{version}.{extension}
> > > > >                        </url>
> > > > >                        <url>
>
> > > > >http://fpdownload.adobe.com/pub/{extension}/tlf/{version}/{artifactId}_{version}.{extension}
> > > > >                        </url>
> > > > >                    </rslUrls>
> > > > >                    <storepass></storepass>
> > > > >                    <debug>false</debug>
> > > > >                    <verboseStacktraces>false</verboseStacktraces>
> > > > >                    <accessible>true</accessible>
> > > > >                    <targetPlayer>10.2</targetPlayer>
> > > > >                    <sourcePaths>
> > > > >                        <path>${basedir}/src/main/flex</path>
> > > > >                        <path>${basedir}/src/main/resources</path>
> > > > >                    </sourcePaths>
> > > > >                    <locales>
> > > > >                        <locale>en_US</locale>
> > > > >                    </locales>
> > > > >                    <headlessServer>true</headlessServer>
> > > > >                    <fonts>
> > > > >                        <advancedAntiAliasing>true</
> > > > > advancedAntiAliasing>
> > > > >                        <maxCachedFonts>20</maxCachedFonts>
> > > > >                        <maxGlyphsPerFace>1000</maxGlyphsPerFace>
> > > > >                        <managers>
> > > > >                            <!-- Here we enforce using the Adobe Font
> > > > > Manager -->
> > > > >                            <manager>flash.fonts.AFEFontManager</
> > > > > manager>
> > > > >                        </managers>
> > > > >                    </fonts>
> > > > >                    <warnings>
> > > > >                        <noConstructor>false</noConstructor>
> > > > >                    </warnings>
> > > > >                </configuration>
> > > > >                <dependencies>
> > > > >                    <dependency>
> > > > >                        <groupId>com.adobe.flex</groupId>
> > > > >                        <artifactId>compiler</artifactId>
> > > > >                        <version>${flex.sdk.version}</version>
> > > > >                        <type>pom</type>
> > > > >                    </dependency>
> > > > >                </dependencies>
> > > > >            </plugin>
> > > > >        </plugins>
> > > > >    </build>
>
> > > > >    <dependencies>
> > > > >        <dependency>
> > > > >            <groupId>com.adobe.flex.framework</groupId>
> > > > >            <artifactId>framework</artifactId>
> > > > >            <version>${flex.sdk.version}</version>
> > > > >            <type>swc</type>
> > > > >            <scope>caching</scope>
> > > > >            <exclusions>
> > > > >                <exclusion>
> > > > >                    <groupId>com.adobe.flex.framework</groupId>
> > > > >                    <artifactId>osmf</artifactId>
> > > > >                </exclusion>
> > > > >            </exclusions>
> > > > >        </dependency>
> > > > >        <dependency>
> > > > >            <groupId>com.adobe.flex.framework</groupId>
> > > > >
>
> ...
>
> plus de détails »

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