Ok i have dug around and found this JIRA issue
https://issues.sonatype.org/browse/FLEXMOJOS-331
Tho is not a bug as such it does require you to organise the
dependency somewhat, this is what I done to get RSL working with flex
4 SDK:
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>textLayout</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>swc</type>
<scope>caching</scope>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>spark</artifactId>
<version>${flex.version}</version>
<type>swc</type>
<scope>caching</scope>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>sparkskins</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>swc</type>
<scope>caching</scope>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>datavisualization</artifactId>
<version>${flex.version}</version>
<type>swc</type>
<scope>caching</scope>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>flex-framework</artifactId>
<version>${flex.version}</version>
<type>pom</type>
</dependency>
It needs to be in this order for it to work... otherwise you get a
error like in the jira issue above.
Charlie
On Aug 1, 6:24 pm, charlie <[email protected]> wrote:
> Hi, i have a question about the setting I should use to get RSL config
> working when using the flex 4 sdk. I the example
> here:https://docs.sonatype.org/display/FLEXMOJOS/Runtime+Shared+Libraries
> the packageing of the framework artifact is already swc so is really
> easy to do this. However in the flex 4 SDK dependency the top level is
> a pom:
> <dependency>
> <groupId>com.adobe.flex.framework</groupId>
> <artifactId>flex-framework</artifactId>
> <version>${flex.version}</version>
> <type>pom</type>
> </dependency>
>
> I drill down the pom and under this denpendancy is where the swcs are:
> <dependency>
> <groupId>com.adobe.flex.framework</groupId>
> <artifactId>common-framework</artifactId>
> <version>4.1.0.16248</version>
> <type>pom</type>
> </dependency>
>
> Want to see if I am missing something obvious... I am planning to copy
> all the dependancy listed in common-framework put it in my own pom
> then set the scope to 'caching'?
>
> Thanks in advance for any hints :)
> Charlie
--
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/