assemblies.xml Generator

assemblies.xml Generator

To simplify the generation of an assemblies.xml file for a SmartComponent Library based development workspace or deployment we have added a new tool to the SmartDB setup and migration routine https://consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8093744

The utility will generate an assemblies.xml based on a configuration file typically called assemblies-generator.json. For your convenience we are shipping a version of this file that should work for most customers in the assemblies.zip file available on the ESD:

(will be added manually to generated confluence page with release notes)

The configuration file contains multiple sections:

fromFolder

This section defines that all assemblies from the given folder will be added to the assemblies.xml file. The folderName is relative to the installroot argument passed to the utility. When the includeProbindPath attribute is set to TRUE also the folders referenced in the probing privatePath section of the assemblies.config file are included. The folders and assemblies referenced by the excludeSubfiolders and excludeAssemblies attributes are excluded.

infragistics

Adds Infragistics Control to assemblies XML. The source folder is specified by the from attribute and typically points to a given OpenEdge installation referenced by the DLC variable.

radControlSupport

Adds the Consultingwerk.RadControlSupport assembly to the assemblies.xml file. The version added to the assemblies.xml file will be matching the Telerik RadControl assemblies found in the folder referenced by the versionFrom attribute.

ultraControlsSupport

Adds the Consultingwerk.UltraControls assembly to the assemblies.xml file. The version added to the assemblies.xml file will be matching the Infragistics assemblies found in the folder referenced by the versionFrom attribute (typically from the OpenEdge installation).

includeAssemblies

This attribute references a list of assemblies that should be added to assemblies.xml - typically from the global assemblies cache (GAC).

 

The utility is launched from the setup.xml in the Setup folder of the SmartComponent Library installation like this:

ant createAssemblies -f setup.xml -Ddlc=%dlc% -Dinstallroot=.. -DconfigFile=Assemblies\assemblies-generator.json -DoutputFile=Assemblies\assemblies.xml -lib Install\PCT\PCT.jar

The arguments -DconfigFile and -DoutputFile are relatively to the installroot (not the Setup folder).

Alternatively with PCT in %DLC%:

%dlc%\ant\bin\ant createAssemblies -f setup.xml -Ddlc=%dlc% -Dinstallroot=.. -DconfigFile=Assemblies\assemblies-generator.json -DoutputFile=Assemblies\assemblies.xml -lib %dlc%\PCT\PCT.jar

Related content