Page 1 of 1

How to put Plugin in Project Template

Posted: Fri Jul 16, 2004 11:05 am
by lgharis
I installed a Plugin (new version of MQ Series) into all projects on a server using dspackinst. When I create a new project it picks up the old version of the plugin. How can I update the Project Template so that new projects that are created will have the new plugin version?

Posted: Fri Jul 16, 2004 1:08 pm
by chulett
I'd suggest going back and re-doing this using the Server installation / upgrade methodology rather than by using the package installer. Just found this in the 7.5 Release Notes:
If the installation program detects plug-ins that were installed at a previous release, it upgrades them automatically. If the installation program cannot detect plug-ins that were installed (this is typically because they have been installed by the 'dspackinst' command rather than by the server installation program) these plug-ins will not be upgraded automatically. These plug-ins can still be upgraded by the installation program, but the user must select them specifically.
This will also make sure they get added to the Template project.

Posted: Fri Jul 16, 2004 4:29 pm
by ray.wurlod
I believe it's not possible to install a plug-in to the Template, which initially appears to be a regular project until you determine that it lacks a VOC (which would be vital for any install process).

Reinstalling the server with re-selected options will cause the plug-in stage to be directly installed in the appropriate Repository tables (such as DS_STAGETYPES and DS_PLUGIN_STAGES) rather than working through the VOC, which is how the Package Installer works.

The geeks among us might ask whether it would be possible to install the plug-in stage in a regular project then copy the Repository table records into the Template "project". Of course it would be possible, provided you knew exactly which records to copy, and from and to where, and what's involved with registering it!

How to put Security in Project Template

Posted: Wed Aug 25, 2004 1:41 pm
by Athorne
Along the same lines, does anyone know how to put a Security setup into the project template. By default and new project does not have a .prodmgr.adm, .developer.adm, or .operator.adm. I made an assumption that by configuring a project the way I wanted the security and copying these three files into the Template project, I would be able to replicate that security into each new project I create. This of course is not the fact. Does anyone know what I need to do to get the security settings into the Template project and have it replicate to new projects?

Thanks,
Andy

Posted: Wed Aug 25, 2004 4:59 pm
by ray.wurlod
These files are created afresh when the new project is added.

You could, of course, copy them from the Template project afterwards.

But there's nothing in the product itself to do this.