REPOST: precompiling templates
I'm using the pre compile script below (way below) and I get the following error from the CFcompiler. Can anybody shed some light on this? Brook Davies C:\CFusionMX\libcompile c:\inetpub\wwwroot\cfide\administrator\ Exception in thread main java.lang.ArrayIndexOutOfBoundsException at coldfusion.tools.Compiler.main(Unknown Source) '..\wwwroot\WEB-INF' is not recognized as an internal or external command, operable program or batch file. At 05:59 PM 15/08/02 -0400, you wrote: The path to the java executable (java.exe) should be in your system's path environment variable. If your using the jvm that comes with CFMX it is located here by default on windows: C:\CFusionMX\runtime\jre\bin The other option is to change your bat file so that it uses C:\CFusionMX\runtime\jre\bin\java instead of just java _ Pete Freitag CTO, CFDEV.COM http://www.cfdev.com/ -Original Message- From: Brook Davies [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 5:47 PM To: CF-Talk Subject: RE: precompiling templates When I run the compile.bat file I get an error that 'java' is not a recognized as an internal or external command. Do I need to install something to have 'java' recognized by my system as an executable? Brook At 07:42 PM 12/08/02 -0400, you wrote: There is a -webinf argument you can pass to the Compiler to compile pages outside of the CFMX_INSTALL\wwwroot directory. I have attached the latest version of the cfcompile script that demonstrates how to use this argument. Instructions: 1. Save the cfcompile.bat file attached below into the CFMX_INSTALL\bin directory 2. Run cfcompile from the command-line according to the usage Usage: cfcompile [-f] -webroot webdir source [source ...] -fforce compilation -webroot webdir the doc root of the webserver sourcefile or directory containing CFM templates Usage examples: Compiling all changed files under the IIS doc root: c:\cfusionmx\bin\cfcompile.bat -webroot c:\Inetpub\wwwroot c:\Inetpub\wwwroot Recompiling all files under two subdirectory of the IIS doc root: c:\cfusionmx\bin\cfcompile.bat -f -webroot c:\Inetpub\wwwroot c:\Inetpub\wwwroot\myapp c:\Inetpub\wwwroot\myapp2 --start cfcompile.bat @echo off @setlocal if %CFMX_INSTALL%== set CFMX_INSTALL=.. if not exist %CFMX_INSTALL%\lib\cfusion.jar goto err_cfdir if %1== goto usage if %1==/? goto usage goto compile :compile set PATH=%CFMX_INSTALL%\runtime\bin;%PATH% java -classpath %CFMX_INSTALL%\lib\cfusion.jar coldfusion.tools.Compiler -webinf %CFMX_INSTALL%\wwwroot\WEB-INF %* goto end :err_cfdir echo Error: Could not locate %CFMX_INSTALL%\lib\cfusion.jar echo Please set CFMX_INSTALL path (ex: set CFMX_INSTALL=c:\CFusionMX) goto end :usage echo usage: cfcompile [-f] -webroot webdir source [source ...] echo -f force compilation echo -webroot webdir the doc root of the webserver echo source file or directory containing CFM templates goto end :end @endlocal -end cfcompile.bat- --- Spike Washburn ColdFusion Development Team -Original Message- From: Critter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 2:35 PM To: CF-Talk Subject: Re: precompiling templates oi Brook!! i believe that script only works in the cfmx root... -- Critz Macromedia Certified Advanced ColdFusion Developer CFX_BotMaster Network=Efnet Channel=ColdFusion __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: precompiling templates
When I run the compile.bat file I get an error that 'java' is not a recognized as an internal or external command. Do I need to install something to have 'java' recognized by my system as an executable? Brook At 07:42 PM 12/08/02 -0400, you wrote: There is a -webinf argument you can pass to the Compiler to compile pages outside of the CFMX_INSTALL\wwwroot directory. I have attached the latest version of the cfcompile script that demonstrates how to use this argument. Instructions: 1. Save the cfcompile.bat file attached below into the CFMX_INSTALL\bin directory 2. Run cfcompile from the command-line according to the usage Usage: cfcompile [-f] -webroot webdir source [source ...] -fforce compilation -webroot webdir the doc root of the webserver sourcefile or directory containing CFM templates Usage examples: Compiling all changed files under the IIS doc root: c:\cfusionmx\bin\cfcompile.bat -webroot c:\Inetpub\wwwroot c:\Inetpub\wwwroot Recompiling all files under two subdirectory of the IIS doc root: c:\cfusionmx\bin\cfcompile.bat -f -webroot c:\Inetpub\wwwroot c:\Inetpub\wwwroot\myapp c:\Inetpub\wwwroot\myapp2 --start cfcompile.bat @echo off @setlocal if %CFMX_INSTALL%== set CFMX_INSTALL=.. if not exist %CFMX_INSTALL%\lib\cfusion.jar goto err_cfdir if %1== goto usage if %1==/? goto usage goto compile :compile set PATH=%CFMX_INSTALL%\runtime\bin;%PATH% java -classpath %CFMX_INSTALL%\lib\cfusion.jar coldfusion.tools.Compiler -webinf %CFMX_INSTALL%\wwwroot\WEB-INF %* goto end :err_cfdir echo Error: Could not locate %CFMX_INSTALL%\lib\cfusion.jar echo Please set CFMX_INSTALL path (ex: set CFMX_INSTALL=c:\CFusionMX) goto end :usage echo usage: cfcompile [-f] -webroot webdir source [source ...] echo -f force compilation echo -webroot webdir the doc root of the webserver echo source file or directory containing CFM templates goto end :end @endlocal -end cfcompile.bat- --- Spike Washburn ColdFusion Development Team -Original Message- From: Critter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 2:35 PM To: CF-Talk Subject: Re: precompiling templates oi Brook!! i believe that script only works in the cfmx root... -- Critz Macromedia Certified Advanced ColdFusion Developer CFX_BotMaster Network=Efnet Channel=ColdFusion __ 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: precompiling templates
The path to the java executable (java.exe) should be in your system's path environment variable. If your using the jvm that comes with CFMX it is located here by default on windows: C:\CFusionMX\runtime\jre\bin The other option is to change your bat file so that it uses C:\CFusionMX\runtime\jre\bin\java instead of just java _ Pete Freitag CTO, CFDEV.COM http://www.cfdev.com/ -Original Message- From: Brook Davies [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 5:47 PM To: CF-Talk Subject: RE: precompiling templates When I run the compile.bat file I get an error that 'java' is not a recognized as an internal or external command. Do I need to install something to have 'java' recognized by my system as an executable? Brook At 07:42 PM 12/08/02 -0400, you wrote: There is a -webinf argument you can pass to the Compiler to compile pages outside of the CFMX_INSTALL\wwwroot directory. I have attached the latest version of the cfcompile script that demonstrates how to use this argument. Instructions: 1. Save the cfcompile.bat file attached below into the CFMX_INSTALL\bin directory 2. Run cfcompile from the command-line according to the usage Usage: cfcompile [-f] -webroot webdir source [source ...] -fforce compilation -webroot webdir the doc root of the webserver sourcefile or directory containing CFM templates Usage examples: Compiling all changed files under the IIS doc root: c:\cfusionmx\bin\cfcompile.bat -webroot c:\Inetpub\wwwroot c:\Inetpub\wwwroot Recompiling all files under two subdirectory of the IIS doc root: c:\cfusionmx\bin\cfcompile.bat -f -webroot c:\Inetpub\wwwroot c:\Inetpub\wwwroot\myapp c:\Inetpub\wwwroot\myapp2 --start cfcompile.bat @echo off @setlocal if %CFMX_INSTALL%== set CFMX_INSTALL=.. if not exist %CFMX_INSTALL%\lib\cfusion.jar goto err_cfdir if %1== goto usage if %1==/? goto usage goto compile :compile set PATH=%CFMX_INSTALL%\runtime\bin;%PATH% java -classpath %CFMX_INSTALL%\lib\cfusion.jar coldfusion.tools.Compiler -webinf %CFMX_INSTALL%\wwwroot\WEB-INF %* goto end :err_cfdir echo Error: Could not locate %CFMX_INSTALL%\lib\cfusion.jar echo Please set CFMX_INSTALL path (ex: set CFMX_INSTALL=c:\CFusionMX) goto end :usage echo usage: cfcompile [-f] -webroot webdir source [source ...] echo -f force compilation echo -webroot webdir the doc root of the webserver echo source file or directory containing CFM templates goto end :end @endlocal -end cfcompile.bat- --- Spike Washburn ColdFusion Development Team -Original Message- From: Critter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 2:35 PM To: CF-Talk Subject: Re: precompiling templates oi Brook!! i believe that script only works in the cfmx root... -- Critz Macromedia Certified Advanced ColdFusion Developer CFX_BotMaster Network=Efnet Channel=ColdFusion __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: precompiling templates
Pete, Thanks for the tip, I modified the bat file to use the full path to the java executable. that worked fine, but now I get the following error message. Any ideas on this one? C:\CFusionMX\libcompile c:\inetpub\wwwroot\cfide\administrator\ Exception in thread main java.lang.ArrayIndexOutOfBoundsException at coldfusion.tools.Compiler.main(Unknown Source) '..\wwwroot\WEB-INF' is not recognized as an internal or external command, operable program or batch file. At 05:59 PM 15/08/02 -0400, you wrote: The path to the java executable (java.exe) should be in your system's path environment variable. If your using the jvm that comes with CFMX it is located here by default on windows: C:\CFusionMX\runtime\jre\bin The other option is to change your bat file so that it uses C:\CFusionMX\runtime\jre\bin\java instead of just java _ Pete Freitag CTO, CFDEV.COM http://www.cfdev.com/ -Original Message- From: Brook Davies [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 5:47 PM To: CF-Talk Subject: RE: precompiling templates When I run the compile.bat file I get an error that 'java' is not a recognized as an internal or external command. Do I need to install something to have 'java' recognized by my system as an executable? Brook At 07:42 PM 12/08/02 -0400, you wrote: There is a -webinf argument you can pass to the Compiler to compile pages outside of the CFMX_INSTALL\wwwroot directory. I have attached the latest version of the cfcompile script that demonstrates how to use this argument. Instructions: 1. Save the cfcompile.bat file attached below into the CFMX_INSTALL\bin directory 2. Run cfcompile from the command-line according to the usage Usage: cfcompile [-f] -webroot webdir source [source ...] -fforce compilation -webroot webdir the doc root of the webserver sourcefile or directory containing CFM templates Usage examples: Compiling all changed files under the IIS doc root: c:\cfusionmx\bin\cfcompile.bat -webroot c:\Inetpub\wwwroot c:\Inetpub\wwwroot Recompiling all files under two subdirectory of the IIS doc root: c:\cfusionmx\bin\cfcompile.bat -f -webroot c:\Inetpub\wwwroot c:\Inetpub\wwwroot\myapp c:\Inetpub\wwwroot\myapp2 --start cfcompile.bat @echo off @setlocal if %CFMX_INSTALL%== set CFMX_INSTALL=.. if not exist %CFMX_INSTALL%\lib\cfusion.jar goto err_cfdir if %1== goto usage if %1==/? goto usage goto compile :compile set PATH=%CFMX_INSTALL%\runtime\bin;%PATH% java -classpath %CFMX_INSTALL%\lib\cfusion.jar coldfusion.tools.Compiler -webinf %CFMX_INSTALL%\wwwroot\WEB-INF %* goto end :err_cfdir echo Error: Could not locate %CFMX_INSTALL%\lib\cfusion.jar echo Please set CFMX_INSTALL path (ex: set CFMX_INSTALL=c:\CFusionMX) goto end :usage echo usage: cfcompile [-f] -webroot webdir source [source ...] echo -f force compilation echo -webroot webdir the doc root of the webserver echo source file or directory containing CFM templates goto end :end @endlocal -end cfcompile.bat- --- Spike Washburn ColdFusion Development Team -Original Message- From: Critter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 2:35 PM To: CF-Talk Subject: Re: precompiling templates oi Brook!! i believe that script only works in the cfmx root... -- Critz Macromedia Certified Advanced ColdFusion Developer CFX_BotMaster Network=Efnet Channel=ColdFusion __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: precompiling templates
There is a -webinf argument you can pass to the Compiler to compile pages outside of the CFMX_INSTALL\wwwroot directory. I have attached the latest version of the cfcompile script that demonstrates how to use this argument. Instructions: 1. Save the cfcompile.bat file attached below into the CFMX_INSTALL\bin directory 2. Run cfcompile from the command-line according to the usage Usage: cfcompile [-f] -webroot webdir source [source ...] -fforce compilation -webroot webdir the doc root of the webserver sourcefile or directory containing CFM templates Usage examples: Compiling all changed files under the IIS doc root: c:\cfusionmx\bin\cfcompile.bat -webroot c:\Inetpub\wwwroot c:\Inetpub\wwwroot Recompiling all files under two subdirectory of the IIS doc root: c:\cfusionmx\bin\cfcompile.bat -f -webroot c:\Inetpub\wwwroot c:\Inetpub\wwwroot\myapp c:\Inetpub\wwwroot\myapp2 --start cfcompile.bat @echo off @setlocal if %CFMX_INSTALL%== set CFMX_INSTALL=.. if not exist %CFMX_INSTALL%\lib\cfusion.jar goto err_cfdir if %1== goto usage if %1==/? goto usage goto compile :compile set PATH=%CFMX_INSTALL%\runtime\bin;%PATH% java -classpath %CFMX_INSTALL%\lib\cfusion.jar coldfusion.tools.Compiler -webinf %CFMX_INSTALL%\wwwroot\WEB-INF %* goto end :err_cfdir echo Error: Could not locate %CFMX_INSTALL%\lib\cfusion.jar echo Please set CFMX_INSTALL path (ex: set CFMX_INSTALL=c:\CFusionMX) goto end :usage echo usage: cfcompile [-f] -webroot webdir source [source ...] echo -f force compilation echo -webroot webdir the doc root of the webserver echo source file or directory containing CFM templates goto end :end @endlocal -end cfcompile.bat- --- Spike Washburn ColdFusion Development Team -Original Message- From: Critter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 2:35 PM To: CF-Talk Subject: Re: precompiling templates oi Brook!! i believe that script only works in the cfmx root... -- Critz Macromedia Certified Advanced ColdFusion Developer CFX_BotMaster Network=Efnet Channel=ColdFusion __ 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
precompiling templates
Here goes again: Does anyone have a script to automate the compilation of cf templates. I tried this one from Robert Everland, but it does not work on my system. Has anyone else tried it (care to?), does it work for you? @setlocal set NEO_INSTALL=f:\cfusionMX set PATH=%NEO_INSTALL%\runtime\bin;%PATH% java -classpath %NEO_INSTALL%\lib\cfusion.jar coldfusion.tools.Compiler -webroot %NEO_INSTALL%\wwwroot %* @endlocal Brook Davies maracasmedia inc. At 12:43 PM 30/07/02 -0500, you wrote: I'd be interested in that tag too. -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 12:42 PM To: CF-Talk Subject: CFXImage not CFX_Image Hey All, Well I have discovered the other image tag CFXImage (not to be confused with CFX_Image). I got my hands on version 1.6.6.3, but I need the current version (1.6.6.6 I think) which has a security fix to stop users from potentially gaining access to ALL files on the partition that it resides on. The current version should come from www.gafware.com, but it was down yesterday and today!! So if anybody has a current version, please pass it along offlist. BTW Does anybody have experience with both tags? Any comments would be great. Thanks in advance Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: precompiling templates
I like the idea, would love to know also. -Original Message- From: Brook Davies [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Date: Tuesday, July 30, 2002 2:35 PM Subject: precompiling templates Here goes again: Does anyone have a script to automate the compilation of cf templates. I tried this one from Robert Everland, but it does not work on my system. Has anyone else tried it (care to?), does it work for you? --- - @setlocal set NEO_INSTALL=f:\cfusionMX set PATH=%NEO_INSTALL%\runtime\bin;%PATH% java -classpath %NEO_INSTALL%\lib\cfusion.jar coldfusion.tools.Compiler -webroot %NEO_INSTALL%\wwwroot %* @endlocal --- - Brook Davies maracasmedia inc. At 12:43 PM 30/07/02 -0500, you wrote: I'd be interested in that tag too. -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 12:42 PM To: CF-Talk Subject: CFXImage not CFX_Image Hey All, Well I have discovered the other image tag CFXImage (not to be confused with CFX_Image). I got my hands on version 1.6.6.3, but I need the current version (1.6.6.6 I think) which has a security fix to stop users from potentially gaining access to ALL files on the partition that it resides on. The current version should come from www.gafware.com, but it was down yesterday and today!! So if anybody has a current version, please pass it along offlist. BTW Does anybody have experience with both tags? Any comments would be great. Thanks in advance Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: precompiling templates
oi Brook!! i believe that script only works in the cfmx root... -- Critz Macromedia Certified Advanced ColdFusion Developer CFX_BotMaster Network=Efnet Channel=ColdFusion Tuesday, July 30, 2002, 2:42:35 PM, you wrote: BD Here goes again: BD Does anyone have a script to automate the compilation of cf templates. I BD tried this one from Robert Everland, but it does not work on my system. Has BD anyone else tried it (care to?), does it work for you? BD BD @setlocal BD set NEO_INSTALL=f:\cfusionMX BD set PATH=%NEO_INSTALL%\runtime\bin;%PATH% BD java -classpath %NEO_INSTALL%\lib\cfusion.jar BD coldfusion.tools.Compiler -webroot %NEO_INSTALL%\wwwroot %* BD @endlocal BD BD Brook Davies BD maracasmedia inc. BD At 12:43 PM 30/07/02 -0500, you wrote: I'd be interested in that tag too. -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 12:42 PM To: CF-Talk Subject: CFXImage not CFX_Image Hey All, Well I have discovered the other image tag CFXImage (not to be confused with CFX_Image). I got my hands on version 1.6.6.3, but I need the current version (1.6.6.6 I think) which has a security fix to stop users from potentially gaining access to ALL files on the partition that it resides on. The current version should come from www.gafware.com, but it was down yesterday and today!! So if anybody has a current version, please pass it along offlist. BTW Does anybody have experience with both tags? Any comments would be great. Thanks in advance Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com BD __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: precompiling templates
It did work for me, Brook could you describe your system, from OS to Java version to service pack, maybe some other people can help where I wasn't able to. Robert Everland III Web Developer Extraordinaire Dixon Ticonderoga Company http://www.dixonusa.com -Original Message- From: Bryan F. Hogan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 2:34 PM To: CF-Talk Subject: Re: precompiling templates I like the idea, would love to know also. -Original Message- From: Brook Davies [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Date: Tuesday, July 30, 2002 2:35 PM Subject: precompiling templates Here goes again: Does anyone have a script to automate the compilation of cf templates. I tried this one from Robert Everland, but it does not work on my system. Has anyone else tried it (care to?), does it work for you? --- - @setlocal set NEO_INSTALL=f:\cfusionMX set PATH=%NEO_INSTALL%\runtime\bin;%PATH% java -classpath %NEO_INSTALL%\lib\cfusion.jar coldfusion.tools.Compiler -webroot %NEO_INSTALL%\wwwroot %* @endlocal --- - Brook Davies maracasmedia inc. At 12:43 PM 30/07/02 -0500, you wrote: I'd be interested in that tag too. -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 12:42 PM To: CF-Talk Subject: CFXImage not CFX_Image Hey All, Well I have discovered the other image tag CFXImage (not to be confused with CFX_Image). I got my hands on version 1.6.6.3, but I need the current version (1.6.6.6 I think) which has a security fix to stop users from potentially gaining access to ALL files on the partition that it resides on. The current version should come from www.gafware.com, but it was down yesterday and today!! So if anybody has a current version, please pass it along offlist. BTW Does anybody have experience with both tags? Any comments would be great. Thanks in advance Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: precompiling templates
OS: Windows NT service Pack 6.a high encryption Java: How do I check this? Whatever came with CFMX I guess. I'm hoping some other people will try your script and we can get a bit of feedback. I did look into the JSL1.4 as you suggested, and I downloaded it. But It did not seem to come with an installer. What do I do with it after I download it? So who's gonna try the script below? Save it as mx.bat file and call it like mx.bat c:\inetpub\wwwroot\my_dir_to_compile\. Any luck? Brook Davies maracasmedia inc. At 02:32 PM 30/07/02 -0400, you wrote: It did work for me, Brook could you describe your system, from OS to Java version to service pack, maybe some other people can help where I wasn't able to. Robert Everland III Web Developer Extraordinaire Dixon Ticonderoga Company http://www.dixonusa.com -Original Message- From: Bryan F. Hogan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 2:34 PM To: CF-Talk Subject: Re: precompiling templates I like the idea, would love to know also. -Original Message- From: Brook Davies [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Date: Tuesday, July 30, 2002 2:35 PM Subject: precompiling templates Here goes again: Does anyone have a script to automate the compilation of cf templates. I tried this one from Robert Everland, but it does not work on my system. Has anyone else tried it (care to?), does it work for you? --- - @setlocal set NEO_INSTALL=f:\cfusionMX set PATH=%NEO_INSTALL%\runtime\bin;%PATH% java -classpath %NEO_INSTALL%\lib\cfusion.jar coldfusion.tools.Compiler -webroot %NEO_INSTALL%\wwwroot %* @endlocal --- - Brook Davies maracasmedia inc. At 12:43 PM 30/07/02 -0500, you wrote: I'd be interested in that tag too. -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 12:42 PM To: CF-Talk Subject: CFXImage not CFX_Image Hey All, Well I have discovered the other image tag CFXImage (not to be confused with CFX_Image). I got my hands on version 1.6.6.3, but I need the current version (1.6.6.6 I think) which has a security fix to stop users from potentially gaining access to ALL files on the partition that it resides on. The current version should come from www.gafware.com, but it was down yesterday and today!! So if anybody has a current version, please pass it along offlist. BTW Does anybody have experience with both tags? Any comments would be great. Thanks in advance Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists