mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEADEV-41308: Artifacts: excluding an artifact from deployment configuration sets "build artifacts" to true
This commit is contained in:
@@ -151,11 +151,14 @@ public class BuildArtifactsBeforeRun implements BeforeRunTaskProvider<BuildArtif
|
||||
final BuildArtifactsBeforeRunTask task = (BuildArtifactsBeforeRunTask)editor.getStepsBeforeLaunch().get(ID);
|
||||
if (enable) {
|
||||
task.addArtifact(artifact);
|
||||
task.setEnabled(true);
|
||||
}
|
||||
else {
|
||||
task.removeArtifact(artifact);
|
||||
if (task.getArtifactPointers().isEmpty()) {
|
||||
task.setEnabled(false);
|
||||
}
|
||||
}
|
||||
task.setEnabled(!task.getArtifactPointers().isEmpty());
|
||||
editor.updateBeforeRunTaskPanel(ID);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user