compile adm2-directory for clientNetwork

fuehrera

New Member
Hi,
i made my first application with version 9.1d. I have the provision - the clients only have the clientNetwork-version of progress.
I am a little bit concerned, that it is necessary to compile the adm2 path (for instance smart.p ...) from the progress-installation directory and copy the compiled files to the clients.
Is this new in version 9 - because in version 8.3 I only compiled the application-files and put them to a network-share !!!
thx
andi
 
You don't need to compile ADM2, but you do need to ship it with your application. I think that this came in with version 9. Progress did used to distribute the ADM with run-time licenses but then stopped doing so.

In a way, they were correct to do so. The ADM is constantly being updated which means that the API that you develop on may be different to the API that the software runs on. As only you know which version that you are using it makes sense for you to distribute the version of the ADM that is compatible with your software.

All you really need to do is to distribute the ADM folder and .pl's (from DLC) and install it into your working directory on your client machines. Don't put it into DLC on the clients because you can mess up their Progress installation and they may have a different version installed anyway.

As long as your application working directory appears first in the PROPATH before the standard DLC entries, your software will use your distributed version of the ADM, rather than any other version that may be installed.
 
with .pl - files

Hello mike,

please can you tell me, which .pl - files I have to distribute to the clients?
There are some in the /gui -directory, and some in the /src - directory.

thank you
andi
 
Actually, I don't think that there are any PL's to distribute - It's just the /GUI/ADM2 folder that has to be copied. On a client-networking system, you should find that this folder is missing after installation.

So when you install your application, create a /GUI/ADM2 subfolder in the installation folder of your app and copy all the files from /DLC/GUI/ADM2 (from your development system) into it, including subfolders.

All the required PL's in /GUI should be there already, even on client-networking installations. There will be some files missing (e.g. those used only for development) but everything else should be there.
 
Back
Top