9 Jun 2010 3:07 PM #1
Is there a tool for generating a custom ext.jsb2 file?
I've got the JSBuilder2 to work with a ext.jsb2 file and that works fine.
What I need is to generate a much smaller file that is meant to run on a mobile website so small filesize is a must.
I'm only using a dozen of Ext functionalities, mostly window overlays and quicktips. I know I could manually edit the ext.jsb2 file and use trial and error to remove components that I don't need. But I was hoping for a faster solution.
Is there a tool that would be more user-friendly that would say let me choose functionalities (such as Ext.FormPanel, Ext.Window, Ext.onReady etc) and automatically let me know which files those functionalities are dependant on? Even better.. it could generate a ext.jsb2 file so that I could run the JSBuilder2 and get the minified file I need that only has the code I actually use on my site?
I know this is wishful thinking but a colleague was under the impression such a tool actually existed and that he had used it before, but we can't locate it again.
Thanks much for any pointers and answers!!!
10 Jun 2010 3:24 AM #2
I'm guessing your colleague was talking about this Build your own Ext JS but that works only for ExtJS 2.3.0 and not for 3.x versionsAll Best
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." Martin Golding
10 Jun 2010 8:24 AM #3
is there no other way for me to know which calls are dependant on which components?
I've narrowed down every single type of Ext call that I make on my site:
Is there a way, from this short list, that I can know which files I need to keep in my build to make it as small as possible?
If there's a tool then great.. otherwise if someone knowledgeable could help me out here I would be so grateful!!
Thanks a lot for your time!
10 Jun 2010 3:10 PM #4
By mrsunshine in forum Sencha Touch 1.x: DiscussionReplies: 6Last Post: 8 Jun 2010, 7:13 AM
By maxm165 in forum Sencha CmdReplies: 0Last Post: 30 Oct 2009, 10:18 AM
By jakehurst in forum Ext 3.x: Help & DiscussionReplies: 1Last Post: 8 Jul 2009, 4:49 AM
By tookoo in forum Community DiscussionReplies: 12Last Post: 22 Aug 2007, 9:52 PM