Changes between Version 4 and Version 6 of Ticket #5


Ignore:
Timestamp:
12/17/09 11:41:40 (15 years ago)
Author:
yvesm
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5 – Description

    v4 v6  
    44
    55  * Install Maven (http://maven.apache.org/download.html)
    6   * Put install path (on windows : C:\Program Files\apache-maven-2.2.0\bin) on the system path
     6  * Put install path (on windows : C:\Program Files\apache-maven-2.2.0\bin) on the system path (follow instructions at http://maven.apache.org/download.html for specific environment variables settings like JAVA_HOME)
    77  * Test on a commandline : ' mvn -version'
    8   * Create the war file based on directory .../geoprisma/trunk/lib/externals/mapfish-print/print-servlet
    9   * At the prompt type : 'mvn clean install'
    10   * Deploy the war file in a Tomcat container
     8  * Create the war file : 'cd' to directory .../geoprisma/trunk/lib/externals/mapfish-print/; you should find a bunch of subdirectories there (print-lib, print-servlet, print-standalone) as well as the POM.xml file that Maven requires; the POM file there references the three POM files found in subdirectories, one of which (print-servlet) generates a war; the other two generate a jar
     9  * At the prompt type : 'mvn clean install'; once you do that, you will get a bunch of 'target' directories in the print-* directories
     10  * Deploy the war file in a Tomcat container : in the .../print-servlet/target directory, grab the .war file and copy it to your Tomcat/web; if your Tomcat is running, you should see a new directory created in the web directory and you can use it as a url from your root Tomcat url, e.g.
     11{{{
     12http://localhost:9998/print-servlet-1.2-SNAPSHOT/
     13}}}
     14
     15  where '!http://localhost:9998/' is the Tomcat root and 'print-servlet-1.2-SNAPSHOT' is the newly created directory
    1116
    1217* Apache conf