> 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.
> 
> > java -classpath %NEO_INSTALL%\lib\cfusion.jar
> > coldfusion.tools.Compiler -webroot

I don't think they are the same thing. CFML.exe actually runs the
template, this bat file only compiles them.

BTW, I couldn't make that bat file work, got this error :(
"Error occurred during initialization of VM java.lang.NullPointerException"
Wait, just tried again and it seems that this error occures only if I use
Sun Java 1.4.0 runtime. If I use the one in CFMX runtime folder, it works
OK. So it's better to use "c:\CFusionMX\runtime\jre\bin\java.exe" instead
of just "java" in that bat file.

.erki

==^================================================================
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