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

PRIVATE 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

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
Top

PROTECTED 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

PUBLIC 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

PRIVATE WebClientPackageHelper ()

Purpose: Disallow instance creation
Notes:



©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:23:25