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

How can I use apt services on server side?

Hi,
I'm trying to use some apt service to work with plans on server side, but I got some strange error like the classes can't be found:

If I try to run command like these:

IPlanningCommon pc = (IPlanningCommon)getService(IPlanningCommon.class);

I obtain this kind of error:
ERROR t.internal.registry.AbstractActivationManagerOwner  - The class "com.ibm.team.apt.internal.common.IPlanningCommon" failed to load. The bundle "my.bundle.name" could not find the class.

The same for the com.ibm.team.apt.internal.common.rcp.IIterationPlanService class. But these classes/plugin are part of the SDK so I don't really understand why they are not found if used like other services as usual..

Any hints on how to use these class on server side?

Thanks,
Michele.

0 votes



One answer

Permanent link

Have you try to get the service com.ibm.team.apt.service.IPlanningServerService, too?

Cheers.

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
× 10,950
× 3

Question asked: Mar 21 '17, 11:57 a.m.

Question was seen: 2,094 times

Last updated: Sep 07 '17, 5:46 a.m.

Confirmation Cancel Confirm