• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

cfcompile deploy specific file only

Explorer ,
May 28, 2014 May 28, 2014

Copy link to clipboard

Copied

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 :

java.lang.reflect.InvocationTargetException

        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.

Thanks

Views

240

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources
Documentation