logger.severe(e.getMessage());
}
private void process(IArtefactPosition position,
DetailProgressMonitor monitor) throws ParseException {
ReferenceManager refManager = ReferenceManager.getInstance();
XMLArtefact artefact = refManager.parseArtefact(position);
artefact.setContext(position.getTutorialDocument());
XMLReference reference = refManager.getReference(artefact);
try {
// TODO externalize
logger.info("prepare integration"); //$NON-NLS-1$
boolean hasChanged = prepareIntegration(reference);
if (hasChanged)
refManager.saveReference(reference, artefact);
} catch (MissingProviderException e) {
return;
} catch (IntegrationException e) {
return;
}