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?
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to