Skip to content

Commit

Permalink
Fixed first composite creation
Browse files Browse the repository at this point in the history
Composite properties file creation was failing if properties directory
was not existent

Signed-off-by: kuzniarz <sebastian.kuzniarz@dieboldnixdorf.com>
  • Loading branch information
kuzniarz committed May 14, 2020
1 parent c948042 commit b8e7754
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ public boolean performCreateComposite(IWizardContainer container, IWorkingSetMan
workingSet.setId(IGradleCompositeIDs.NATURE);
workingSetManager.addWorkingSet(workingSet);


compositePreferenceFile.getParentFile().mkdir();
compositePreferenceFile.createNewFile();
FileOutputStream out = new FileOutputStream(compositePreferenceFile.getAbsoluteFile());
Properties prop = getConfiguration().toCompositeProperties().toProperties();
prop.store(out, " ");
Expand Down

0 comments on commit b8e7754

Please sign in to comment.