PDA

View Full Version : [HOWTO] Build ExtJS 4 TRUNK



yozik04
24 Nov 2011, 2:45 AM
I think this should be sticky here. Took me whole day to figure out.

What should I checkout/export to build ExtJS Trunk?
Checkout all 2 modules to different folders.

svn co http://svn.sencha.com/svn/sdk/trunk/extjs
svn co http://svn.sencha.com/svn/sdk/trunk/platform platform_svn
svn co http://svn.sencha.com/svn/touch/trunk touch

Merge platform_svn and touch into platform folder


#OS X only
ditto touch/ platform_svn/ platform
#or (it was not working properly on OS X)
rsync -axC touch/ platform_svn/ platform

Then build from the same location:
Do not cd into extjs folder, otherwise you will get weird errors and this will definitely ruin your day

./extjs/build/build.sh /var/www/ext-trunk
Absolute path is required "/var/www/ext-trunk"

The only error during compilation:
cp: /Library/WebServer/Documents/extjs/build/../test/: No such file or directory

When opening http://localhost/ext-trunk/examples/index.html I get error
Ext.Element is undefined
(facepalm)

Something broken there.

jsakalos
24 Nov 2011, 12:10 PM
Do you want this thread to be moved to Bugs?

yozik04
24 Nov 2011, 2:19 PM
This is "no information" in my opinion. But it could be moved to bugs if this will resolve the problem

jsakalos
24 Nov 2011, 2:45 PM
Well, it describes the apparently correct steps that lead to non-working library.

I'm moving it to bugs.