Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

Parameter

Description

-lib Install/PCT/PCT.jarPoint to a compatible PCT.jar library (currently at least PCT 208). We do provide a compatible PCT.jar in the Setup/Install/PCT folder.

-Dsmartdb

This must be the name of your SmartDB database, typically smartdb

-Dsmartdbhost

The host (server) that executes your SmartDB server process.

The migration routine does not support single user or shared memory connections.

-Dsmartdbport

The port number your SmartDB server is listening on

-DsmartdbdirThe directory that contains the SmartDB
-Dsmartdbsingleusertrue/false for single user vs. self-service DB connection (when -Dsmartdbdir is used)
-DsmartldbnameThe (optional) logical database name for the SmartDB. Should match the SmartDB setting in Consultingwerk/products.i

-Ddlc

Your Progress installation directory

-Dinstallroot

The folder that contains the current version of the SmartComponent Library.

This is the folder containing the “Consultingwerk” and “Setup” folder.

This is the folder that you unzipped the release of the SmartComponent Library into.

-Donline

This parameter is optional. When set to "true", an online schema change will be performed (-Donline="true").

A classic offline schema change will be performed when this parameter is either not set or set to "false".

-DMmCustom setting for -Mm parameter (defaults to 1024)
-DcpinternalCustom setting for cpinternal (defaults to iso8859-1)
-DcpstreamCustom setting for cpstream (defaults to iso8859-1)
-DcpcollCustom setting for cpcoll (defaults to German-Library)
-Dsilent.schemaWhen "yes", user will not be prompted before loading schema changes
-Dsilent.dataWhen "yes", user will not be prompted before loading new data
-DtableareaThe area name for table allocation
-DindexareaThe area name for index allocation
-DlobareaThe area name for LOBs
-DpreviewDeltaLogs the contents of the delta.df just before loading it

...

Code Block
languagepowershell
C:\Work_Training\SmartComponentLibrary>ant -lib Install/PCT/PCT.jar -f setup/setup.xml -Dsmartdb="smartdb" -Ddlc="c:\Progress\OpenEdge122_64" -Dinstallroot="c:\Work_training\SmartComponentLibrary" -Dsmartdbdir=C:\Work_Training\DB\SmartDB -Dtablearea=Data128 -Dindexarea=Index64 -Dlobarea=MyLobArea

ANT Targets

The setup.xml contains two ANT targets intended to be called by customers. 

  • setup - Updates the SmartFramework databases schema and contents and optionally compiles the framework
  • createLibrary - creates a Progress Procedure Library (.PL) with the R-Code and a .ZIP file with configuration files (e.g. XML or JSON) and include files. This target can optionally be used to create archives used to execute the framework tools instead of from source code

The setup target is the default target. 

Both targets can be executed separately or together:

Code Block
%DLC%\ant\bin\ant -lib Install/PCT/PCT.jar -f setup.xml -Dsmartdb="smartdb" -Dsmartdbdir="../../DB" -Dsmartdbsingleuser=true -Ddlc="%DLC%" -Dinstallroot=".." -Dcompile=full -Dassemblies="../Assemblies" setup createLibrary