The DD package is used by panel and grid (given certain options) and so is probably just required in from one of them.

In the next build we have added a build property that you can used to manipulate the set of files used to produce all-classes.js so if you are certain that none of these options are in play, you could try ejecting that namespace. This property can be set to one or more compiler set operations so you will be able to do pretty much whatever you want to add or remove files.

To be more specific, there is one final property (build.operations) that is set based on one of two environment properties (build.operations.production or build.operations.testing).

In the next build this is only supported for Ext JS apps but we will be reworking some of the internals of Touch build process so that we can include similar support for Touch apps.

You can do the above in .sencha/app/build-impl.xml if you like ... you should see a similar but smaller flavor in that file.

The build.options property (and likewise the build.operations and build.compression properties) are set to build.options.production or build.options.testing. For experimenting I would just poke the short name to the value you want to try.

Setting build.operations is a bit interesting since it needs to be a multi-line value. Something that contains \n between each operation is needed if you have multiple. Maybe this in your build.xml:

Code:

<property name="build.operations" value="exclude
-namespace=Ext.dd"/>

The new line is important there. Since you will probably want the same excludes there for production and testing builds, the above will be approximately right even though it can be tuned differently by build environment.

The value of build.operations can be a sequence of compiler commands to remove classes you don't want included. For example:

Code:

<property name="build.operations" value="exclude
-namespace=Ext.dd"/>

This will get inserted into the compile command just before the concat command that produces "all-classes.js" so will remove the Ext.dd namespace. You can see the ${build.operations} expansion in the "-page" target in my post... that is where the "exclude \n -namespace=Ext.dd" gets placed.

You may be having issues if you don't include this as well in your build.xml: