I don't think Adobe embraces that in their projects. Only Flash Builder
allows you to do that,  but taken from the architectural point of view, it's
exactly how you have said: really bad practice. Will work for release 0.1
maybe, but until you reach 1.0 you'll have so many problems managing the
swfs.

I think it;s actually good that flex mojos doesn't allow that.

Dragos

On Thu, Jan 27, 2011 at 12:28 PM, Marvin Froeder <[email protected]> wrote:

> Producing more then one artifact (SWF) per source tree is a bad
> practice.....  unfortunately adobe seems to embrace and promote that.... =/
>
>
> On Thu, Jan 27, 2011 at 4:25 AM, Jahiro <[email protected]> wrote:
>
>> I guess I could setup individual POMs, but I have a project that needs
>> to build more than 50 SWF files, with new SWF files added each week
>> and was hoping to use the Module feature to manage this large number
>> of SWFs gracefully, rather than having a large number of POMs to to
>> maintain.
>>
>> In FlashBuilder it's easy to keep adding applications or modules in
>> the project settings. The FlexMojo modules feature is a nice
>> equivalent to this (unless there are other ways to add additional SWF
>> applications to the POM?)
>>
>> On Jan 26, 6:36 pm, Dascalita Dragos <[email protected]> wrote:
>> > Taking the modules out of the main project into separate projects won't
>> > work?
>> >
>> > Dragos Dascalita Haut
>> >
>> > On Jan 26, 2011 7:55 AM, "Jahiro" <[email protected]> wrote:
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > > Thanks for getting back to me.
>> >
>> > > I'm not sure how much work effort would be involved in adding this
>> > > feature, as I don't have any experience writing Maven plugins or even
>> > > much Java. Do you think this would be a non-trivial feature to
>> > > implement, or would it take significant time?
>> >
>> > > Flash Builder has it's 'Release Build' feature that optimizes all SWF
>> > > files, including modules - would be great to see FlexMojo able to
>> > > compile modules that are as small as the Flash Builder Release Builds.
>> >
>> > > On Jan 26, 12:38 pm, Marvin Froeder <[email protected]> wrote:
>> > > > Hrmm, I think I never thought on that =D
>> >
>> > > > Would be a nice feature to someone implement ;)
>> >
>> > > > VELO
>> >
>> > > > On Tue, Jan 25, 2011 at 11:09 PM, Jahiro <[email protected]>
>> wrote:
>> > > > > Hi There,
>> >
>> > > > > The Apparat optimize-swf goal is great and working fine for me,
>> but
>> > > > > was wondering if it's possible to run this goal on Modules as well
>> as
>> > > > > the main application SWF?
>> >
>> > > > > (Note, I don't mean the standard 'optimize=true' flag - I mean the
>> the
>> > > > > Apparat extreme optimization:
>> > > > >https://docs.sonatype.org/display/FLEXMOJOS/Extreme+Optimization)
>> >
>> > > > > For instance I have a main app specified like this:
>> >
>> > > > > <sourceFile>MainApp.mxml</sourceFile>
>> >
>> > > > > and 1 module specified like this:
>> > > > > <modules>
>> > > > >        <module>
>> > > > >                <sourceFile>modules/Module1.mxml</sourceFile>
>> > > > >                <finalName>Module1</finalName>
>> > > > >                <destinationPath>modules</destinationPath>
>> > > > >                <optimize>true</optimize>
>> > > > >        </module>
>> > > > > </modules>
>> >
>> > > > > and I run this goal:
>> > > > > <goal>optimize-swf</goal>
>> >
>> > > > > But only MainApp.swf gets the Apparat optimization. Is it possible
>> for
>> > > > > Apparat optimization to be run on Module1.swf as well?
>> >
>> > > > > I'm using FlexMojo 4.0-Beta-5
>> >
>> > > > > Thanks for any help - if this isn't a feature yet or if it's a
>> bug,
>> > > > > I'm happy to add a Jira ticket - just wanted to check first to see
>> if
>> > > > > I've missed anything.
>> >
>> > > > > Thanks,
>> > > > > -Jahiro
>> >
>> > > > > --
>> > > > > 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]>
>> <flex-mojos%2Bunsubscribe@googlegrou ps.com>
>> >
>> > <flex-mojos%2Bunsubscribe@googlegrou ps.com>
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > > > > For more options, visit this group at
>> > > > >http://groups.google.com/group/flex-mojos
>> >
>> > > > >http://flexmojos.sonatype.org/
>> >
>> > > --
>> > > 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]>
>> <flex-mojos%2Bunsubscribe@googlegrou ps.com>
>> > > For more options, visit this group at
>> > >http://groups.google.com/group/flex-mojos
>> >
>> > >http://flexmojos.sonatype.org/
>>
>> --
>> 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/
>>
>
>  --
> 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/
>

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