Using Sencha Cmd from ${cmd.dir} build.dir: ${build.dir} compile -ignore=diag # Remove the license header from the source files: -prefix ${basedir}/file-header.js # Build *-dev.js files - these have all "debug" conditional code active # for use in development mode. -options=debug:true concatenate +append -output-file=${build.dir}/ext-all-rtl-dev.js and concatenate +append -sandbox=Ext4:x4- -output-file=${build.dir}/builds/ext-all-rtl-sandbox-dev.js and exclude -namespace=Ext.rtl and concatenate +append -output-file=${build.dir}/ext-all-dev.js and concatenate +append -sandbox=Ext4:x4- -output-file=${build.dir}/builds/ext-all-sandbox-dev.js and union -tag=core and concatenate +append -output-file=${build.dir}/ext-dev.js and concatenate +append -output-file=${build.dir}/builds/ext-core-dev.js and union -tag=foundation and concatenate +append -output-file=${build.dir}/builds/ext-foundation-dev.js and # Build *-debug-w-comments.js files - these are comment stripped to give # *-debug.js files. These have normal whitespace and are intended to be # debuggable versions of *-all.js files. They do not contain "dev mode" # diagnostic code. -options=debug:false include +all and concatenate +append -output-file=${build.dir}/ext-all-rtl-debug-w-comments.js and concatenate +append -sandbox=Ext4:x4- -output-file=${build.dir}/builds/ext-all-rtl-sandbox-debug-w-comments.js and exclude -namespace=Ext.rtl and concatenate +append -output-file=${build.dir}/ext-all-debug-w-comments.js and concatenate +append -sandbox=Ext4:x4- -output-file=${build.dir}/builds/ext-all-sandbox-debug-w-comments.js and union -tag=core and concatenate +append -output-file=${build.dir}/ext-debug-w-comments.js and concatenate +append -output-file=${build.dir}/builds/ext-core-debug-w-comments.js and union -tag=foundation and concatenate +append -output-file=${build.dir}/builds/ext-foundation-debug-w-comments.js and # Generate bootstrap data in to ext-dev.js and ext-debug-w-comments.js to # enable the dynamic loader. include +all and exclude -tag=core and metadata +append +alternates -base-path=${build.dir} -output-file=${build.dir}/ext-debug-w-comments.js and metadata +append +alias -base-path=${build.dir} -output-file=${build.dir}/ext-debug-w-comments.js and metadata +append +alternates -base-path=${build.dir} -output-file=${build.dir}/ext-dev.js and metadata +append +alias -base-path=${build.dir} -output-file=${build.dir}/ext-dev.js and # Optimize and compress the builds -options=debug:false include +all and optimize -define-rewrite and concatenate +append +yui -output-file=${build.dir}/ext-all-rtl.js and concatenate +append +yui -sandbox=Ext4:x4- -output-file=${build.dir}/builds/ext-all-rtl-sandbox.js and exclude -namespace=Ext.rtl and concatenate +append +yui -output-file=${build.dir}/ext-all.js and concatenate +append +yui -sandbox=Ext4:x4- -output-file=${build.dir}/builds/ext-all-sandbox.js and union -tag=core and concatenate +append +yui -output-file=${build.dir}/ext.js and concatenate +append +yui -output-file=${build.dir}/builds/ext-core.js and union -tag=foundation and concatenate +append +yui -output-file=${build.dir}/builds/ext-foundation.js compile --ignore=diag,rtl/ --classpath=${basedir}/examples/shared,${basedir}/examples/ux --classpath=${basedir}/examples/desktop --classpath=${basedir}/examples/portal --classpath=${basedir}/examples/grouptabs --classpath=${basedir}/examples/kitchensink --classpath=${basedir}/examples/app/simple --classpath=${basedir}/examples/simple-tasks --classpath=${basedir}/examples/app/nested-loading --classpath=${basedir}/examples/app/feed-viewer --options=debug:false page --scripts=../common.js --input-file=${basedir}/examples/desktop/desktop.html --output=${build.dir}/examples/desktop/compiled-desktop.html --name=desktop and page --scripts=../common.js --input-file=${basedir}/examples/grouptabs/grouptabs.html --output=${build.dir}/examples/grouptabs/compiled-grouptabs.html --name=grouptabs and page --scripts=../common.js --input-file=${basedir}/examples/kitchensink/index.html --output=${build.dir}/examples/kitchensink/compiled-index.html --name=kitchensink and page --scripts=../../common.js --input-file=${basedir}/examples/app/simple/simple.html --output=${build.dir}/examples/app/simple/compiled-simple.html --name=simpleapp and page --scripts=../common.js --input-file=${basedir}/examples/simple-tasks/index.html --output=${build.dir}/examples/simple-tasks/compiled-index.html --name=simpletasks and page --scripts=../../common.js --input-file=${basedir}/examples/app/nested-loading/nested-loading.html --output=${build.dir}/examples/app/nested-loading/compiled-nested-loading.html --name=nested-loading and page --scripts=../../common.js --input-file=${basedir}/examples/app/feed-viewer/feed-viewer.html --output=${build.dir}/examples/app/feed-viewer/compiled-feed-viewer.html --name=feed-viewer and page --scripts=../common.js --input-file=${basedir}/examples/portal/portal.html --output=${build.dir}/examples/portal/compiled-portal.html --name=portal and intersect -min=6 -set=desktop,grouptabs,kitchensink,simpleapp,simpletasks,nested-loading,feed-viewer,portal and save common and concatenate --strip-comments=true --output-file=${build.dir}/examples/common.js and restore portal and exclude -set=common and concatenate --output-file=${build.dir}/examples/portal/all-classes.js and restore feed-viewer and exclude -set=common and concatenate --output-file=${build.dir}/examples/app/feed-viewer/all-classes.js and restore nested-loading and exclude -set=common and concatenate --output-file=${build.dir}/examples/app/nested-loading/all-classes.js and restore simpletasks and exclude -set=common and concatenate --output-file=${build.dir}/examples/simple-tasks/all-classes.js and restore simpleapp and exclude -set=common and concatenate --output-file=${build.dir}/examples/app/simple/all-classes.js and restore kitchensink and exclude -set=common and concatenate --output-file=${build.dir}/examples/kitchensink/all-classes.js and restore grouptabs and exclude -set=common and concatenate --output-file=${build.dir}/examples/grouptabs/all-classes.js and restore desktop and exclude -set=common and concatenate --output-file=${build.dir}/examples/desktop/all-classes.js