@alile:
You can use the command "sencha help compile exclude" to view the available options. Its output looks like this:
Code:
sencha compile exclude
This command removes from the current set any files matching the criteria.
Options
* --all, -a - Select all files in global cache (ignores other options)
* --class, -c - Selects files according to the specified class names
* --file, -f - Selects the specified file names (supports glob patterns)
* --namespace, -na - Selects all files with class definitions in the given namespace(s)
* --not, -no - Inverts the matching criteria
* --recursive, -r - Enable traversal of dependency relationships when selecting files
* --set, -s - Selects files from on a previously saved set (ignores other options)
* --tag, -t - Selects all files with the specified '//@tag' values
Syntax
sencha compile exclude [options]
If you want to exclude files by extension, you can use the --file option with a glob:
Code:
<target name="-before-init">
<property name="build.operations">
exclude
-file=*.scc
</property>
</target>
@jweber:
If you use the command "sencha ant build" rather than "sencha app build", you can specify parameters on the command line. If you set up your build file with:
Code:
<target name="-before-init">
<property name="build.operations">
exclude
-file=${exclude.files}
</property>
</target>
Then you can run something like sencha ant build -Dexclude.files=some-file.js,other-file.js.