Take a look on this link: http://flexmojos.sonatype.org/faq.html#9
Lemme know if it helps. VELO On Mon, Sep 20, 2010 at 3:54 PM, Rupert <[email protected]> wrote: > Hi, > How can I get "external" linking for Modules to work in FlexMojos 4 > with Flex 4 as it seems to in FlashBuilder? > When I set libraries as scope "external", they behave like RSLs. Some > details follow... > > We have the following: > - client - 1 project that uses the all of following > - 'content' - N * FlexMojo project that build M * Flex Modules each > that are dynamically loaded into client > - library projects: > client uses as FM scope:rsl. > content uses as FM scope:external > - Adobe platform libraries: > client uses FM scope:caching. > content uses as FM scope:external > > At startup, client loads all RSLs then proceeds to load some content. > > In FlashBuilder, when the client loads content, all RSLs are already > loaded by the client so all symbols resolve fine. > In FlexMojos, when the client loads content, they each reload all > RSLs !?! > How can we stop this from happening? > > From what I can tell, FlexMojos 4 considers "external" the same as > "rsl". Is this expected or have I made a mistake? > > Example load order FlexMojos actual: > client > adobe-rsl 1 > adobe-rsl 2 > our-rsl 1 > our-rsl 2 > our-module 1 > adobe-rsl 1 > adobe-rsl 2 > our-rsl 1 > our-rsl 2 > our-module 2 > adobe-rsl 1 > adobe-rsl 2 > our-rsl 1 > our-rsl 2 > ... > > Example load order FlashBuilder + desired: > client > adobe-rsl 1 > adobe-rsl 2 > our-rsl 1 > our-rsl 2 > our-module 1 > our-module 2 > ... > > Thanks as always, Rupert. > > -- > 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/
