source: osm/applications/editors/josm/plugins/seachart/jrenderpgsql/build.xml@ 36358

Last change on this file since 36358 was 35091, checked in by frederik, 5 years ago

add new tool to make seamap tiles from a osm2pgsql db

File size: 1.2 KB
Line 
1<project name="jrenderpgsql" default="dist" basedir=".">
2 <property name="src" location="src"/>
3 <property name="srcmain" location="../src"/>
4 <property name="build" location="build"/>
5 <property name="jarfile" location="./jrenderpgsql.jar"/>
6
7 <target name="init">
8 <mkdir dir="${build}"/>
9 </target>
10
11 <target name="compile" depends="init" description="compile the source " >
12 <javac classpath="/usr/share/java/postgis-jdbc-2.2.1.jar:/usr/share/java/postgresql.jar" includeantruntime="false" sourcepath="${srcmain}" srcdir="${src}" destdir="${build}" encoding="UTF-8" />
13 </target>
14
15 <target name="dist" depends="compile" description="generate the distribution" >
16 <jar jarfile="${jarfile}" basedir="${build}" manifestencoding="UTF-8">
17 <zipgroupfileset dir="/usr/share/java" includes="postgresql.jar" />
18 <zipgroupfileset dir="/usr/share/java" includes="postgis-jdbc-2.2.1.jar" />
19 <manifest>
20 <attribute name="Main-Class" value="jrenderpgsql.JrenderPgsql"/>
21 <attribute name="Class-Path" value="$jarfile"/>
22 </manifest>
23 </jar>
24 </target>
25
26 <target name="clean" description="clean up" >
27 <delete dir="${build}"/>
28 <delete file="${jarfile}"/>
29 </target>
30</project>
Note: See TracBrowser for help on using the repository browser.