Hi all,

I have a project that is built with Flex SDK 4.1.0 and that uses some
libraries that have been compiled with Flex SDK 3.5.0. The problem I
have is that the dependencies of the flex framework pom seem to
include references to the 3.5.0 SDK while I would expect it to include
only references to the 4.1.0 libraries. I see that one of the
libraries seems to include a reference to a 3.5.0 dependency and I
managed to compile my app when I add exclusions for some of the Flex
SDK libraries. This seems a bit of a pain as I'm sure other people
will run into this problem as well.

Is this an issue with the pom of the as3commons libraries where it
compiles SDK libraries into the swc? If so, what is the correct way to
exclude libraries when compiling swc's? We currently have the scope
set to "external", but not for the zips:config dependency (see below).
Could this be bringing in the 3.5.0 dependencies? How about the
runtime reference to playerglobal.swc?

Here is a dependency:tree log:

[INFO] com.labtracker:client:swf:1.0-SNAPSHOT
[INFO] +- com.adobe.flex.framework:flex-framework:pom:
4.1.0.16076:compile
[INFO] |  +- com.adobe.flex.framework:common-framework:pom:
4.1.0.16076:compile
[INFO] |  |  +- com.adobe.flex.framework:flash-integration:swc:
4.1.0.16076:compile
[INFO] |  |  +- com.adobe.flex.framework:flex:swc:3.5.0.12683:compile
[INFO] |  |  +- com.adobe.flex.framework:framework:swc:
3.5.0.12683:compile
[INFO] |  |  +- com.adobe.flex.framework:osmf:swc:4.1.0.16076:compile
[INFO] |  |  +- com.adobe.flex.framework:rpc:swc:3.5.0.12683:compile
[INFO] |  |  +- com.adobe.flex.framework:textLayout:swc:
4.1.0.16076:compile
[INFO] |  |  +- com.adobe.flex.framework:utilities:swc:
3.5.0.12683:compile
[INFO] |  |  +- com.adobe.flex.framework:datavisualization:rb.swc:
4.1.0.16076:compile
[INFO] |  |  +- com.adobe.flex.framework:framework:rb.swc:
3.5.0.12683:compile
[INFO] |  |  +- com.adobe.flex.framework:osmf:rb.swc:
4.1.0.16076:compile
[INFO] |  |  +- com.adobe.flex.framework:rpc:rb.swc:
3.5.0.12683:compile
[INFO] |  |  +- com.adobe.flex.framework:spark:rb.swc:
4.1.0.16076:compile
[INFO] |  |  +- com.adobe.flex.framework:textLayout:rb.swc:
4.1.0.16076:compile
[INFO] |  |  \- com.adobe.flex.framework:flash-integration:rb.swc:
4.1.0.16076:compile
[INFO] |  +- com.adobe.flex.framework:playerglobal:swc:
10.0:4.1.0.16076:compile
[INFO] |  \- com.adobe.flex.framework:playerglobal:rb.swc:
4.1.0.16076:compile
[INFO] +- com.adobe.flex.framework:spark:swc:4.1.0.16076:theme (scope
not updated to compile)
[INFO] +- com.adobe.flex.framework:sparkskins:swc:4.1.0.16076:compile
[INFO] +- com.adobe.lcds:fds:swc:4.0.1.277662:compile
[INFO] +- com.adobe.lcds:fds:rb.swc:en_US:4.0.1.277662:compile
[INFO] +- com.adobe.lcds:fiber:swc:4.0.1.277662:compile
[INFO] +- com.adobe.lcds:fiber:rb.swc:en_US:4.0.1.277662:compile
[INFO] +- com.adobe.lcds:playerfds:swc:4.0.1.277662:compile
[INFO] +- com.adobe.lcds:serializers:swc:4.0.1.277662:compile
[INFO] +- org.as3commons:as3commons-lang:swc:0.3:compile
[INFO] |  +- com.adobe.flex.framework:framework:zip:configs:
3.5.0.12683:compile
[INFO] |  \- com.adobe.flex.framework:playerglobal:swc:
10:3.5.0.12683:runtime
[INFO] +- org.as3commons:as3commons-logging:swc:1.1.1:compile
[INFO] +- org.as3commons:as3commons-reflect:swc:1.3.1:compile
[INFO] +- com.adobe.flex.framework:datavisualization:swc:
4.1.0.16076:compile
[INFO] +- com.adobe.flex.framework:datavisualization:rb.swc:en_US:
4.1.0.16076:compile
[INFO] +- com.google.code.flex-iframe:flex-iframe:swc:1.4.6:compile
[INFO] +- com.googlecode.flexlib:flexlib:swc:2.5:compile
[INFO] \- com.adobe.flexunit:flexunit:swc:0.85:test

In case anyone is interested, all sources can be found here:
http://code.google.com/p/as3-commons/source/browse/#svn/trunk

Many thanks,
Christophe

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