Thanks Mike.

Second option seems the way to go for this project. (Using the standard framework as an rsl triggers the prompt for debugger location the guys mentioned earlier in the thread).

Cheers
Angus

On 10/10/06, Mike Morearty <[EMAIL PROTECTED]> wrote:

Thanks for the reminder :-) Yes, the RSL/linker guy is back.

There are several options:

* Use the existing framework.swc as an RSL.

* You can compile your main app with the -include-libraries command-
line option, to entirely pull certain libraries into your main app.
For example, if you don't want each swc to have its own statically
linked copy of framework.swc, then then you can include all of it in
your main app. Then, build all your other libraries with "external"
linking to that library.

* If you don't like that, I think you can rebuild framework.swc using
the build_framework.xml Ant script that I mentioned earlier. (I
haven't tried this.) I think you'll need to add "-debug=false" to
the list of arguments passed to compc in that Ant script. I'm not
sure about the other standard swcs.

We'll consider publishing a tool to strip out the debug information
from the swc, or ship two versions of it, or some other similar
option. But for now, those are the options.

Hope this helps. -Mike

--- In [email protected], "Angus Johnson" <[EMAIL PROTECTED]>
wrote:
>
> bump
>
> I think there are a few of us looking to dynamically link framework
swf's
> (as rsl's) into our work. Any further info?
>
> Is the RSL/linker guy back? :)
>
> Thanks
> Angus
>
>
>

> On 29/09/06, Mike Morearty <[EMAIL PROTECTED]> wrote:
> >
> > I don't think this is necessary. I gave a pointer to how to
> > recompile it because someone asked, but it is deliberate that we
only
> > ship a single swc: as I said, when you link that swc into your
> > project, it strips out all the debug information. There is no
> > performance or size hit on your swf. The Ant process is intended
to
> > be for people who really want to do some advanced stuff, like
modify
> > the flex framework, but for almost all users, it shouldn't be
> > necessary.
> >
> > The one use case where you might be right -- and I'm kind of
unclear
> > on this -- is the case where you want to dynamically link to the
swc
> > at runtime.
> >
> > Does that make sense? The expert on all this stuff is out on
> > vacation right now -- I probably shouldn't have injected myself
into
> > this so deeply, because I'm the debugger guy, not the RSL/linker
guy;
> > I don't know all the subtle details of RSLs. When the RSL/linker
guy
> > gets back, I'll ask him about this.
> >
> > --- In [email protected] <flexcoders%
40yahoogroups.com>, "Anatole
> > Tartakovsky"
> > <anatole.tartakovsky@> wrote:
> > >
> > > Mike,
> > > It might make sense to have separate folder in SDK with all the
> > libraries
> > > compiled without debugging for size/performance reasons.
> > Realistically,
> > > every production application would like to benefit from that and
> > subjecting
> > > everybody to Ant process - especially given the additional libs
> > like fds,
> > > rpc, etc that come without sources. Please let me know if I
should
> > file
> > > feature request or if it is already done.
> > > Sincerely,
> > > Anatole Tartakovsky
> > >
> > >
> > >
> > > On 9/28/06, Mike Morearty <mike.morearty@> wrote:
> > > >
> > > > Are you changing them to be external, rather than statically
> > linked
> > > > into your app? Because if you're leaving them statically
linked
> > into
> > > > your app (the default), then there is no need to recompile
them
> > with -
> > > > debug=false; at link time, if linking the release swf, the
linker
> > will
> > > > strip out all of the debug information.
> > > >
> > > > If you are changing them to be external, then... take a look
at
> > > > frameworks/build_framework.xml (an Ant script). I haven't
tried
> > it and
> > > > don't know much about it.
> > > >
> > > > --- In [email protected] <flexcoders%
40yahoogroups.com><flexcoders%
> > 40yahoogroups.com>, "Anatole
> > > > Tartakovsky"
> > > > <anatole.tartakovsky@> wrote:
> > > > >
> > > > > Mike,
> > > > > Is there way to get standard libraries (framework, rpc,
flex,
> > etc)
> > > > built
> > > > > with -debug=false
> > > > > Thank you,
> > > > > Anatole
> > > >
> > > >
> > > >
> > >
> >
> >
> >
>


__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to