Skip to content

Commit

Permalink
Merge pull request bndtools#1942 from psoreide/project-tracker
Browse files Browse the repository at this point in the history
Fix: Refresh ProjectTracker when NewBndProjectWizard is done
  • Loading branch information
bjhargrave authored Oct 10, 2018
2 parents 2ed90b4 + 5ced53c commit cfe7995
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@ public void run(IProgressMonitor monitor) throws CoreException {
marker.setAttribute(IMarker.MESSAGE, "Missing Bnd Workspace. Create a new workspace with the 'New Bnd OSGi Workspace' wizard.");
marker.setAttribute(BuildErrorDetailsHandler.PROP_HAS_RESOLUTIONS, true);
marker.setAttribute("$bndType", BndtoolsConstants.MARKER_BND_MISSING_WORKSPACE);
} else {
Central.getWorkspace()
.refreshProjects();
}
} catch (Exception e1) {
// ignore exceptions, this is best effort to help new users
Expand Down

0 comments on commit cfe7995

Please sign in to comment.