forked from mapfish/mapfish-print
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rough structure and some classes and interfaces
- Loading branch information
Jesse Eichar
committed
Feb 21, 2014
1 parent
4282e6c
commit 263600c
Showing
32 changed files
with
2,634 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
*.jar | ||
*.war | ||
*.ear | ||
build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,27 @@ | ||
mapfish-printV3 | ||
=============== | ||
Please read the documentation available here: | ||
http://trac.mapfish.org/trac/mapfish/wiki/PrintModuleDoc | ||
|
||
|
||
== build == | ||
- Execute the following command(): | ||
> ./gradlew build | ||
This will build three artifacts: print-servlet-xxx.war, print-lib.jar, print-standalone.jar | ||
|
||
== Deploy == | ||
The following command will build and upload all artifacts to the dev.mapfish.org repository. | ||
> ./gradlew upload -DsshPassphrase=... | ||
To use in eclipse: | ||
- Create eclipse project metadata: | ||
> ./gradlew eclipse | ||
- Import project into eclipse | ||
|
||
== Run from commandline == | ||
The following command will run the mapfish printer. If you do no supply any -Dxxx args then all argument options will be listed. | ||
> ./gradlew run -Dconfig=samples/config.yaml -Dspec=samples/spec.json -Doutput=/tmp/print-out.pdf | ||
== Run in eclipse == | ||
- Create new Java Run Configuration | ||
- Main class is org.mapfish.print.ShellMapPrinter | ||
- Program arguments: --config=samples/config.yaml --spec=samples/spec.json --output=$HOME/print.pdf |
Oops, something went wrong.