It's all about the answers!

Ask a question

How can I use apt services on server side?


Michele Pegoraro (1.8k14118103) | asked Mar 21 '17, 11:57 a.m.

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.

One answer



permanent link
SEC Servizi (97123660) | answered Sep 07 '17, 5:46 a.m.

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

Cheers.

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.