Re: Multiple source roots?
"Ulrich Mayring" <[email protected]> Sat, 20 Sep 2025 18:41:35 +0200
| Newsgroups | gmane.comp.java.ide.netbeans.user |
|---|---|
| Message-ID | <2986e9-68ced900-1d-51a45f80@158028889> |
Am Samstag, September 20, 2025 16:59 CEST, schrieb Scott Palmer <[email protected]>: Back on topic… Multiple sources roots are trivial with Gradle: sourceSets { main { java { srcDir 'src/main/java' srcDir 'generated/src/main/java' // Add a generated source directory } resources { srcDir 'src/main/resources' srcDir 'src/main/config' // Add another resource directory } }} To be fair, how does that show up in Netbeans, namely the project properties dialog? I think there is a certain lack of cohesion there. Some build systems only allow one source root, others allow many - how do you design a UI for that?