On Tue, Jan 18, 2011 at 8:34 AM, Roberto Lo Giacco <[email protected]>wrote:

>
>
> On Tue, Jan 18, 2011 at 10:19, Marvin Froeder <[email protected]> wrote:
>
>>
>>>
>>>> Why? Well, the library.SWF (from the 3rd party SWC) has a given
>>>> checksum.  Then you optimize that SWF, which will have a new checksum.  In
>>>> order to get this RSL usable, you need to update this checksum inside the
>>>> original SWC, that will break maven md5, sha1 and signatures.  This is
>>>> really really bad.
>>>>
>>>
>>> Agreed, but for what I've seen until now most flex libraries doesn't
>>> publish their RSL equivalent...
>>>
>>
>> "Two wrongs don't make a right"
>>
>
> :) You are right, but still I've a problem to solve. Hope you can see my
> point...
>

Yes, I do, some third party SWC producer is dropping the ball. Which is bad,
but fixing that on flexmojos makes it is bad as well.

>
>
>>
>>
>>>
>>>
>>>>
>>>> About the InstallerMojo, what is the value it brings over OtimizerMojo
>>>> with optimizeRsls set to false? Am I missing something?
>>>>
>>>
>>> Humm... in flexmojos-3 there's not an optimizeRsls configuration
>>> parameter and I didn't want to break too much. Anyway, the reason I started
>>> that mojo is the optimization process fails, or, better, it ignores my
>>> keepAs3Metadatas directive which is the main reason I started to contribute
>>> on this project.
>>>
>>
>>
>> http://repository.sonatype.org/content/sites/flexmojos-site/3.7.1/optimize-mojo.html#optimizeRsls
>>
>> https://github.com/Flexmojos/flexmojos/blob/flexmojos-3.x/flexmojos-maven-plugin/src/main/java/org/sonatype/flexmojos/optimizer/OptimizerMojo.java#L92
>>
>> Am I missing something?
>>
>>
>
> No, I was missing it... :) Anyway I think we should avoid re-building and
> updating the digest in case optimization is disabled, don't you agree? I
> think we can just include the digest block inside the optimizeRSL block...
>

Ok

-- 
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