John Smith
John Smith

Reputation: 4516

Does Coldfusion10 come with the cfcompile utility and if so where is it located?

According to the documentation it's supposed to be in the root folder but when I search my entire hard drive for "cfcompile" nothing comes up. When I run cfcompile from the command prompt it also doesn't work.

Can someone tell me if the free version of ColdFusion10 comes with cfcompile and if so exactly how to access it?

Upvotes: 2

Views: 464

Answers (2)

PRV
PRV

Reputation: 21

CFCompile issue is fixed in CF10.

Please follow the below steps to compile files to bytecode.

Step 1: GO to the folder C:\Development\Servers\ColdFusion\cfusion\bin

Syntax

cfcompile -deploy

Example

cfcompile -deploy C:\Development\Servers\ColdFusion\cfusion\wwwroot C:\FilesToCompile C:\compiledFiles

Upvotes: 2

Leigh
Leigh

Reputation: 28873

According to the bug database, it is not included in ColdFusion 10. It is currently listed as an open/tofix, so feel free to vote for it: bug #3197628.

( I am guessing it is related to the switch to Tomcat, as the old cfcompile.bat file referenced jrun.jar, which is no longer included either for obvious reasons. )

Upvotes: 3

Related Questions