Re: Resolving imports with multiple source roots

2018-11-17 Thread Blake McBride
Thanks. Good advice. I did figure it out though (thanks stackoverflow!). Now I just need to figure out why Groovy breakpoints aren't honored. On Sat, Nov 17, 2018 at 1:06 PM Geertjan Wielenga wrote: > I'd recommend asking all questions that relate to Gradle and NetBeans here > in the form of i

Re: Resolving imports with multiple source roots

2018-11-17 Thread Geertjan Wielenga
I'd recommend asking all questions that relate to Gradle and NetBeans here in the form of issues: https://github.com/kelemen/netbeans-gradle-project Gj On Sat, Nov 17, 2018 at 7:34 PM Blake McBride wrote: > On Sat, Nov 17, 2018 at 11:44 AM Emilian Bold > wrote: > >> NetBeans seems to be confi

Re: Resolving imports with multiple source roots

2018-11-17 Thread Blake McBride
I fixed the source path problem by adding the following to build.gradle: sourceSets { main { java { srcDir 'src/main/java' srcDir 'src/main/application' } } } Breakpoints in groovy code are still ignored with either type of project (NetBeans or Gra

Re: Resolving imports with multiple source roots

2018-11-17 Thread Blake McBride
On Sat, Nov 17, 2018 at 11:44 AM Emilian Bold wrote: > NetBeans seems to be configured already with the sources (see screenshot). > There are two ways of dealing with the project setup: 1. A NetBeans project 2. A Gradle project The code on Github is using a NetBeans project and I am able to

Fwd: Resolving imports with multiple source roots

2018-11-17 Thread Blake McBride
Hi, and thanks for the response. This is a Gradle / tomcat / Java / Groovy app. The project is at https://github.com/kiss-web/Kiss I developed it with IntelliJ and it works well. I'm trying to port it over to NetBeans to allow free development. Under NetBeans, breakpoints in Groovy don't work,

Re: Resolving imports with multiple source roots

2018-11-16 Thread Emilian Bold
You didn't mention what kind of project you are using. The Sources window you have in the screenshot is for the Debugger so it doesn't configure the editor in any way. The Ant-based 'Java Project with Existing Sources' works for me (just tested). You can probably also configure a Maven project for

Resolving imports with multiple source roots

2018-11-16 Thread Blake McBride
Greetings, I am using NetBeans 8.2 on a 64 bit Linux box with Java 8. My app has two source roots with no package name collisions. I combine them as if they were under the same tree. The problem I have is that the IDE tags the imports as errors as if it didn't know where the other source root i