[
https://issues.apache.org/jira/browse/NETBEANS-4206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17089224#comment-17089224
]
Ernie Rael commented on NETBEANS-4206:
--------------------------------------
Thanks to your report about how the New Module action sets stuff up, I think I
know now where the original bug came from. The fix was incomplete, not wrong
(subject to changes in my understanding). The problem is that "projdir"
(PROJECT_PARENT_FOLDER) has two meanings:
* CreateNewModule action uses it to inform the wizard where to put the project
example: /tmp/parent
* the wizard uses it to inform project creation of the project directory
example: /tmp/parent/child
So things worked, as long as you didn't use the back button. When back/next are
entered, a new level is added to the project location.
> Maven Create New Module action uses wrong location
> --------------------------------------------------
>
> Key: NETBEANS-4206
> URL: https://issues.apache.org/jira/browse/NETBEANS-4206
> Project: NetBeans
> Issue Type: Bug
> Components: projects - Maven
> Affects Versions: 12.0
> Reporter: Neil C Smith
> Assignee: Ernie Rael
> Priority: Major
> Fix For: 12.0
>
>
> The fix for #2446 seems to result in the Create New Module action inside a
> parent Maven project creating the project in the wrong place.
> See use of CommonProjectActions.PROJECT_PARENT_FOLDER in
> [https://github.com/apache/netbeans/blob/master/java/maven/src/org/netbeans/modules/maven/nodes/ModulesNode.java#L334]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
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