Namespace: Consultingwerk.Studio
Class 
WebClientPackageHelper Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:WebClientPackageHelper
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Mon Jan 30 08:38:45 CET 2012
Notes:A sample Json Configuration file may look like this:
{
"TargetPath": "..\\WebClient",
"CompileFiles": "*.cls,*.w,*.p",
"CompileLogFile": "..\\compile.log",
"CopyFiles": "*.xml,appsrvtt.d,*.resx,*.dll,*.png,*.gif,*.bmp,*.jpg",
"InfragisticsAssembliesFrom": "%DLC%\\bin\\infragistics\\winforms",
"InfragisticsAssembliesTo": "..\\WebClient\\Assemblies",
"AlternativeConfigDirectory": "..\\WebClientConfig"
}
This class is designed for OpenEdge 11 and up



Top Method Summary
Options Name Purpose
+ CreateDeployment (character) Creates a WebClient Deployment based on a configuration file (Json)
+ CreateDeployment (JsonObject) Creates a WebClient Deployment based on configuration data in a JsonObject

Top Constructor Summary
Options Name Purpose
- WebClientPackageHelper () Disallow instance creation


Method Detail
Top

PUBLIC CreateDeployment (character)

Purpose: Creates a WebClient Deployment based on a configuration file (Json)
Notes: The Json File needs to match a JsonObject with the following properties:
TargetPath, CompileFiles, CompileLogFile, CopyFiles, InfragisticsAssembliesFrom

Parameters:
pcConfigFile CHARACTER
The name of the Json configuration file
Top

PUBLIC CreateDeployment (JsonObject)

Purpose: Creates a WebClient Deployment based on configuration data in a JsonObject
Notes: The JsonObject needs to have the following properties: TargetPath,
CompileFiles, CompileLogFile, CopyFiles, InfragisticsAssembliesFrom

Parameters:
poConfigJsonObject Progress.Json.ObjectModel.JsonObject
The JsonObject with the configuration data


Constructor Detail
Top

PRIVATE WebClientPackageHelper ()

Purpose: Disallow instance creation
Notes:



©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:33:03