Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-user] Creating a new Resource Manager

This is probably the wrong list for this question, so please help me find the right one.

I'm developing a new PTP resource manager object. By way of testing and figuring out how things work, I create a fake job that does nothing.

I subclass org.eclipse.ptp.rmsystem.AbstractResourceManager and provide it with a method:

    @Override
    protected IPJob doSubmitJob(String subId,
            ILaunchConfiguration configuration, AttributeManager attrMgr,
            IProgressMonitor monitor) throws CoreException {
        // TODO Auto-generated method stub
        System.out.println("doSubmitJob");
        if(monitor != null) {
            monitor.done();
        }
        IPJob job = newJob(queue, subId, new AttributeManager());
        return job;
    }

This puts the job to the 85% completed stage, but it does not get any further. How do I make the job show as complete? Thx.

Cheers,
Steve


Back to the top