Saving Generated Java Source Code

ColdFusion MX generates Java source code for CFM pages and then compiles them into Java bytecode (.class files). By default the Java source (.java files) are not saved. You may change this behavior by modifying the web.xml file in the WEB-INF directory, setting coldfusion.compiler.saveJava to “true”. Note that this should be considered a debugging option only, and changes should never be made to .java files as these will be overwritten the next time ColdFusion generates code for changed .CFM files. (Applies to: ColdFusion MX)

Leave a Reply