I’d recommend to target Maven or Gradle. Gj
On Sun, 21 Jun 2020 at 11:18, Eduard Karel de Jong <edu...@dejongfrz.nl> wrote: > Hello Antonio, > > Thanks for confirming that different types of projects in NB use > different paths to store generated code. > > My question now is: "how do I find from the code in my plugin what path > to use for given project?" Is there, for instance, an SPI tat i could > lookup to find it? > > Or, maybe, it does not matter as NB combines all the possible paths in > the various projects. In that case i could fix the location at, for > instance "build/generated code," the path used in projects built with ant. > > I tried google searches and they consistently misinterpret the question > and go nowhere. > Cheers > Edaurd > > antonio wrote on 20/06/2020 11:27: > > Hi, > > > > This depends on the build-system supporting the project type. > > > > For instance, for Maven projects people usually leave generated > > sources in "target/generated-sources/whatever", while others use > > "src/main/whatever". For Maven projects you can customize these > > directories in your pom.xml. > > > > AFAIK NetBeans correctly detects the generated sources folders and > > shows them in the IDE. > > > > HTH, > > Antonio > > > > > > El 19/6/20 a las 17:20, Eduard Karel de Jong escribió: > >> Hi, > >> > >> I'm working on a NB module that generates java code from files in > >> software dev projects and different types of projects have different > >> locations for the generated files. > >> > >> Is the location for generating code relevant and if so, is there a > >> generic way to determine the proper location for a particular project > >> type? > >> > >> Thanks for any hint on how to find the answer to this question. > >> > >> Cheers > >> eduard de jong > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org > >> For additional commands, e-mail: dev-h...@netbeans.apache.org > >> > >> For further information about the NetBeans mailing lists, visit: > >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > >> > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org > > For additional commands, e-mail: dev-h...@netbeans.apache.org > > > > For further information about the NetBeans mailing lists, visit: > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org > For additional commands, e-mail: dev-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > >