Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

cfcompile deploy specific file only

$
0
0

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


Viewing all articles
Browse latest Browse all 5794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>