<?xml version="1.0" encoding="utf-8"?>
<project name="cadastre-fr" default="dist" basedir=".">
    <!-- enter the SVN commit message -->
    <property name="commit.message" value="Changed constructor for Plugin"/>
    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    <property name="plugin.main.version" value="10279"/>
    
    <!-- Configure these properties (replace "..." accordingly).
         See https://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
    -->
    <property name="plugin.author" value="Pieren"/>
    <property name="plugin.class" value="cadastre_fr.CadastrePlugin"/>
    <property name="plugin.description" value="A special handler for the French land registry WMS server."/>
    <property name="plugin.icon" value="images/preferences/cadastrewms.png"/>
    <property name="plugin.link" value="https://wiki.openstreetmap.org/wiki/FR:JOSM/Fr:Plugin/Cadastre"/>
    <property name="plugin.stage" value="60"/>
    <property name="plugin.requires" value="jts;geotools"/>

    <!-- ** include targets that all plugins have in common ** -->
    <import file="../build-common.xml"/>

    <property name="jts" location="${plugin.dist.dir}/jts.jar"/>
    <property name="geotools" location="${plugin.dist.dir}/geotools.jar"/>

    <!--
    **********************************************************
    ** compile - compiles the source tree
    **********************************************************
    -->
    <target name="compile" depends="init">
        <echo message="compiling sources for ${plugin.jar} ... "/>
        <javac srcdir="src" debug="true" destdir="${plugin.build.dir}" includeAntRuntime="false" encoding="UTF-8">
            <classpath>
                <pathelement path="${plugin.build.dir}"/>
                <pathelement location="${josm}"/>
                <pathelement location="${jts}"/>
                <pathelement location="${geotools}"/>
            </classpath>
            <compilerarg value="-Xlint:deprecation"/>
            <compilerarg value="-Xlint:unchecked"/>
        </javac>
    </target>
</project>
