How to import new process template into server
I created a new process template for system i customers by "new -> Process Template" in Process Template view. Now, I want to deploy it into the server code so that it can be used whenever a project is initialized.
How can I do that? Are there any document related to this? |
5 answers
If you are asking about using the template within the same respository, then
the template you created will already be available as a choice when a new project area is created. If you are asking how to get your template from one repository to another, you can export it, then import it in the other repository. Search the online help for "export process template". I've included a link here for convenience. https://jazz.net/jazzdocs/topic/com.ibm.team.platform.doc/topics/t_export_import_process_templates.html --- Ryan Manwiller Jazz Team |
What I want to do is to have it implemented into the RTCi server side source code. Therefore, after the user have the RTCi binary code package and start the server/client, they can find the template existing in the repository already. For example, the Eclipse Way Teamplate and CloudBurst Project Process Template. Both of them are existing already.
|
Hello,
You will need to write some code to include your template in the collection if templates that are available to be deployed. Extend the com.ibm.team.process.definition.server.processDefinitionCreators= extension point. Implement the AbstractProcessDefinitonCreator in a server-side plug-in. For an example, look at the ProcessDefinitionCreator_EclipseWay class. Martha Jazz Team |
I export the Eclipse way template into local fold and then compare the files structure and files names with those specified in the server side binary code. The file structure and name are different. For example, the exported file has 0.zip file contains all the skin, etc. But, in the server code, it has eclipse.zip. Also, the icons are different.
|
As you experienced the export format is different from the format that
is expected when you use a subclass of AbstractProcessDefinitonCreator. If you want to use the exported template as a blueprint you have to manually convert it into the structure required by AbstractProcessDefinitonCreator. See all existing subclasses of AbstractProcessDefinitionCreator as examples. Kai Jazz Process team acerlu wrote: I export the Eclipse way template into local fold and then compare the |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.