Hello christopher,

Thanks for your quick reply.

-- Keep in mind that the flex compiler only copies filed that
are explicitly referenced.

I don't want to have an embedded and big swf.

I want to have rsl link between project for the final project. I load
dynamicaly swf during the run of the main application. All works fine
under flexbuilder. Now, the real problem for me it's to have a maven
goal to package this solution.

FlexBuilder seems to do a lot of thing with the RSL. I think the
problem is I need to compile all my projects in swf, but I am not
sure. The mandatory "sourceFile" property to put in flexmojos
configuration for swf is strange for me too, I can understand this
mandatory field but not in my case.

So that's why I ask to this community if someone has a solution for
me, or have the same kind of problem.

Thanks again,
Thomas



On 31 jan, 16:33, Christofer Dutz <[email protected]>
wrote:
> Hi Thomas,
>
> I have to admit, that I found your question a little hard to
> understand. Did I understand correctly ... you have a main application
> and several swc libraries that you use in your main application. Now
> you are wondering why the result is only a swf without any swcs? You
> mention rsls ... are your library built as RSLs and did you specify
> the type of the dependency to "rsl"?
>
> If you have normal swc dependencies (no rsl no caching), then all the
> referenced classes/resources of your swc are included copied into the
> final swf. Keep in mind that the flex compiler only copies filed that
> are explicitly referenced. So If you use some sort of reflection for
> loading classes the compiler will probably not detect them and they
> will be missing in the final swf.
>
> Hope this explains stuff a little,
>
> Chris
>
> 2012/1/31 thomas <[email protected]>:
>
>
>
> > Hello,
>
> > I try to use RSL library to create an exec with mojos. All my
> > dependencies are in swc, only the main project is a swf. The flexmojos
> > compilation works well but I didn't see my dependencies .
>
> > How to get all library files in swf during a normal package of my main
> > project?
>
> > If someone has a answer, that will be nice.
>
> > A solution will be maybe to create all swc / swf  during the
> > compilation  of each projects... The only problem i have, it's why the
> > "sourceFile" is mandatory for flexmojo.
>
> > Flexbuilder seems to create dynamically swf  if the dependencies
> > projects are defined as RSL.
>
> > Someone can help me ! I don't know if my message is quite easy to
> > understand.
>
> > Thanks in advance,
> > Thomas
>
> > --
> > 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/- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -

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