public IStatus launchResolve(boolean usePreviousResolveIfExist, IProgressMonitor monitor) {
ResolveRequest request = new ResolveRequest(new IvyClasspathResolver(this,
usePreviousResolveIfExist), getState());
request.setInWorkspace(getConf().getInheritedClasspathSetup().isResolveInWorkspace());
request.setTransitive(getConf().getInheritedClasspathSetup().isTransitiveResolve());
IvyResolveJob resolveJob = IvyPlugin.getDefault().getIvyResolveJob();
if (monitor != null) {
return resolveJob.launchRequest(request, monitor);
}
resolveJob.addRequest(request);
return Status.OK_STATUS;
}