In fact, you can precompile from the command line in pre-MX CF, 
too.  The CFML.exe program in \CFusion\bin can be used in a batch 
file similar to Charlie's example for MX.

- Jeff


On 8 Jun 2002 at 11:08, Steven Ringo wrote:

> Hi all,
> 
> >>> My guess is that someone will write (or MM will develop) a 'crawler'
> that will hit all of the pages of an app on restart
> 
> Someone has!  I found this "Gem" in a presentation given by Charlie
> Arehart to the NY CFUG this week.
> 
> Stroll along to www.nycfug.org to get the presentation entitled:
> "Hidden Gems in CFMX".  It is *superb*.
> 
> I am hoping that Charlie wont mind me putting this information here:
> 
> I haven't tried it yet, but I am sure it works!
> 
> To precompile CF templates:
> 
> Save the code below as MXCompile.bat in C:\
> 
> @setlocal
> set NEO_INSTALL=c: \cfusionMX
> set PATH=%NEO_INSTALL% \runtime\bin;%PATH%
> java -classpath %NEO_INSTALL%\lib\cfusion .jar
> coldfusion .tools.Compiler -webroot
> %NEO_INSTALL%\wwwroot %*
> @endlocal
> 
> Run with this, pointing to a directory:
> 
> C:\> MXcompile.bat c:\cfusionMX \wwwroot\CFIDE\administrator
> 
> Cheers
> 
> Steve
> 
> 

==^================================================================
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9
Or send an email to: [EMAIL PROTECTED]

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================


Reply via email to