In a terminal window, go to:
tut-install/examples/cdi/guessnumber/ |
Type the following command:
ant |
This command calls the default target, which builds and packages the application into a WAR file, guessnumber.war, located in the dist directory.
Type the following command:
ant deploy |
The guessnumber.war file will be deployed to the GlassFish Server.