1. #1
    Ext User
    Join Date
    Oct 2009
    Posts
    3
    Vote Rating
    0
    vesper8 is on a distinguished road

      0  

    Question Is there a tool for generating a custom ext.jsb2 file?

    Is there a tool for generating a custom ext.jsb2 file?


    Hi all,

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

  2. #2
    Sencha Premium Member danguba's Avatar
    Join Date
    Feb 2009
    Location
    Kragujevac, Serbia
    Posts
    377
    Vote Rating
    28
    danguba will become famous soon enough danguba will become famous soon enough

      0  

    Default


    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 versions
    All Best
    ---
    Željko Mitrović
    http://skitanja.blogspot.com/

    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." Martin Golding

  3. #3
    Ext User
    Join Date
    Oct 2009
    Posts
    3
    Vote Rating
    0
    vesper8 is on a distinguished road

      0  

    Default


    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:

    Ext.onReady
    Ext.QuickTips
    Ext.get
    Ext.Panel
    Ext.FormPanel
    Ext.Window
    Ext.form
    Ext.emptyFn
    Ext.apply
    Ext.Msg.*
    Ext.select

    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!

  4. #4
    Ext User
    Join Date
    Oct 2009
    Posts
    3
    Vote Rating
    0
    vesper8 is on a distinguished road

      0  

    Default


    can anyone lend me a hand please?

Similar Threads

  1. ext-touch.jsb2 file?
    By mrsunshine in forum Sencha Touch 1.x: Discussion
    Replies: 6
    Last Post: 8 Jun 2010, 7:13 AM
  2. Xml version of jsb2 project file
    By maxm165 in forum Sencha Cmd
    Replies: 0
    Last Post: 30 Oct 2009, 10:18 AM
  3. Possible JSB2 error with file globbing
    By jakehurst in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 8 Jul 2009, 4:49 AM
  4. Which tool is used for generating the Ext API document?
    By tookoo in forum Community Discussion
    Replies: 12
    Last Post: 22 Aug 2007, 9:52 PM

Thread Participants: 1