Just to recap and be sure I understood you, the following is the correct way
to describe flex 3.5 framework RSL in a SWF project
<!-- flex framework rsls -->
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>framework</artifactId>
<version>${flex.sdk.version}</version>
<type>swc</type>
<scope>caching</scope>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>rpc</artifactId>
<version>${flex.sdk.version}</version>
<type>swc</type>
<scope>caching</scope>
</dependency>
<!-- flex framework -->
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>flex-framework</artifactId>
<version>${flex.sdk.version}</version>
<type>pom</type>
</dependency>
While for SWC projects only the last dependency is needed.
Have I understood you?
On Sun, Feb 13, 2011 at 22:50, Maxime Lem <[email protected]> wrote:
> I managed to make RSL for flex framework work.
> You have to add scope caching for these dependencies :
>
> <dependency>
> <groupId>com.adobe.flex.framework</groupId>
> <artifactId>framework</artifactId>
> <version>${flex.compiler.version}</version>
> <type>swc</type>
> <scope>caching</scope>
> </dependency>
> <dependency>
> <groupId>com.adobe.flex.framework</groupId>
> <artifactId>rpc</artifactId>
> <version>${flex.compiler.version}</version>
> <type>swc</type>
> <scope>caching</scope>
> </dependency>
>
> The mistake I made previously that prevented framework rsl from
> working was to add scope caching to the dependency
> com.adobe.flex.framework:flex-framework::pom.
> Either you declare this dependency and override scope for the 2 upper
> dependencies, or you copy the content of this pom in yours, and add
> scope caching to framework and rpc.
> This works only for swf packaging projects (don't use it on your
> common lib.swc)
>
> --
> 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/
>
--
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/