View Full Version : minified version of extjs
7 Oct 2009, 2:31 AM
I have seen the onlinebuilder for extjs.
( http://www.extjs.com/products/extjs/build/ )
But there is not for the version 3.0.
Is there an other onlinebuilder ?
7 Oct 2009, 2:46 AM
There is no "Build your own Ext 3", but you can build Ext 3 manually using JSBuilder2 (http://extjs.com/products/jsbuilder/) and edit the ext.jsb2 (http://extjs.com/forum/showthread.php?p=354473) file.
7 Oct 2009, 3:36 AM
I have take a look into the jsbuilder.
I have 2 question.
In my test dir are files
When i now call the command
java -jar JSBuilder2.jar --projectFile J:\htdocs\extjs_builder\ext.jsb2 --homeDir J:\htdocs\extjs_builder\test\
Is there now build a new extjs - version from extjs.zip ?
I have take a first look in the ext.jsb2.
I found in the file some areas.
name: 'Drag Drop',
When i remove this area then the drag and drop functions from the new
extjs version is killed.
Is this correct ?
7 Oct 2009, 4:57 AM
1. Extract the Ext 3 SDK file to the project directory.
2. Ext 3.0.0 only: Put the ext.jsb2 file in the project directory (Ext 3.0.1+ already contains the ext.jsb2 file).
3. Optionally: Edit the ext.jsb2 file.
java -jar JSBuilder2.jar --projectFile <project-dir>\ext.jsb2 --homeDir <output-dir>
Regarding editing the ext.jsb2 file:
I normally leave all packages the way they are and add some packages of my own at the bottom (so I don't delete the pkgs/ext-dd.js package, I just don't include it in my own package).
7 Oct 2009, 5:09 AM
Thanks for the information.
I some situation the ext-all.js is to big.
When i only need the extjs-core and extjs-grid, i think a smaller version is better.
7 Oct 2009, 5:14 AM
Yes, so you would add your own package 'grid-only.js' at the bottom of ext.jsb2 and specify pkgDeps:
(or a different combination depending on your needs)
Powered by vBulletin® Version 4.1.5 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.