>From Charlie Arehart's blog: Create a batch file with these three lines:
set MX_INSTALL=c:\CFusionMX set PATH=%MX_INSTALL%\runtime\bin;%MX_INSTALL%\runtime\jre\bin;%PATH% java -classpath %MX_INSTALL%\lib\cfusion.jar coldfusion.tools.Compiler -webroot %1 -webinf %MX_INSTALL%\wwwroot\WEB-INF %1 Call it precompile.bat Then run it and pass the root directory you want to precompile Precompile c:\inetpub\wwwroot The root directory does not have to be within wwwroot. > -----Original Message----- > From: Mark Johnson [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 20, 2003 5:01 PM > To: CF-Talk > Subject: RE: CFMX Compiled Code and Remote Source > > > Sam, > How do i run the precompile command? > > Mark > > -----Original Message----- > From: Samuel Neff [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 20, 2003 1:31 PM > To: CF-Talk > Subject: RE: CFMX Compiled Code and Remote Source > > > The precompiler is basically just calling CFMX's compile > command and specifying a directory to compile. You can > pre-compile CFM's even when there is no web server connected > and even when CFMX isn't running. I've run it on two of my > servers with IIS. > > Sam > > > > -----Original Message----- > > From: Mark Johnson [mailto:[EMAIL PROTECTED]] > > Sent: Monday, January 20, 2003 3:59 PM > > To: CF-Talk > > Subject: RE: CFMX Compiled Code and Remote Source > > > > > > Sam, > > Unfortunately these things are in producation and we can't > use trusted > > cache based on how our app functions. So source is extremely > > important. > > > > The news about being able to copy binaries is extremely > dissapointing. > > > > I have not tried the precompiler, but was told that it > wouldn't work > > with IIS. Is that not true? > > > > Mark > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

