File pptpFile = bundleAccess.getResourceAsFile(new URL(uri.toString()));
IFile targetFile = targetProject.getFile(pptpFile.getName());
if(targetFile.exists()) {
if(pptpFile.lastModified() > targetFile.getLocalTimeStamp()) {
targetFile.delete(IFile.FORCE | IFile.ALWAYS_DELETE_PROJECT_CONTENT, monitor);
targetFile.refreshLocal(IFile.DEPTH_ZERO, monitor);
targetFile.create(new FileInputStream(pptpFile), true, monitor);
}
}
else {
// delete all prefix-* resources already there (either none, or some other/older .pptp)