Yea, I looked @ that.  The option looks awesome, we are using
FlexMojos 3.5 & FlexSDK 3.5 now though.  We can't upgrade to 4 for
awhile.

I don't see the keepAs3 though, the sample app link points into svn &
is prompting for credentials.  Based on that though it is not using
Flex2.tools.API.optimize anymore though right?

Either way, we need to get our custom As3 tags in w/ the current 3.x
version as we need to ship the feature.  I will see about adding the
as3 tag.  The docs on the flex compiler api seem scarce, please
forgive a simple question.  I can just create a new configuration from
a Library w/o setting a bunch of properties.  I see that is done in
the Library & Application Mojos.

thanks.
-al



On Mar 26, 1:23 pm, Marvin Froeder <[email protected]> wrote:
> For sure is much better just adding the as3 tag.... optimizer doesn't need
> anything from compiler to justify extending it...
>
> But, I would look at this before doing any 
> work...https://docs.sonatype.org/display/FLEXMOJOS/Extreme+Optimization
>
> It already has the keepAs3
>
> VELO
>
> On Fri, Mar 26, 2010 at 5:10 PM, alpduhuez <[email protected]> wrote:
> > Hello...
> > We ran into a case where we added metadata tags to classes that are in
> > a .swc that is optimzed using the flexmojos:optimize goal.  As per
> > Adobe docs all the debug & meta data is removed, including the built
> > in metadata tags.  You need to specify the metadata tags to keep when
> > you optimize.
>
> >http://livedocs.adobe.com/flex/3/html/help.html?content=rsl_07.html
>
> > I synced up to the trunk flexmojos and see that the OptimizeMojo now
> > just uses the optimize() method that takes an input & output streams.
> > I was looking and the flex2.tools.API class and there is an overload
> > that takes an Configuration object.  I was thinking of adding the
> > Configuration to the OptimizeMojo.  I will do it and provide a patch.
>
> > So then a quick question on how to:  Looking through the code, would
> > it be easier to make OptimizeMojo extend AbstractFlexCompilerMojo to
> > setup the Configuration to pass or better to just add a property for
> > the as3 tags to keep and build the Configuration manually in
> > OptimizeMojo?
>
> > Thanks.
> > -al
>
> > --
> > 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]<flex-mojos%[email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/flex-mojos
>
> >http://flexmojos.sonatype.org/
>
> > To unsubscribe from this group, send email to flex-mojos+
> > unsubscribegooglegroups.com or reply to this email with the words "REMOVE
> > ME" as the subject.

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

To unsubscribe from this group, send email to 
flex-mojos+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to