> in 5.0 you could just pass a pass a page to the cfml.exe for
> processing....is this no longer possible with CFMX??

No, since there's no CFML.EXE in CF MX, you can't do the exact same thing.
However, I suspect that there's an analogous way to do this, since CFML
pages end up as Java classes; I just don't know what it is yet. I did read
that you could precompile the Java classes with something like this:

----save as cfcompile.bat----
@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

example usage: C:\> cfcompile.bat c:\cfusionMX\wwwroot\CFIDE\administrator

(thanks go to Spike Washburn at MM for that)

>From there, you'd have to figure out how to run the compiled class. I
haven't figured out how to do that, myself, yet; I tried something like
this:

set PATH=c:\CfusionMX\runtime\bin;%PATH%
java -classpath c:\CfusionMX\lib\cfusion.jar
c:\CfusionMX\wwwroot\WEB-INF\cfclasses\cfinsult12ecfm1553793528.class

but it returned a "java.lang.NoClassDefFoundError".

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to