DeploymentManager Object
259
// ===========================================================
// 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();
}
Содержание ColdFusion Server 5
Страница 18: ...xviii About This Book...
Страница 26: ...8 Chapter 1 Setting Up the Product...
Страница 42: ...24 Chapter 2 Configuring Browsers and Servers...
Страница 60: ...42 Chapter 3 Exploring the Workspace...
Страница 100: ...82 Chapter 6 Editing Pages...
Страница 126: ...108 Chapter 7 Using Web Development Languages...
Страница 212: ...194 Chapter 13 Customizing the Development Environment...
Страница 320: ...302 Glossary...