On Wed, Oct 21, 2009 at 1:16 PM, ruchitel <[email protected]> wrote:
> I run both builds and compared files as outlined in FAQ. While not
> identical (I am not even sure it's possible to make them identical),
> for all practical differences are inconsequiential, see below.

Well, there are differences that are not inconsequential.

> FlexBuilder Dump begin**************************************

>   <runtime-shared-library-path>
>      <path-element>D:\bea\dev\Flex Builder 3 Plug-In\sdks
> \3.4.0\frameworks\libs\framework.swc</path-element>
>      <rsl-url>framework_3.4.0.9271.swz</rsl-url>
>   </runtime-shared-library-path>
>   <runtime-shared-library-path>
>      <path-element>D:\bea\dev\Flex Builder 3 Plug-In\sdks
> \3.4.0\frameworks\libs\rpc.swc</path-element>
>      <rsl-url>rpc_3.4.0.9271.swz</rsl-url>
>   </runtime-shared-library-path>
>   <runtime-shared-library-path>
>      <path-element>D:\bea\dev\Flex Builder 3 Plug-In\sdks
> \3.4.0\frameworks\libs\datavisualization.swc</path-element>
>      <rsl-url>datavisualization_3.4.0.9271.swz</rsl-url>
>   </runtime-shared-library-path>
>   <!-- static-link-runtime-shared-libraries: statically link the
> libraries specified by the -runtime-shared-libraries-path option.-->
>   <static-link-runtime-shared-libraries>true</static-link-runtime-
> shared-libraries>

> FlexBuilder Dump end**************************************

> Maven dump begin***************************************

>        <runtime-shared-library-path>
>                <path-element>D:\data\projects\ciss\R4\code\SU_CISS_Dev_R4\vobs
> \CISS_lib\lib\com\adobe\flex\framework\framework
> \3.4.0.9271\framework-3.4.0.9271.swc</path-element>
>                <rsl-url>framework_3.4.0.9271.swz</rsl-url>
>        </runtime-shared-library-path>
>        <runtime-shared-library-path>
>                <path-element>D:\data\projects\ciss\R4\code\SU_CISS_Dev_R4\vobs
> \CISS_lib\lib\com\adobe\flex\framework\rpc
> \3.4.0.9271\rpc-3.4.0.9271.swc</path-element>
>                <rsl-url>rpc_3.4.0.9271.swz</rsl-url>
>        </runtime-shared-library-path>
>        <runtime-shared-library-path>
>                <path-element>D:\data\projects\ciss\R4\code\SU_CISS_Dev_R4\vobs
> \CISS_lib\lib\com\adobe\flex\framework\datavisualization
> \3.4.0.9271\datavisualization-3.4.0.9271.swc</path-element>
>                <rsl-url>datavisualization_3.4.0.9271.swz</rsl-url>
>        </runtime-shared-library-path>
>        <static-link-runtime-shared-libraries>false</static-link-runtime-
> shared-libraries>

> Maven dump end***************************************

You'll notice that Flex Builder has
<static-link-runtime-shared-libraries> set to true while Maven has it
false.  That means that FB is not actually using your RSLs. You can
confirm this by removing the RSL .swf and .swz files from the FB
bin-debug and noticing the app still runs without RSL errors.

I have my RSLs defined like this in my pom, see if that helps:
          <rslUrls>
            
<rsl>{artifactId}-{version}.{extension},,{artifactId}-{version}.swf</rsl>
          </rslUrls>

Logan

--~--~---------~--~----~------------~-------~--~----~
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?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to