On Tue, Jan 18, 2011 at 10:54, Roberto Lo Giacco <[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. >> >>> > Ok > What I actually did is transforming the DependencyProcessorMojo into something which simply copy all RSL dependencies SWFs into a directory, useful for testing and execution purposes, stripping out the code which produces SWF files at runtime. This can be part of the lifecycle with no harm. The InstallerMojo now can be used to manually install or deploy a missing RSL by calling the OptimizerMojo, but it should be called on-demand with the following usages: -Dprocess=dependencies will work on all direct dependency of the current pom -Dprocess=transitive-dependencies as above but including transitive dependencies -DartifactId= -DgroupId= -Dversion= -Dclassifier= will perform the goal on a specific artifact By default the plugin is not bound to any phase and artifactId, groupId and version are required parameters with no defaults... this should give us a tool without messing the lifecycle > 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 >> <http://flexmojos.sonatype.org/> >> > > Then I'll do it and it will be on my fork this evening, I still can't push > to github at work. > Done -- 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/
