MACROMEDIA COLFUSION MX 7 - CONFIGURING AND ADMINISTERING COLDFUSION MX Manual page 83

Hide thumbs Also See for COLFUSION MX 7 - CONFIGURING AND ADMINISTERING COLDFUSION MX:
Table of Contents

Advertisement

The following table describes these parameters:
Parameter
webroot
directory-to-compile
Sourceless distribution
You can use the
CFC, and CFR files) that contain Java bytecode. You can then deploy the bytecode versions of the
ColdFusion pages instead of the original CFML source code.
Use the following command to compile CFML files into bytecode format that you can deploy
instead of CFML source code:
cfcompile -deploy webroot directory-to-compile output-directory
The following table describes these parameters:
Parameter
webroot
directory-to-compile
output-directory
After you run the
Back up your original CFML files
1.
Copy the generated bytecode CFML files to the original directory
2.
Deploy the application.
3.
Tip: The J2EE Archive screen of the ColdFusion MX Administrator lets you create an EAR or WAR
file that contains bytecode versions of your application's CFML files.
Description
Fully qualified path to the web server root; for example,
C:\Inetpub\wwwroot or C:\CFusionMX7\wwwroot.
Fully qualified path to the directory where the files to be compiled are
located. This directory must be under the webroot directory. If not
specified, all ColdFusion templates in the webroot directory are compiled.
utility with the
cfcompile
Description
Fully qualified path to the web server root; for example,
C:\Inetpub\wwwroot or C:\CFusionMX7\wwwroot.
Fully qualified path to the directory where the files to be compiled are
located. This directory must be under the webroot directory. This is
required for the
Fully qualified path to the directory to contain the compiled deployable
files. This cannot be the same directory as the source directory.
utility, perform the following steps:
cfcompile
option to create ColdFusion pages (CFM,
-deploy
option.
-deploy
Using the cfcompile utility
83

Advertisement

Table of Contents
loading

Table of Contents