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]
For more options, visit this group at
http://groups.google.com/group/flex-mojos
http://flexmojos.sonatype.org/