It's all about the answers!

Ask a question

How to configure a asynchronous task which uses a custom service ?


aastha khatri (22411) | asked Oct 06 '15, 2:15 p.m.
I have written an asynchronous task named com.process.tasks.DriverSynchronizationTask which uses a service com.process.service.ITestDriverService.

 <extension point="com.ibm.team.repository.service.asynchronousTask">
<asynchronousTask
            clusterPolicy="SCOPED_TO_CLUSTER"
            taskId="driverSynchronizationTask">
         <extensionService
               componentId="com.ibm.firmware.process"
               implementationClass="com.ibm.firmware.process.planning.DriverSynchronizationTask">
            <prerequisites>
  <requiredService interface="com.ibm.firmware.process.service.ITestDriverService"/>    
                            
             </prerequisites>
         </extensionService>
      </asynchronousTask>
</extension>

I get error that the DriverSynchronizationTask not present in component.
But when I remove the service it recognizes the task but says check the prerequisites in plugin.xml .

I am facing issue with configuring a service used by task. Please help me in understanding what I am doing wrong

Be the first one to answer this question!


Register or to post your answer.