It's all about the answers!

Ask a question

How to import new process template into server


Acer Lu (112) | asked Aug 11 '08, 4:01 p.m.
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



permanent link
Ryan Manwiller (1.3k1) | answered Aug 11 '08, 8:06 p.m.
JAZZ DEVELOPER
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

permanent link
Acer Lu (112) | answered Aug 12 '08, 4:11 p.m.
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.

permanent link
Martha (Ruby) Andrews (3.0k44351) | answered Aug 12 '08, 8:58 p.m.
JAZZ DEVELOPER
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

permanent link
Acer Lu (112) | answered Aug 13 '08, 12:45 p.m.
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.

permanent link
Kai-Uwe Maetzel (85611) | answered Aug 13 '08, 2:27 p.m.
JAZZ DEVELOPER
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
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.

Your answer


Register or to post 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.