This is an automated email from the ASF dual-hosted git repository.
skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push:
new 605b4f3 [NETBEANS-4084] Fix Gradle Projects Wizard to remember the
last used Project Directory
new 9393d69 Merge pull request #2096 from lkishalmi/NETBEANS-4084
605b4f3 is described below
commit 605b4f3431428e1a5eab88c8232164eac7b3ada6
Author: Laszlo Kishalmi <[email protected]>
AuthorDate: Tue Apr 21 11:44:16 2020 -0700
[NETBEANS-4084] Fix Gradle Projects Wizard to remember the last used
Project Directory
---
.../modules/gradle/newproject/ProjectAttributesPanelVisual.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/groovy/gradle/src/org/netbeans/modules/gradle/newproject/ProjectAttributesPanelVisual.java
b/groovy/gradle/src/org/netbeans/modules/gradle/newproject/ProjectAttributesPanelVisual.java
index 169bcac..caf8d26 100644
---
a/groovy/gradle/src/org/netbeans/modules/gradle/newproject/ProjectAttributesPanelVisual.java
+++
b/groovy/gradle/src/org/netbeans/modules/gradle/newproject/ProjectAttributesPanelVisual.java
@@ -368,8 +368,10 @@ public final class ProjectAttributesPanelVisual extends
JPanel implements Docume
}
void write(WizardDescriptor settings) {
+ File projectFolder = new File(tfProjectLocation.getText());
+ ProjectChooser.setProjectsFolder(projectFolder);
settings.putProperty(CommonProjectActions.PROJECT_PARENT_FOLDER,
- new File(tfProjectLocation.getText()));
+ projectFolder);
settings.putProperty(PROP_NAME, tfProjectName.getText());
settings.putProperty(PROP_GROUP, tfGroup.getText());
settings.putProperty(PROP_VERSION, tfVersion.getText());
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists