Making it easier to access the commands for the 2nd round
This commit is contained in:
parent
80a15330b1
commit
c73730559b
1 changed files with 17 additions and 1 deletions
|
@ -217,6 +217,9 @@
|
|||
1. Compile the java files (including the new java file) as per
|
||||
/Lesson 1/.
|
||||
|
||||
: cd ${DEV_HOME}/source/java/org/gibiris/javaBootcampNoEclipse
|
||||
: javac *.java
|
||||
|
||||
Does it compile? If not, why not? Three hints:
|
||||
- There was a new sub-package added,
|
||||
=org.gibiris.javaBootcampNoEclipse.Astro=, which your java
|
||||
|
@ -227,9 +230,22 @@
|
|||
you might even find a fix for it.
|
||||
|
||||
2. Build the jar file as per /Lesson 2/ (except, this time, the
|
||||
=lib= directory exists already).
|
||||
=lib= directory exists already):
|
||||
|
||||
: cd ${DEV_HOME}/source/java
|
||||
: jar cvf ../lib/javaBootcampNoEclipse.jar org
|
||||
|
||||
3. Build the war file as per /Lesson 3/.
|
||||
: mkdir -vp ${DEV_HOME}/webapp
|
||||
: mkdir -vp ${DEV_HOME}/webapp/WEB-INF/lib
|
||||
: cd ${DEV_HOME}/webapp
|
||||
: cp -rv ${DEV_HOME}/source/jsps/* ${DEV_HOME}/webapp
|
||||
: cp -rv ${DEV_HOME}/source/lib/javaBootcampNoEclipse.jar \
|
||||
: ${DEV_HOME}/webapp/WEB-INF/lib
|
||||
: cp -rv ${DEV_HOME}/source/res/web.xml \
|
||||
: ${DEV_HOME}/webapp/WEB-INF
|
||||
: jar cvf ${DEV_HOME}/source/lib/javaBootcampNoEclipse.war *
|
||||
: cd ${DEV_HOME}; rm -fr ${DEV_HOME}/webapp
|
||||
|
||||
4. Deploy the updated application as per /Lesson 4/. You will need
|
||||
to undeploy the previous version first.
|
||||
|
|
Loading…
Reference in a new issue