On Fri, Apr 16, 2021 at 5:26 AM Tomáš Procházka <ka...@razdva.cz> wrote:
> If there is any specific text in dialog related to this function, you > can try to search it on Github. > That should lead you near related code. > > Tom > It's not that simple. There is an EJB project wizard that takes parameters to discern which modules to create. This is for the EAR with EJB and/or WAR module. It creates a master project along with up to 3 sub-projects (EAR, EJB, WAR). These are based on maven prototypes, but the person that went through and made everything wars, just stomped on this workflow when trying to upgrade to the more recent versions. Honestly, it was really egregious. Also, Netbeans does not "own" the maven prototypes used for the projects. They're hosted someplace completely different. The originals are hosted someplace that I don't think exists any more. Codehaus I think. The WAR ones are hosted on someone's github. And by "hosted", I mean that the prototypes are registered with Maven Central, but the source code to them is not part of the NB source code. When I asked before, nobody really chimed in on whether NB can/should host these prototypes (I think they should), or how the build servers are or can be accomodated to post the artifacts to Maven Central (where they must be, or at least hosted in some Maven repo that NB "knows" about in order to generate these). I should also say this is for the Maven based projects, I have not looked at the Ant ones in some time. The maven ones are just a wreck. And, yea, when this was last broached it was sort of a "nobody does this any more", so I backed out as well. Regards, Will Hartung