Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Running external rtc plain java program during project Initailization

Is it possible to run an external rtc plain java program when running the project intialization

This program will  modify the project Process Configuration source xml

0 votes



6 answers

Permanent link
i presume
you need to write a follow up action, a plug-in, which internally invokes your plain java program
or
have the plain java program functionality written into a plugin and use it as a follow-up action

here is another forum post which discusses a similar question
https://jazz.net/forum/questions/22842/area-initialization-follow-up-plugin

0 votes

Comments

I don't really want to go the plugin route, can I make a http call during intialization to call a external program?

This program will modify the project Process Configuration source xml.


Permanent link
there currently is no builtin function to enable what you want. as Dinesh mentions you would have to write a plugin to enable either approach.

0 votes

Comments

So are their examples using com.ibm.team.process.server.initializeProjectArea as a plugin?

do you mean 'from a plugin'?  as that code is NOT built like a participant plugin.

what exactly do you want to do as part of the project configuration?


Permanent link
I wish to change two parameters in default work items values, ie: insert the UUID of two access groups.

I wish to do this because you can only retrieve the UUID in the default java script using an HTTP call, I
would rather not do this every time a work item is created.

0 votes

Comments

thanks.. I can't think of another way to enable this..

you have to write a plugin to start the external program, or write a plugin to do the actual work.

then you configure the plugin as part of the process template base you use to create projects.


Permanent link
I guess their are examples how to create a plugin and configuring it a part of the process template??

0 votes


Permanent link
Server plugin

0 votes


Permanent link
the extensions workshop is here https://jazz.net/library/article/1000
once you are successful, then you configure it thru the repository connections -> administer -process templates,
select it, then right click, Open, then in the Project configuration ->Project area initialization section
click Add to add your plugin to the list to be executed at project init for this process template.
(note that if someone users another template, your plugin won't run).




0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jul 15 '13, 12:49 p.m.

Question was seen: 4,695 times

Last updated: Jul 16 '13, 11:40 a.m.

Confirmation Cancel Confirm