PDA

View Full Version : Mommy what's a classpath?



stewardsencha
16 Dec 2012, 11:32 AM
How do you have "work in progress"?

I have lots of files I that I do not want in a build.
I keep them for reference, for snippets, for work in progress etc etc

Now it seems I must specify a classpath, and cmd will suck up every file with a .js extension

I now have to find some way to deal with it?
Rename the extension to jsx? Tag them? Move them to a separate folder?

Do I have that right?

mberrie
17 Dec 2012, 7:40 PM
Checkout the chapter "Trimming The Excess" in the "Single-Page Ext JS Apps" tutorial

http://docs.sencha.com/ext-js/4-1/#!/guide/command_app_single




sencha compile -classpath=ext/src,js \ page -name=page -in index.php -out build/index.php and \ restore page and \ exclude -namespace Ext.tree and \ concat -yui build/all-classes.js

You can also exclude based on files (and directories).



... exclude -f app/notes ...


Not sure if file glob patterns are supported.

hth