[xwt-users] perl script to strip an xwar

Jeff Buhrt <[email protected]> Tue, 28 Oct 2003 17:29:37 -0500
Newsgroups gmane.comp.java.xwt.users
Message-ID <[email protected]>
Andrew,

You said you had started a xwar stripping perl script. Is is close and 
would you mind sending a copy?
I would send back any changes.

Right now I am fight nasty startup times using Li and I am thinking of 
stripping out everything I can and then sending down my screens as 
needed. I am also thinking of trapping each node of a tree send down 
only what is needed at that time, in addition of either fixing <tree> or 
hoping for Nitrogen to be better.
[I am at 5m17s without a tree and 17m45s with the tree, something has to 
change.]

Thanks,

-Jeff

Andrew Kohlsmith wrote:

>>If size is an issue I have had two thoughts for 'later':
>>1) Have a simple utility to strip out what isn't needed. Basically it
>>would start at main.xwt and walk the widget tree, etc. to decide what
>>was or wasn't accessable. Dynamic calls (if possible) to widgets, might
>>be a problem.
>>    
>>
>
>I actually started writing a little perl script that would make an xwar 
>containing only the files that were referenced.  It'd work well so long as 
>you didn't dynamically pull in .xwt files that required .pngs or .xwts that 
>just weren't there.  (I don't know if Adam's planning on being able to pull 
>graphics/fonts over the 'net or not.)
>
>Regards,
>Andrew
>
>_______________________________________________
>users mailing list
>[email protected]
>http://lists.xwt.org/listinfo/users
>
>  
>