0 Replies Latest reply on May 28, 2014 1:47 AM by Tiono

    cfcompile deploy specific file only


      Our company has an application that use cfcompile -deploy targeting certain cfml file. Before update to CF 11 everything run fine. But now the cfcompile won't work.


      This is the command that our application execute :


      cfcompile -deploy "c:\inetpub\wwwroot\" "c:\inetpub\wwwroot\app\index.cfm" "c:\inetpub\wwwroot\app\index_comp.cfm"


      using CF10 cfcompile will successfully compile and generate file index_comp.cfm. When same command is used in CF11 cfcompile will produce error :



              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

              at java.lang.reflect.Method.invoke(Unknown Source)

              at coldfusion.tools.CommandLineInvoker.main(CommandLineInvoker.java:108)

      Caused by: java.lang.NullPointerException

              at coldfusion.tools.Compiler.isExcluded(Compiler.java:963)

              at coldfusion.tools.Compiler.compileForSourcelessDeploy(Compiler.java:573)

              at coldfusion.tools.Compiler.compileForSourcelessDeploy(Compiler.java:514)

              at coldfusion.tools.Compiler.main(Compiler.java:301)

              ... 5 more


      Is this a CF11 bug or is it something to do with JRE? CF10 use java version 1.6 and CF11 use 1.7.


      Any help is appreciated.