3.4. Setup the Ashkelon Web Application

      eitan@ubuntu:~/projects/ashkelon$ ant war
      [output]
      Buildfile: build.xml
      init:
      compile:
      bind:
      jar-model:
            [jar] Building jar: /home/eitan/projects/ashkelon/build/ashkelon-model.jar
      jar-taglib:
            [jar] Building jar: /home/eitan/projects/ashkelon/build/ashkelon-taglib.jar
      jar-webapp:
            [jar] Building jar: /home/eitan/projects/ashkelon/build/ashkelon-webapp.jar
           [copy] Copying 1 file to /home/eitan/projects/ashkelon/build
      war:
            [war] Building war: /home/eitan/projects/ashkelon/dist/ashkelon.war
   
      BUILD SUCCESSFUL
      Total time: 3 seconds
      [end output]
      eitan@ubuntu:~/projects/ashkelon$ ls dist/
      ashkelon.war
      eitan@ubuntu:~/projects/ashkelon$ cp dist/ashkelon.war ~/devel/tomcat/webapps
         

You need to do two things to deploy the ashkelon war file: [1] copy the war file to the tomcat webapps directory, as shown above, and [2] copy $JAVA_HOME/lib/tools.jar to $CATALINA_HOME/common/lib

If necessary, restart tomcat or load the new web application and explore http://localhost:8080/ashkelon/