This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 269045 - Netbeans 8.2 does not support Grails 3 multiproject.
Summary: Netbeans 8.2 does not support Grails 3 multiproject.
Status: NEW
Alias: None
Product: groovy
Classification: Unclassified
Component: Grails (show other bugs)
Version: 8.2
Hardware: PC Linux
: P4 normal with 1 vote (vote)
Assignee: bruno.flavio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-19 12:57 UTC by andrea.t
Modified: 2017-01-22 10:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Example project (712.50 KB, application/zip)
2016-11-19 12:57 UTC, andrea.t
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andrea.t 2016-11-19 12:57:31 UTC
Created attachment 162963 [details]
Example project

Product Version: NetBeans IDE 8.2 (Build 201609300101)
Java: 1.8.0_111; Java HotSpot(TM) 64-Bit Server VM 25.111-b14
Runtime: Java(TM) SE Runtime Environment 1.8.0_111-b14
System: Linux version 4.4.0-47-generic running on amd64; UTF-8; en_US (nb)

Netbeans 8.2 does not support Grails 3 multiproject.
See the attached project, myapp has a dependency to myplugin, see myapp build.gradle

dependencies {
  compile project(":myplugin")
...
}

but netbeans does not resolves the references of classes/dependencies contained in myplugin,
see TestController of myapp project.

If you run "grails run-app" in myapp directory everything works fine so it is a Netbeans related issue.
Comment 1 bruno.flavio 2016-11-21 23:46:14 UTC
Hello Andrea,

Thank you for reporting this issue.

I've downloaded the example project you've provided and tried the following: 

1. (on the CLI): gradle clean
2. (on the CLI): grails run-app, successfully
3. (on NetBeans): run the project, successfully. 

So, to clarify, the issue that you're reporting is not the ability to run the project using NetBeans but rather the fact that errors are shown in all the references to myplugin. Correct?


Thank you,
-Bruno.
Comment 2 andrea.t 2016-11-22 08:57:25 UTC
"errors are shown in all the references to myplugin".

Exactly this.
Comment 3 andrea.t 2017-01-22 10:15:59 UTC
Hi,
any update?