Skip to content

Commit e00b3d7

Browse files
author
jantje
committed
Added a refresh local at the end
In case of creating projects based on samples the code is copied at the level of the os To have eclipse see the files a refres is needed
1 parent a5761a5 commit e00b3d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

io.sloeber.core/src/io/sloeber/core/api/BoardDescriptor.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ public IProject createProject(String projectName, URI projectURI,
240240
CoreModel.getDefault().getProjectDescriptionManager().setProjectDescription(projectHandle, prjCDesc, true,
241241
null);
242242
projectHandle.setDescription(desc, new NullProgressMonitor());
243+
projectHandle.refreshLocal(IResource.DEPTH_INFINITE, null);
243244
monitor.done();
244245
return projectHandle;
245246
}

0 commit comments

Comments
 (0)