mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
copy downloaded files to the requested dir (IDEA-183740)
This commit is contained in:
@@ -81,7 +81,7 @@ public class IdeaProjectModelModifier extends JavaProjectModelModifier {
|
||||
|
||||
RepositoryLibraryProperties libraryProperties = new RepositoryLibraryProperties(dialog.getCoordinateText(), true);
|
||||
Collection<OrderRoot> roots =
|
||||
JarRepositoryManager.loadDependenciesModal(myProject, libraryProperties, dialog.getAttachSources(), dialog.getAttachJavaDoc(), null, null);
|
||||
JarRepositoryManager.loadDependenciesModal(myProject, libraryProperties, dialog.getAttachSources(), dialog.getAttachJavaDoc(), dialog.getDirectoryPath(), null);
|
||||
if (roots.isEmpty()) {
|
||||
Messages.showErrorDialog(myProject, descriptor.getPresentableName() + " was not loaded.", "Failed to Download Library");
|
||||
return Promises.rejectedPromise();
|
||||
|
||||
Reference in New Issue
Block a user