Skip to content

Commit

Permalink
Merge pull request bndtools#1939 from pkriens/pkriens/inform-workspace
Browse files Browse the repository at this point in the history
Pkriens/inform workspace
  • Loading branch information
pkriens authored Sep 21, 2018
2 parents ab90b27 + 2c69a52 commit 423a5c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bndtools.core/bndtools.shared.bndrun
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ crossplatform.bundles: \
org.w3c.dom.smil,\
org.w3c.dom.svg

crossplatform.vmargs: -Xmx512m -XX:MaxPermSize=256m
crossplatform.vmargs: -Xmx2g

crossplatform.runprops: \
eclipse.application=org.eclipse.ui.ide.workbench,\
Expand Down
1 change: 1 addition & 0 deletions bndtools.core/src/bndtools/central/Central.java
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ public static Workspace getWorkspace() throws Exception {
if (ws != null) {
ws.close();
}
logger.logError("Init of workspace", e);
throw e;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public boolean visit(IResourceDelta delta) throws CoreException {

if (delta.getKind() == IResourceDelta.ADDED || delta.getKind() == IResourceDelta.REMOVED) {
refresh.set(true);
workspace.refreshProjects();
return false;
}
for (IResourceDelta subDelta : delta.getAffectedChildren(IResourceDelta.ADDED | IResourceDelta.REMOVED | IResourceDelta.CHANGED))
Expand Down

0 comments on commit 423a5c6

Please sign in to comment.