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

Follow-up for "Save Lab Resource" operation

Hi, I am not sure that this is the right forum to post this, if not, please move to the right one. This is my first post, please forgive me :)

I want the server to perform some stuff when I save a lab resource. I tried to write a follow-up like this


package example.resource;

import org.eclipse.core.runtime.IProgressMonitor;

import com.ibm.team.process.common.IProcessConfigurationElement;
import com.ibm.team.process.common.advice.AdvisableOperation;
import com.ibm.team.process.common.advice.runtime.IOperationParticipant;
import com.ibm.team.process.common.advice.runtime.IParticipantInfoCollector;
import com.ibm.team.repository.common.TeamRepositoryException;

public class SaveLabRes implements IOperationParticipant {

public void run(AdvisableOperation operation,
IProcessConfigurationElement participantConfig,
IParticipantInfoCollector collector, IProgressMonitor monitor)
throws TeamRepositoryException {

// doing some stuff...

System.out.println("Hi man, you're saving a lab resource");
}

}



I deployed in my local server, and I restarted the server. I opened the RTC client and then I tried to add the follow-up to the "Save Lab Resource" operation behavior, but I cannot see it, nor in the Team Configuration section, nor in the Project Configuration one.
So I tried to add the follow-up by hand in the "Process Configuration Source" tab. I added these lines:


<operation>
<followup>
<followup>
</followup>
</operation>


in the "behavior" section of the "team configuration".
Now I can see the follow-up in the Team Configuration section of the Process Configuration tab.
When I tried to save a lab resource nothing happens.
thanks

Best Regards

0 votes



One answer

Permanent link
Did you solve the problem???

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 20 '10, 9:47 a.m.

Question was seen: 5,226 times

Last updated: Jul 20 '10, 9:47 a.m.

Confirmation Cancel Confirm