Hey Chris.

Thanks for the insight.  I didn't edit the wiki, but wanted to share at
least what I had found in case it was helpful as a starting point for you
writing the wiki or anyone else upgrading.

The reason I have to depend on the swf files explicitly is because of my
project structure.  I have 2 projects, one is a war project and the other is
the flex project.  When I build my flex project, and it outputs to the
target directory, and without the dependency on the RSL swfs no rsl
directory or files are created.  I need them there for testing locally while
not inside of a war.  The war project does not depend on the swfs explicitly
and it does correctly install the RSLs inside of the war.

I noticed a couple things also that I thought I'd share in case others run
into the same issues.  Using the dependency like this:

<dependency>
        <groupId>org.apache.flex.framework</groupId>
        <artifactId>framework</artifactId>
        <version>${flex.sdk.version}</version>
        <classifier>${language}</classifier>
        <type>rb.swc</type>
        <scope>rsl</scope>
</dependency>

Resulted in a "Flex Error #1001: Digest mismatch with RSL" error.  After
reading your email I removed the classifier and changed it to:

<dependency>
        <groupId>org.apache.flex.framework</groupId>
        <artifactId>framework</artifactId>
        <version>${flex.sdk.version}</version>
        <type>rb.swc</type>
        <scope>rsl</scope>
</dependency>

And then I got this error "Error: unable to load SWC
framework-4.14.1.rb.swc: could not find catalog.xml within the SWC."

So then I changed it (removed scope) to:

<dependency>
        <groupId>org.apache.flex.framework</groupId>
        <artifactId>framework</artifactId>
        <version>${flex.sdk.version}</version>
        <type>rb.swc</type>
</dependency>

And it all seems to work.

Thanks again Chris for all the work you put into this and answering emails!



--
View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/FlexMojos-with-RSLs-tp48944p48956.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to