Table Of Contents

Previous topic

MapFish Print

Next topic

Configuration

This Page

Installation

Compilation

To build this project, you need:

  • JDK >= 1.5, make sure you use Sun’s JDK (sun-java6-jdk on Ubuntu 8.04) and not GCJ

  • Download MapFish Print from GitHub

    • On systems with git installed:

      Go to https://github.com/mapfish/mapfish-print
      Click the "Fork" button to fork a version to your user
      Assuming your username is myuser type
      
      git clone git@github.com:myuser/mapfish-print.git

The other external libs are taken care of by maven.

The build command to use is:

  • On Linux:

    cd %MAPFISH_DIR%/trunk/
    ./gradlew build
  • On Windows:

    cd %MAPFISH_DIR%/trunk/
    gradlew.bat build

You might get an error like:

....
.....
FAILURE: Could not determine which tasks to execute.

* What went wrong:

Task 'build' not found in root project 'src'.

* Try:

Run with -t to get a list of available tasks.

BUILD FAILED
....
.....

Then try:

cd %MAPFISH_DIR%/trunk/
./gradlew clean build