I tried to use 3.7-SNAPSHOT, but it errors out b/c the FP10
playerglobal is not being included. This works w/ 3.5.0. I still
reference 10 in the old way of <version>10-${flex.version}</version>.
If I change it to the newer <classifier> method, then it bombs w/ an
error saying the targetPlayer is 10 but playerglobal is 9.
thanks for the suggestion.
-al
On Apr 27, 2:48 pm, Marvin Froeder <[email protected]> wrote:
> Give a try to latest flexmojos 3.7-SNAPSHOT
>
> Set autoSortRsls to false and lemme know if the results changes somehow, it
> shouldn't, but let's see.
>
> VELO
>
> On Tue, Apr 27, 2010 at 6:12 PM, Marvin Froeder <[email protected]> wrote:
> > RSLs order:
>
> > pl-console-flex-shell-core-interfaces
> > framework
> > rpc
> > datavisualization
>
> > pl-console-flex-shell-core-api
>
> > Dependencies order:
>
> > [INFO] +-
> > com.thep.console:pl-console-flex-shell-core-interfaces:swc:1.1.2-SNAPSHOT:rsl
> > (scope not updated to compile)
> > [INFO] +- com.adobe.flex.framework:framework:swc:3.5.0.12683:caching(scope
> > not updated to compile)
> > [INFO] +- com.adobe.flex.framework:rpc:swc:3.5.0.12683:caching (scopenot
> > updated to compile)
>
> > [INFO] +- com.adobe.flex.sdk:datavisualization:swc:3.5.0.12683:caching
> > [INFO] +-
> > com.thep.console:pl-console-flex-shell-core-api:swc:1.1.2-SNAPSHOT:rsl
> > (scope not updated to compile)
>
> > They match, so flexmojos did what is is supposed to do.
>
> > I insists that you have a parent pom, dependency management or something
> > else that enforces
>
> > VELO
>
> > On Tue, Apr 27, 2010 at 5:43 PM, alpduhuez <[email protected]> wrote:
>
> >> Here you go, mvn dependency:tree output. I have trimmed some stuff
> >> from the bottom, but if I remove those dependencies our root swc
> >> project still comes out on top:
>
> >> [INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ pl-console-
> >> flex-ui ---
> >> [INFO] com.thep.console:pl-console-flex-ui:swf:1.1.2-SNAPSHOT
> >> [INFO] +- com.thep.console:pl-console-flex-shell-core-interfaces:swc:
> >> 1.1.2-SNAPSHOT:rsl (scope not updated to compile)
> >> [INFO] +- com.thep.flex:pl-flex-logger:swc:2.1.0:compile
> >> [INFO] | +- net.thep.logging:logbook:swc:1.4.01:compile
> >> [INFO] | \- thep.logging:localconnection-target:swc:1.4.01:compile
> >> [INFO] +- com.adobe.flex.framework:framework:swc:3.5.0.12683:caching
> >> (scope not updated to compile)
> >> [INFO] +- com.adobe.flex.framework:framework:rb.swc:en_US:
> >> 3.5.0.12683:compile
> >> [INFO] +- com.adobe.flex.framework:rpc:swc:3.5.0.12683:caching (scope
> >> not updated to compile)
> >> [INFO] +- com.adobe.flex.framework:rpc:rb.swc:en_US:
> >> 3.5.0.12683:compile
> >> [INFO] +- com.adobe.flex.framework:flex-framework:pom:
> >> 3.5.0.12683:compile
> >> [INFO] | +- com.adobe.flex.framework:framework:zip:configs:
> >> 3.5.0.12683:compile
> >> [INFO] | +- com.adobe.flex.framework:playerglobal:swc:
> >> 9:3.5.0.12683:compile
> >> [INFO] | +- com.adobe.flex.framework:framework:rb.swc:
> >> 3.5.0.12683:compile
> >> [INFO] | \- com.adobe.flex.framework:rpc:rb.swc:3.5.0.12683:compile
> >> [INFO] +- com.adobe.flex.framework:flex:swc:3.5.0.12683:compile
> >> [INFO] +- com.adobe.flex.framework:utilities:swc:3.5.0.12683:compile
> >> [INFO] +- com.adobe.flex.sdk:datavisualization:swc:3.5.0.12683:caching
> >> [INFO] +- com.adobe.flex.sdk:datavisualization:rb.swc:en_US:
> >> 3.5.0.12683:compile
> >> [INFO] +- com.thep.flex:pl-flex-common:swc:2.2.0-SNAPSHOT:compile
> >> [INFO] +- com.adobe.flex.framework:playerglobal:swc:
> >> 10:3.5.0.12683:external
> >> [INFO] +- com.thep.console:pl-console-flex-shell-core-api:swc:1.1.2-
> >> SNAPSHOT:rsl (scope not updated to compile)
> >> [INFO] +- com.thep.console:pl-console-flex-shell-core:swc:1.1.2-
> >> SNAPSHOT:compile
> >> [INFO] | \- com.adobe.flex.framework:framework_textLayout:swc:
> >> 4.0.0.10485:runtime
> >> [INFO] +- com.thep.console:pl-console-flex-components:swc:1.1.2-
> >> SNAPSHOT:compile
> >> [INFO] | \- com.arc90.flexlib:collapsible-panel:swc:1.0:compile
> >> [INFO] +- com.thep.console:pl-console-flex-module-shell-frame-ui:swc:
> >> 1.1.2-SNAPSHOT:compile
> >> [INFO] | \- com.thep.console:pl-console-flex-module-frame-data:swc:
> >> 1.1.2-SNAPSHOT:compile
> >> [INFO] +- com.thep.flex:pl-flex-test:swc:2.1.0:test
> >> [INFO] \- com.adobe.flexunit:flexunit:swc:0.90:test
> >> [INFO]
> >> ------------------------------------------------------------------------
>
> >> On Apr 27, 11:52 am, Marvin Froeder <[email protected]> wrote:
> >> > Please send me mvn dependency:tree
>
> >> > VELO
>
> >> > On Tue, Apr 27, 2010 at 3:03 PM, alpduhuez <[email protected]> wrote:
> >> > > I am unfortunately running into this same issue as well. One of my
> >> > > swcs it being placed 1st in the RSL list before the flex framework
> >> > > swcs & thusly blows up. I've put a log statement inside
> >> > > AbstractMavenFlexCompilerConfiguration.getDependencies() to see the
> >> > > order of artifacts, and my swc is 1st in the list @ that point before
> >> > > any filtering.
>
> >> > > I've double checked the order of my dependencies from the parent pom
> >> > > and the project pom, but the swc in question is after all the
> >> > > frameworks. The artifact in question is:
>
> >> > > <dependency>
> >> > > <groupId>com.thep.console</groupId>
>
> >> > > <artifactId>pl-console-flex-shell-core-interfaces</artifactId>
> >> > > <version>${console.app.version}</version>
> >> > > <type>swc</type>
> >> > > <scope>rsl</scope>
> >> > > </dependency>
>
> >> > > !!! actual build output !!!
> >> > > -runtime-shared-library-path=/Users/brandon.lonac/.m2/repository/com/
> >> > > theplatform/console/pl-console-flex-shell-core-interfaces/1.1.2-
>
> >> SNAPSHOT/pl-console-flex-shell-core-interfaces-1.1.2-SNAPSHOT.swc,flex/
> >> > > pl-console-flex-shell-core-interfaces_1.1.2-SNAPSHOT.swf,,flex/pl-
> >> > > console-flex-shell-core-interfaces_1.1.2-SNAPSHOT.swf
> >> > > -runtime-shared-library-path=/Users/brandon.lonac/.m2/repository/com/
> >> > > adobe/flex/framework/framework/3.5.0.12683/
> >> > > framework-3.5.0.12683.swc,flex/framework_3.5.0.12683.swz,,flex/
> >> > > framework_3.5.0.12683.swf
> >> > > -runtime-shared-library-path=/Users/brandon.lonac/.m2/repository/com/
> >> > > adobe/flex/framework/rpc/3.5.0.12683/rpc-3.5.0.12683.swc,flex/
> >> > > rpc_3.5.0.12683.swz,,flex/rpc_3.5.0.12683.swf
> >> > > -runtime-shared-library-path=/Users/brandon.lonac/.m2/repository/com/
> >> > > adobe/flex/sdk/datavisualization/3.5.0.12683/
> >> > > datavisualization-3.5.0.12683.swc,flex/
> >> > > datavisualization_3.5.0.12683.swz,,flex/
> >> > > datavisualization_3.5.0.12683.swf
> >> > > -runtime-shared-library-path=/Users/brandon.lonac/.m2/repository/com/
> >> > > theplatform/console/pl-console-flex-shell-core-api/1.1.2-SNAPSHOT/pl-
> >> > > console-flex-shell-core-api-1.1.2-SNAPSHOT.swc,flex/pl-console-flex-
> >> > > shell-core-api_1.1.2-SNAPSHOT.swf,,flex/pl-console-flex-shell-core-
> >> > > api_1.1.2-SNAPSHOT.swf
>
> >> > > Here is the order of my dependencies:
>
> >> > > --= root pom w/ plugin dependencies =--
> >> > > <plugin>
> >> > > <groupId>org.sonatype.flexmojos</groupId>
> >> > > <artifactId>flexmojos-maven-plugin</artifactId>
> >> > > <version>${flex.mojos.version}</version>
> >> > > <extensions>true</extensions>
> >> > > <dependencies>
> >> > > <dependency>
> >> > > <groupId>com.adobe.flex</groupId>
> >> > > <artifactId>compiler</artifactId>
> >> > > <version>${flex.version}</version>
> >> > > <type>pom</type>
> >> > > </dependency>
> >> > > <dependency>
> >> > > <groupId>com.adobe.flex</groupId>
> >> > > <artifactId>license</artifactId>
> >> > > <version>${flex.version}</version>
> >> > > </dependency>
> >> > > <dependency>
> >> > > <groupId>org.sonatype.flexmojos</groupId>
>
> >> > > <artifactId>flexmojos-flex3-compatibility-layer</artifactId>
> >> > > <version>${flex.mojos.version}</version>
> >> > > </dependency>
> >> > > </dependencies>
> >> > > </plugin>
>
> >> > > --= flex sdk dependencies = --
> >> > > <dependencies>
> >> > > <!-- Flex SDK dependencies -->
> >> > > <dependency>
> >> > > <groupId>com.adobe.flex.framework</groupId>
> >> > > <artifactId>playerglobal</artifactId>
> >> > > <version>${flex.version}</version>
> >> > > <type>swc</type>
> >> > > <scope>external</scope>
> >> > > <classifier>10</classifier>
> >> > > </dependency>
> >> > > <dependency>
> >> > > <groupId>com.adobe.flex.framework</groupId>
> >> > > <artifactId>framework</artifactId>
> >> > > <version>${flex.version}</version>
> >> > > <type>swc</type>
> >> > > <scope>caching</scope>
> >> > > </dependency>
> >> > > <dependency>
> >> > > <groupId>com.adobe.flex.framework</groupId>
> >> > > <artifactId>framework</artifactId>
> >> > > <version>${flex.version}</version>
> >> > > <type>rb.swc</type>
> >> > > <classifier>en_US</classifier>
> >> > > <!--<scope>rsl</scope>-->
> >> > > </dependency>
> >> > > <dependency>
> >> > > <groupId>com.adobe.flex.framework</groupId>
> >> > > <artifactId>rpc</artifactId>
> >> > > <version>${flex.version}</version>
> >> > > <type>swc</type>
> >> > > <scope>caching</scope>
> >> > > </dependency>
> >> > > <dependency>
> >> > > <groupId>com.adobe.flex.framework</groupId>
> >> > > <artifactId>rpc</artifactId>
> >> > > <version>${flex.version}</version>
> >> > > <type>rb.swc</type>
> >> > > <classifier>en_US</classifier>
> >> > > <!--<scope>rsl</scope>-->
> >> > > </dependency>
> >> > > <dependency>
> >> > > <groupId>com.adobe.flex.framework</groupId>
> >> > > <artifactId>flex-framework</artifactId>
>
> ...
>
> read more »
--
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/