[
https://issues.apache.org/jira/browse/NETBEANS-2629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16857744#comment-16857744
]
Laszlo Kishalmi commented on NETBEANS-2629:
-------------------------------------------
However the proposed patch resolves the issue, it opens the gate for a series
of mishaps. This kind of project open the possibility to share java sourcefiles
between projects, which contradicts the NetBeans one source file, one project
paradigm. So NetBeans would be in trouble which classpath shall it associate
with the file when it is loaded into the editor.
So generally these kind of projects are bad practice.
> "Error Node" shown when using relative path in srcDir parameter
> ---------------------------------------------------------------
>
> Key: NETBEANS-2629
> URL: https://issues.apache.org/jira/browse/NETBEANS-2629
> Project: NetBeans
> Issue Type: Bug
> Components: projects - Gradle
> Reporter: Lou Hamersly
> Assignee: Laszlo Kishalmi
> Priority: Major
> Labels: pull-request-available
> Attachments: Screenshot from 2019-06-02 14-18-24.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Error Node is displayed in Projects tab when using a relative path to a src
> folder. An absolute path doesn't work either.
> {code:java}
> sourceSets {
> main {
> java {
> srcDir 'src/main/java'
> srcDir '../jme3-bullet/src/common/java'
> }
> }
> }{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
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