I thought so too, but it doesn't. I switched the order multiple times,
but the runtime paths stayed the same. I also changed the order on the
parent pom file (dep. manager) and that didn't help.

This is how I currently have it setup:
.....
                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>framework</artifactId>
                        <type>swc</type>
                <scope>caching</scope>
                </dependency>
        <dependency>
                      <groupId>com.adobe.flex.framework</groupId>
                      <artifactId>framework</artifactId>
                      <type>rb.swc</type>
                      <classifier></classifier>
        </dependency>
        <dependency>
            <groupId>com.adobe.flex.framework</groupId>
            <artifactId>playerglobal</artifactId>
            <type>swc</type>
            <classifier>10</classifier>
               <scope>external</scope>
        </dependency>
                <dependency>
            <groupId>com.adobe.flex.framework</groupId>
            <artifactId>rpc</artifactId>
            <type>swc</type>
                <scope>caching</scope>
        </dependency>
        <dependency>
                      <groupId>com.adobe.flex.framework</groupId>
                      <artifactId>rpc</artifactId>
                      <type>rb.swc</type>
                      <classifier></classifier>
        </dependency>
......

Miguel

On Apr 23, 8:59 am, Marvin Froeder <[email protected]> wrote:
> Flexmojos should be using the same order as you put the dependencies on your
> pom.... so put they on the right order and you should be fine.
>
> VELO
>
> On Fri, Apr 23, 2010 at 9:34 AM, Miguel Bautista
> <[email protected]>wrote:
>
>
>
>
>
> > We are using flexmojo 3.6.1 and experiencing issues when trying to use
> > rsl. The flex application works fine when building from Eclipse but
> > not from flexmojo. I've been at this a couple days now and tried every
> > option I could think of with no luck, any help will be greatly
> > appreciated.
>
> > I did a config dump between Eclipse and flexmojo and here is the
> > difference I found.
>
> > 1. Flexmojo adds the rsls in external-library-path.
> > Flexmojo:
> >                <external-library-path>
> >                        <path-element><PATH>/playerglobal.swc</path-element>
>
> >  <path-element><PATH>/com/adobe/flex/framework/rpc/3.4.0.9271/
> > rpc-3.4.0.9271.swc</path-element>
>
> >  <path-element><PATH>/com/adobe/flex/framework/framework/3.4.0.9271/
> > framework-3.4.0.9271.swc</path-element>
> >                </external-library-path>
> > Eclipse:
> >      <external-library-path>
> >         <path-element><PATH>/playerglobal.swc</path-element>
> >      </external-library-path>
>
> > 2. The runtime-shared-library-path order is incorrect in Flexmojo. I
> > read that the order the rsls are defined is important when loading.
> > Flexmojo:
> >  <runtime-shared-library-path>
>
> >  <path-element><PATH>/com/adobe/flex/framework/rpc/3.4.0.9271/
> > rpc-3.4.0.9271.swc</path-element>
> >                <rsl-url>rsls/rpc_3.4.0.9271.swz</rsl-url>
> >                <policy-file-url />
> >                <rsl-url>rsls/rpc_3.4.0.9271.swf</rsl-url>
> >        </runtime-shared-library-path>
> >        <runtime-shared-library-path>
>
> >  <path-element><PATH>/com/adobe/flex/framework/framework/3.4.0.9271/
> > framework-3.4.0.9271.swc</path-element>
> >                <rsl-url>rsls/framework_3.4.0.9271.swz</rsl-url>
> >                <policy-file-url />
> >                <rsl-url>rsls/framework_3.4.0.9271.swf</rsl-url>
> >        </runtime-shared-library-path>
> > Eclipse:
> >   <runtime-shared-library-path>
> >      <path-element><PATH>/flex/sdk/3.4.0.9271/frameworks/libs/
> > framework.swc</path-element>
> >      <rsl-url>rsls/framework_3.4.0.9271.swz</rsl-url>
> >      <policy-file-url></policy-file-url>
> >      <rsl-url>rsls/framework_3.4.0.9271.swf</rsl-url>
> >   </runtime-shared-library-path>
> >   <runtime-shared-library-path>
> >      <path-element><PATH>/flex/sdk/3.4.0.9271/frameworks/libs/
> > rpc.swc</path-element>
> >      <rsl-url>rsls/rpc_3.4.0.9271.swz</rsl-url>
> >      <policy-file-url></policy-file-url>
> >      <rsl-url>rsls/rpc_3.4.0.9271.swf</rsl-url>
> >   </runtime-shared-library-path>
>
> > What can we do to fix this? If I changed the "static-link-runtime-
> > shared-libraries" to false I get "VerifyError: Error #1014: Class
> > IMXMLObject could not be found." error. I read in a post that this is
> > caused by the rsl being out of order.
>
> > Thanks
> > Miguel
>
> > NOTE:
> > I replaced some paths with <PATH> to make it more readable.
>
> > --
> > 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]<flex-mojos%2bunsubscr...@googlegrou 
> > ps.com>
> > 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 athttp://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/

Reply via email to