eclipse-ee4j / jakartaee-tutorial

Jakarta EE Tutorial
https://eclipse-ee4j.github.io/jakartaee-tutorial
Eclipse Public License 2.0
96 stars 69 forks source link

Small correction in "Packaging and Deploying the hello1 Web Module" section. #256

Open DmitriGit opened 2 years ago

DmitriGit commented 2 years ago

Hello,

In the section "Packaging and Deploying the hello1 Web Module" (https://eclipse-ee4j.github.io/jakartaee-tutorial/#packaging-and-deploying-the-hello1-web-module) there is a block: "You can deploy a WAR file to GlassFish Server by: - Using NetBeans IDE - Using the asadmin command - Using the Administration Console - Copying the WAR file into the domain-dir/autodeploy/ directory"

But: 1) immediately after you can read: "Throughout the tutorial, you will use NetBeans IDE or Maven for packaging and deploying." 2) below there is a subsection "To Build and Package the hello1 Web Module Using Maven" where is writen how to deploy a WAR file to GlassFish Server by Using Maven: "..... Enter the following command: mvn install This command spawns any necessary compilations and creates the WAR file in tut-install/examples/web/jsf/hello1/target/. It then deploys the project to the server."

So the block at the start of this issue I think should be: "You can deploy a WAR file to GlassFish Server by: - Using NetBeans IDE - Using Maven - Using the asadmin command - Using the Administration Console - Copying the WAR file into the domain-dir/autodeploy/ directory"

Thank you, Dmitri.

DmitriGit commented 2 years ago

Hello,

do you want I transform it in PR too?

Thank you, Dmitri.