Hi Logan, The web module does contain other non-flex related code (java, groovy, etc.), so it looks like we can't merge the modules. When using the assembly plugin, are you creating a war? Are you then simply including it as a dependency in the web module? And the release plugin doesn't complain about a snapshot dependency?
Thanks, Allan On Fri, Oct 16, 2009 at 11:25 AM, Logan Allred <[email protected]> wrote: > > On Tue, Oct 13, 2009 at 2:10 PM, Allan Ditzel <[email protected]> > wrote: > > We've upgraded to use the 3.3 flex-mojos, but we're curious on best > > practices regarding project structure when using the flex-mojos in a > > java-backed application. Our project is structured as follows: > > > > \ > > |- flex-shell module (generates the main swf and contains the assets > folder) > > |- web module (has all of the non-flex web assets) > > ... other modules > > > > We are thinking of merging the two modules: the flex shell module and the > > web module into one, however we're unsure if this follows best practices. > > How do most people structure their projects? Currently, we have to do > custom > > packaging of the assets in the flex shell module via an assembly and then > > pull that in via the dependency plugin. We're trying to avoid doing this > as > > it creates complications when using the release plugin. > > Does the web module have any non-Flex code in it, or just static > assets? You cannot compile Flex and Java in the same module. Also, if > you rely on any of the built-in war functionality for the web module, > I think merging it with the Flex module could potentially cause > problems with the lifecycle. > > We use the assembly and war overlay to do ours, and we don't have any > problems with the release plugin ( we attach our assembly as an > artifact). > > We would probably need more info how your project is structured to > give more advice. > > Logan > > > > --~--~---------~--~----~------------~-------~--~----~ 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?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
