Table of Contents |
---|
...
Parameter | Description |
---|---|
-lib Install/PCT/PCT.jar | Point 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 |
-Dsmartdbdir | The directory that contains the SmartDB |
-Dsmartdbsingleuser | true/false for single user vs. self-service DB connection (when -Dsmartdbdir is used) |
-Dsmartldbname | The (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". |
-DMm | Custom setting for -Mm parameter (defaults to 1024) |
-Dcpinternal | Custom setting for cpinternal (defaults to iso8859-1) |
-Dcpstream | Custom setting for cpstream (defaults to iso8859-1) |
-Dcpcoll | Custom setting for cpcoll (defaults to German-Library) |
-Dsilent.schema | When "yes", user will not be prompted before loading schema changes |
-Dsilent.data | When "yes", user will not be prompted before loading new data |
-Dtablearea | The area name for table allocation |
-Dindexarea | The area name for index allocation |
-Dlobarea | The area name for LOBs |
-DpreviewDelta | Logs the contents of the delta.df just before loading it |
...
Code Block | ||
---|---|---|
| ||
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 |