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"
}
Optional settings for silentCompile or silentMode to suppress status
messages in batch-mode (Jenkins)
This class is designed for OpenEdge 11 and up



Top Method Summary
Options Name Purpose
CompilingFileHandler (CompilingFileEventArgs) Event handler for the CompilingFile event of the CompilerHelper
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
Consultingwerk.Framework.Collections.CharacterList GetIcons (character)
UpdateBaseFileList (character, character) Updates the given WCP file with the file list from the target path

Top Constructor Summary
Options Name Purpose
WebClientPackageHelper () Static constructor of the WebClientPackageHelper class
WebClientPackageHelper () Disallow instance creation


Method Detail
Top

CompilingFileHandler (CompilingFileEventArgs)

Purpose: Event handler for the CompilingFile event of the CompilerHelper
Notes:

Parameters:
e Consultingwerk.Studio.CompilingFileEventArgs
The CompilingFileEventArgs with the data for this event
Top

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

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
Top

Consultingwerk.Framework.Collections.CharacterList GetIcons (character)

Purpose:
Notes:

Parameters:
pcWcpFile CHARACTER
The name of the .wcp file
Returns Consultingwerk.Framework.Collections.CharacterList
The CharacterList with the names of the icon files
Top

UpdateBaseFileList (character, character)

Purpose: Updates the given WCP file with the file list from the target path
Notes: Updates the base component only

Parameters:
pcWcpFile CHARACTER
The name of the .wcp file
pcTargetPath CHARACTER
The target path of the deployment


Constructor Detail
Top

STATIC WebClientPackageHelper ()

Purpose: Static constructor of the WebClientPackageHelper class
Notes:

Top

WebClientPackageHelper ()

Purpose: Disallow instance creation
Notes:



©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       03.05.2026 21:46:14