[
https://issues.apache.org/jira/browse/NETBEANS-2629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16858236#comment-16858236
]
Lou Hamersly commented on NETBEANS-2629:
----------------------------------------
I agree in principle that this should be discouraged. My first instinct was
that the project should be modified so a relative path like this isn't
necessary. Unfortunately based on the quick testing I did, I believe this
project may have a reason to use a relative path (maybe a little too deep to
get into here). I haven't explored whether there's a reasonable workaround yet.
Also I can imagine one argument: "It works fine in Gradle outside of NetBeans,
so why shouldn't NB support it?" I don't know if I have a strong opinion on the
matter right now, but I thought I should at least report the issue.
> "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