PDA

View Full Version : SenchaCmd and Architect 2.1



abcoa
16 Oct 2012, 1:50 PM
Is there any way to specify SenchaCmd to "pick up" app.js file which is outside of /app folder.
Let's say I have:

/app
/lib
/lib/extjs/
app.js
app.html
index.html

If I use following command, app.js is not being compiled...

sencha compile -classpath=lib/extjs/src,lib/ux,app ^
concat build/myapp-all-debug-w-comments.js and ^
-debug=true concat -strip-comments build/myapp-all-debug.js and ^
-debug=false concat -yui build/myapp-all.js

abcoa
16 Oct 2012, 2:14 PM
It turns out you can add individual .js files to class path, so just include "app.js" in the list of comma separated items in classpath