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 | {{{ |
| 12 | http://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 |