Hi
Could somebody please help me with configuring RSLs? I'm having some
problems trying to compile my application using both signed Framework
RSL's and unsigned custom RSL's
I have defined the scope of my RSL's as 'caching' for framework
libraries and 'rsl' for my custom RSL's
The framework libraries are hosted on a public server so I provided
the signed URL and the unsigned URL as failover. I also need to
provide a URL for my custom RSL's so my POM looks like this:
<rslUrls>
<url>http://www.xx.com/apps/flexframework/{artifactId}
_{version}.swz</url>
<url>http://www.xx.com/apps/flexframework/{artifactId}
_{version}.swf</url>
<url>{artifactId}-{version}.{extension}</url>
</rslUrls>
This gives me the following compilation error for each of my custom
RSL's:
[ERROR] No signed digest found in catalog.xml of the library, .......
\CoreLibrary-2.2.0.swc. Compile the library with -create-digest=true
and try again.
I don't understand why a signed digest is required as the scope of the
RSL is rsl, not caching.
In order to remove the compilation error I replaced the first two
lines with this:
<rslUrls>
<url>http://www.xx.com/apps/flexframework/{artifactId}_{version}.
{extension}</url>
<url>{artifactId}-{version}.{extension}</url>
</rslUrls>
but now I have an incorrect failover URL for the framework libraries.
Furthermore, when I run the application, I get the following error
regarding one of my custom RSL's
Flex Error #1001: Digest mismatch with RSL
http://localhost/apps/CoreLibrary-2.2.0.swf.
Redeploy the matching RSL or relink your application with the matching
library.
I solved this by setting verifyDigests to false.
To summarize
1. Does anybody know why the compiler looks for a signed digest for my
custom RSLs when my first 2 rsl have .swz and .swf extensions i.e.:
<rslUrls>
<url>http://www.xx.com/apps/flexframework/{artifactId}
_{version}.swz</url>
<url>http://www.xx.com/apps/flexframework/{artifactId}
_{version}.swf</url>
<url>{artifactId}-{version}.{extension}</url>
</rslUrls>
2. How can I provide the failover rsl for the framework files ( on
xx.com) without getting the error on my custom RSL's?
<rslUrls>
<url>http://www.xx.com/apps/flexframework/{artifactId}_{version}.
{extension}</url>
<url>{artifactId}-{version}.{extension}</url>
</rslUrls>
I'm new to the company, the project has been compiled in Flash Builder
up to now. They did not have this problem because Flash Builder
allows you to define a separate rsl-url and failover rsl-url for EACH
library in the build path.
thank you
Jenny
--
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/