Migration Guide : Migrating from Version 5.0 : Importing feature code
Importing feature code
All feature code must be imported into the manager at install time. This is true whether a feature is loaded via the new feature-loading maps or via the older control files. VA Smalltalk installs a Library Importer Tool in the <vast>\importer directory of machines with the client or manager product installed.
Windows: Library Importer Tool is called importer.exe.
Linux: Library Importer Tool is called importer.
The Library Importer Tool accepts the following parameters:
-z.target=
accepts the location of the target library. This is the customer's current code library. The library can be specified in one of two ways:
libraryPath
This will use fileIO to access the library.
server::libraryPath
This will use EMSRV to access the library.
-z.source=
accepts the location of the source import library. The format is the same as for the target.
-z.sourcedir=
accepts a directory path. Code will be copied from of each library (i.e. each file with a DAT extnsion) in the directory.
Note:
Either -z.source or -z.sourcedir must be specified, but never both.
-z.silent
Runs with no user interface (no longer used as of V8.6.3; it will be ignored)
-z.allVersions
Accepts ‘true’ to import all versions of configuration maps in the source library or ‘false’ to import only the newest version of configuration maps in the source library (default is ‘true’).
After the tool runs, check for non-zero exit codes. The Library Importer Tool will end with a 0 (zero) exit code if the import was successful. If the import was not successful, the tool will end with a non-zero exit code.
The following are examples of how to run the Library Importer Tool :
importer.exe -z.target=zot::d:\vast1002\manager\mgr1002.dat -z.source=e:\tmp\myfeat.dat
importer.exe -z.target=zot::d:\Program_Files\10.0\manager\mgr1002.dat -z.source=e:\tmp\myfeat.dat
importer.exe -z.target=zot::d:\vast1002\manager\mgr1002.dat -z.sourcedir=e:\tmp\featureDir
Note:
With File I/O only one person may be using the code library at any one time or you will get the following error message:
Error 65: Open Failed.
 
Last modified date: 06/26/2020