Thanks, Michael.  However, I am not talking about the build process here.
I am talking about the IDE's ability to resolve references.  In other
words, if method 1 calls method 2 and they're in different source roots the
IDE needs to understand that.

Thanks.

Blake


On Thu, Sep 18, 2025 at 1:40 PM Michael Bien <[email protected]> wrote:

> depends on the project type.
>
> for ant its in the project properties window (right click). simply add
> another source folder using the UI.
>
> maven is all about convention, you add for example the
> build-helper-maven-plugin and tell it
> where the additional folder is. It will show up under "Other Sources" in
> the tree.
> (project properties window has some info in the source section)
>
> for gradle I don't know unfortunately, but I am sure its in the gradle doc
> somewhere.
> if you configure it in the build, NB should find it.
>
> best regards,
> michael
>
> On 9/18/25 20:15, Blake McBride wrote:
> > If my Java project has multiple source roots, how can I specify that in
> NetBeans?
> >
>
>

Reply via email to