Folks, I've always used the precompile.bat file from Charlie Aerheart's blog as part of the nightly build/release tool for our CFMX development and integration sites, but the version I'm running dies with a java.lang.NoClassDefFoundError for javax.servlet.* classes. Easy enough to find the library -- javax.servlet.* is in the \runtime\lib\jrun.jar file. Maybe other places as well...
So the batch file I now have working looks like this: REM precompile.bat for CFMX 6.1 Windows set MX_INSTALL=c:\CFusionMX set PATH=%MX_INSTALL%\runtime\bin;%MX_INSTALL%\runtime\jre\bin;%PATH% java -classpath %MX_INSTALL%\lib\cfusion.jar;%MX_INSTALL%\runtime\lib\jrun.jar; coldfusion.tools.Compiler -webroot %1 -webinf %MX_INSTALL%\wwwroot\WEB-INF %1 LINUX NOTE: I'm guessing on linux you'd need to use -classpath %MX_INSTALL%\lib\cfusion.jar:%MX_INSTALL%\runtime\lib\jrun.jar instead to be consistent with classpath on that platform, at least the way I remember it. Not near a linux box to check today. And it can be used like this: precompile c:\cfusionmx\wwwroot One difference though is that there is no compile time for each page, or linebreak after each page. And I could have done this wrong :) Any other folks have input/comments? Regards, John Paul Ashenfelter CTO/Transitionpoint ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

