Coldfusion10是否附带cfcompile实用程序,如果是,它位于何处?

时间:2012-07-26 15:42:34

标签: coldfusion compilation

根据文档,它应该在根文件夹中,但是当我在整个硬盘中搜索“cfcompile”时,没有任何内容出现。当我从命令提示符运行cfcompile时它也不起作用。

有人可以告诉我,ColdFusion10的免费版本是否带有cfcompile,如果确切如何访问它?

2 个答案:

答案 0 :(得分:3)

根据bug数据库,它是包含在ColdFusion 10中。它目前被列为open / tofix,因此可以自由投票:bug #3197628

(我猜它与切换到Tomcat有关,因为旧的cfcompile.bat文件引用了jrun.jar,由于显而易见的原因,它不再包括在内。)

答案 1 :(得分:2)

CFCompile问题已在CF10中修复。

请按照以下步骤将文件编译为字节码。

步骤1:转到文件夹C:\ Development \ Servers \ ColdFusion \ cfusion \ bin

语法

cfcompile -deploy

示例

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

相关问题