MACROMEDIA COLDFUSION STUDIO 5-USING COLDFUSION 5 STUDIO Use Manual page 277

Table of Contents

Advertisement

DeploymentManager Object
}
// ===========================================================
//
Iterate through Project Folders
//===========================================================
for (j=0; j <= DeploymentManager.FolderCount-1; j++) {
sFolderName = DeploymentManager.GetFolderName(j);
sDeployPath = DeploymentManager.GetFolderDeployPath(j);
//=========================================================
//
isFolderDeployable reflects the Deployment Options you
chose for the folder
//==========================================================
if (DeploymentManager.IsFolderDeployable(sFolderName)) {
// =====================================================
// Iterate through Folder Files
//=======================================================
for (n=0; n <=
DeploymentManager.GetFolderFileCount(sFolderName)-1; n++) {
sFromFile =
DeploymentManager.GetFolderFileName(sFolderName,n);
sTargetFile =
DeploymentManager.GetDeployTargetName(sServerName,sFolderName,
n);
DeploymentManager.UploadFile(sFromFile,sTargetFile);
} // n...
} // if (IsFolderDeployable(sFolderName))...
} // j...
} // if GetDeployServerStatus...
} // i...
DeploymentManager.CloseProject();
259

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION STUDIO 5-USING COLDFUSION 5 STUDIO and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Coldfusion studio 5

Table of Contents