I simply created a RSL, that's what I meant by a dynamically linked
library. And in case of applications it works . Just not in case of
libraries. On my blog you can see how I have created the libraries and
what the results are. There you'll also find a sample project with the
mentioned libraries and the application for download.

On Jun 22, 2:23 pm, Marvin Froeder <[email protected]> wrote:
> Ow, I see now, and how did you manage to build a dynamic linked library?
> VELO
>
> On Mon, Jun 22, 2009 at 4:15 AM, Carsten Schlipf
> <[email protected]>wrote:
>
>
>
> > Hi Velo,
>
> > Just to make sure you understood me correctly: Actually I want my
> > libraries to be dynamically linked, not statically. But the compiler
> > still linkes the libraries statically.
>
> > According to the documentation the option
> > staticLinkRuntimeSharedLibraries is set to false by default, so this
> > is the case in my sample project. So in case this option is false, my
> > libraries should be dynamically linked against RSLs and not
> > statically. But that's not the case. It looks like
> > staticLinkRuntimeSharedLibraries is always set to true. I just set it
> > to false explicitly, but still no change. RSLs are still compiled
> > statically into libraries (just into libraries, not into
> > applications).
>
> > Best regards,
> > Carsten
>
> > On Jun 22, 1:36 am, Marvin Froeder <[email protected]> wrote:
> > > Well, looks a bug on flex compiler, since it should detect that and
> > switch
> > > to static linked automatically...
> > > You can do that manually:
> >http://sites.sonatype.org/flexmojos/flexmojos-maven-plugin/compile-sw...
>
> > > <http://sites.sonatype.org/flexmojos/flexmojos-maven-plugin/compile-sw..
> > .>But
> > > is there any scenario where the current behavior is valid?
>
> > > If no, I can implement this logic on flexmjos to get static link
> > > automatically.
>
> > > VELO
>
> > > On Sun, Jun 21, 2009 at 2:51 PM, Carsten Schlipf
> > > <[email protected]>wrote:
>
> > > > Hi all,
>
> > > > during the change of a bigger project to RSLs I noticed that libraries
> > > > are way bigger than they should be. After looking further into this I
> > > > found out that a library is ALWAYS statically linked against
> > > > dependencies, no mater wheter the scope is RSL or Caching.
>
> > > > You can find a more detailed explanation and a sample project at
>
> > > >http://www.yeap.de/blog2.0/archives/203-Size-of-Flex-RSLs-with-depend.
> > ..
>
> > > > Velo, are you already aware of this? As of my understanding I assume a
> > > > bug in the Flex compiler and not in flex-mojos, but I would like to
> > > > hear your opinion, before I file a JIRA report at Adobe.
>
> > > > Best regards,
> > > > Carsten
--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---

Reply via email to