Ah, I see, no file created at the end of that process. Can you take a look in the messages.log or elsewhere to see if some error message has been generated there?
Gj On Fri, Sep 24, 2021 at 10:29 AM Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > Open the New File dialog, go to "GlassFish" category, chose "GlassFish > Descriptor", click Next, click Finish. > > Gj > > On Fri, Sep 24, 2021 at 9:36 AM Richard Grin < > richard.g...@univ-cotedazur.fr> wrote: > >> Hello Geertjan, >> >> I wanted to create a GlassFish descriptor, glassfish-web.xml, not the >> standard web.xml, in order to change the context path of the application >> (action not standardized in the specification). >> >> Richard >> Le 24/09/2021 à 08:32, Geertjan Wielenga a écrit : >> >> >> Is it still necessary to create a web.xml file? I believe it is optional >> now, for some time already. >> >> Gj >> >> On Fri, 24 Sep 2021 at 08:02, Richard Grin < >> richard.g...@univ-cotedazur.fr> wrote: >> >>> Hello, >>> >>> NetBeans 12.5. >>> >>> In a Jakarta EE 8 Web project (with Payara Server 5.2021.7), New > >>> GlassFish > GlassFish descriptor does not create a file glassfish-web.xml >>> >>> There is not such file in the WEB-INF directory. No error message in >>> NetBeans. >>> >>> It is also not possible to change the context path with the run >>> properties of the project. >>> >>> Do you confirm? >>> >>> It is possible to add a glassfish-web.xml to change the context path but >>> not with the help of NetBeans (you have to know the doctype). >>> >>> Richard >>> >>> >>> --------------------------------------------------------------------- >>> 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 >>> >>>