Skip to content

Commit a83e688

Browse files
authored
Merge pull request #6550 from chrisrueger/improve-bndrun-on-changed-includes
bndrun: refresh model before Resolve to get changes of included .bndrun files
2 parents 8c004fb + a09dc6e commit a83e688

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bndtools.core/src/bndtools/editor/project/RunRequirementsPart.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,11 @@ public void dispose() {
159159
private void doResolve() {
160160
IFormPage formPage = (IFormPage) getManagedForm().getContainer();
161161
BndEditor editor = (BndEditor) formPage.getEditor();
162+
163+
// editor.doSave() is important
164+
// to get changes of included .bndrun files before resolving
165+
// (e.g. -include: shared.bndrun)
166+
editor.doSave(null);
162167
refreshFromModel();
163168
commit(false);
164169
editor.resolveRunBundles(new NullProgressMonitor(), false);

0 commit comments

Comments
 (0)