Here is a sample batch file example for automating a build with the console version of JSB:
echo off set JSB="C:\JS Builder\JSBuildConsole.exe" set EXT_PATH="C:\SVN\Ext\branches\ext2.0" set OUTPUT="C:\Inetpub\wwwroot\deploy\ext-2.0" set SRC=%EXT_PATH%\src\ext.jsb set RESOURCES=%EXT_PATH%\resources\resources.jsb set EXAMPLES=%EXT_PATH%\examples\examples.jsb %JSB% /path=%SRC% /output=%OUTPUT% /clean /verbose %JSB% /path=%RESOURCES% /output=%OUTPUT%\resources /clean /verbose %JSB% /path=%EXAMPLES% /output=%OUTPUT%\examples /clean /verbose
For complete instructions on using any of the build options, see the tutorial:
http://extjs.com/learn/Tutorial:Building_Ext_From_Source