Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions bndtools.core/src/bndtools/central/sync/WorkspaceChange.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ private IStatus done0(IProgressMonitor monitor) {
if (cancel || monitor.isCanceled())
return Status.CANCEL_STATUS;

if (!ResourcesPlugin.getWorkspace()
.isAutoBuilding()) {
return Status.warning(
"[cnf change] Skip FULL build, because 'Build Automatically' is disabled.");
}

workspace.build(IncrementalProjectBuilder.FULL_BUILD, monitor);
} catch (CoreException e) {
return Status.error("trying to build", e);
Expand Down
3 changes: 2 additions & 1 deletion bndtools.core/src/bndtools/explorer/BndtoolsExplorer.java
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,8 @@ private boolean isSelected(IProject project, String name) {
}

private Action reloadAction() {
Action rebuild = new Action("Reload workspace", Icons.desc("refresh")) {
Action rebuild = new Action("Reload workspace (Rebuilds all projects if 'Build Automatically' is enabled)",
Icons.desc("refresh")) {
WorkspaceSynchronizer s;

@Override
Expand Down