I take a project here and set rpc as rsl....

got
        <external-library-path>
            <path-element>C:\Program Files (x86)\Adobe\Flex Builder
3\sdks\3.2.0\frameworks\libs\player\10\playerglobal.swc</path-element>
            <path-element>C:\Program Files (x86)\Adobe\Flex Builder
3\sdks\3.2.0\frameworks\libs\rpc.swc</path-element>
        </external-library-path>
and
    <runtime-shared-libraries>
        <url>rpc.swf</url>
    </runtime-shared-libraries>

<static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries>


On Fri, Apr 23, 2010 at 10:23 AM, Miguel Bautista <[email protected]
> wrote:

> Yes, FlexBuilder plugin for Eclipse.
>
> Miguel
>
> On Apr 23, 9:21 am, Marvin Froeder <[email protected]> wrote:
> > By eclipse you mean flexbuilder or what?
> >
> > VELO
> >
> > On Fri, Apr 23, 2010 at 10:17 AM, Miguel Bautista <
> [email protected]
> >
> >
> >
> >
> >
> > > wrote:
> > > Never mind. The order was messed up because it was coming from another
> > > dependency. I moved the framework and rpc up and its working now.
> > > What about the "staticLinkRuntimeSharedLibraries"? Should this be set
> > > to true? In Eclipse it is, but if I do this, in Flexmojo it set the
> > > "compiler.external-library-path" to contain the rsl. But the build
> > > from Eclipse does not do this.
> >
> > > Miguel
> >
> > > On Apr 23, 9:10 am, Marvin Froeder <[email protected]> wrote:
> > > > Paste the entire dependencies section.
> >
> > > > On Fri, Apr 23, 2010 at 10:08 AM, Miguel Bautista <
> > > [email protected]
> >
> > > > > wrote:
> > > > > 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%[email protected]>
> <flex-mojos%2bunsubscr...@googlegrou ps.com>
> > > <flex-mojos%2bunsubscr...@googlegrou ps.com>
> > > > > <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]<flex-mojos%[email protected]>
> <flex-mojos%2bunsubscr...@googlegrou ps.com>
> > > <flex-mojos%2bunsubscr...@googlegrou ps.com>
> > > > > > 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]<flex-mojos%[email protected]>
> <flex-mojos%2bunsubscr...@googlegrou ps.com>
> > > <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]<flex-mojos%[email protected]>
> <flex-mojos%2bunsubscr...@googlegrou ps.com>
> > > > 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]<flex-mojos%[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]<flex-mojos%[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]<flex-mojos%[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/

Reply via email to