It's all about the answers!

Ask a question

problem with AbstractSnapshotTask


Andrea Ianni (1611916) | asked May 14 '09, 8:34 a.m.
Hi,
I trying to extended the data warehouse for storage any custom field.

I have set "Plug-in Development"->Target Platform with this path \server\update-site.

I have this error "The type com.ibm.team.repository.service.async.AbstractAutoScheduledTask cannot be resolved.
It is indirectly referenced from required .class files" when I try to write this class:


package com.ibm.team.datawarehouse.service.odc.internal;

import com.ibm.team.datawarehouse.service.AbstractSnapshotTask;
import com.ibm.team.datawarehouse.service.ISnapshotService;
import com.ibm.team.datawarehouse.service.odc.IOdcSnapshotService;

/*
* This class is used by the plugin for automatic snapshots.
*/
public class OdcSnapshotTask extends AbstractSnapshotTask {

private final static String TASK_ID = "OdcSnapshotTask";

@Override
public String getTaskId() {
return TASK_ID;
}

@Override
protected ISnapshotService getSnapshotService() {
return getService(IOdcSnapshotService.class);
}

}


Any suggestions?
Regards
Andrea

Be the first one to answer this question!


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.