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

Problems Creating a custom precondition

I'm trying to create a custom precondition by modifying the process configuration xml with the following:

<precondition>
<filePattern>
<requires>
<approval>
<approvers>
</approval>
</requires>
</precondition>

I noticed on the wiki about having to create my own plug-in and implementing an extension to add preconditions, but since I just want to combine parts of one's already created can I do this just by modifying the process configuration xml as shown?

0 votes



2 answers

Permanent link
I'm not sure I entirely understand your question. If my answer doesn't
help, could you provide more details on what you're trying to do?...

When you specify a precondition in the XML, you have to specify an ID.
This ID ultimately lets us map to some code that is contributed via a
plug-in. This code is handed the block of XML that's inside the
precondition, which can conform to a custom schema for that
precondition. But if you specify XML that doesn't conform to the
precondition's schema, the code won't know what to do with it.

Hope that helps,
Jared Burns
Jazz Process Team


kjdoyle wrote:
I'm trying to create a custom precondition by modifying the process
configuration xml with the following:

precondition
<filePattern
<requires
<approval
<approvers
</approval
</requires
</precondition

I noticed on the wiki about having to create my own plug-in and
implementing an extension to add preconditions, but since I just want
to combine parts of one's already created can I do this just by
modifying the process configuration xml as shown?

0 votes


Permanent link
Thanks Jared that answered my question.

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: Oct 01 '08, 4:16 p.m.

Question was seen: 4,578 times

Last updated: Oct 01 '08, 4:16 p.m.

Confirmation Cancel Confirm