<?xml version="1.0" encoding="utf-8"?>
<project name="dataimport" default="dist" basedir=".">

    <!-- enter the SVN commit message -->
    <property name="commit.message" value="Changed constructor signature, updated build.xml"/>
    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    <property name="plugin.main.version" value="19044"/>

    <!-- Configure these properties (replace "..." accordingly).
         See https://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
    -->
    <property name="plugin.author" value="Dieter Muecke"/>
    <property name="plugin.class" value="org.openstreetmap.josm.plugins.dataimport.DataImportPlugin"/>
    <property name="plugin.description" value="Allows to import various file formats into JOSM directly. Currently supported: TangoGPS, Garmin Trainings Center TCX."/>
    <!--<property name="plugin.icon" value="..."/>-->
    <!--<property name="plugin.link" value="..."/>-->
    <!--<property name="plugin.early" value="..."/>-->
    <property name="plugin.requires" value="jaxb"/>
    <!--<property name="plugin.stage" value="..."/>-->

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

    <target name="pre-compile" depends="-jaxb_linux, -jaxb_windows" unless="jaxb.notRequired">
        <exec executable="${xjc}" failonerror="true">
            <arg value="-d"/>
            <arg value="src"/>
            <arg value="-p"/>
            <arg value="org.openstreetmap.josm.plugins.dataimport.io.tcx"/>
            <arg value="-encoding"/>
            <arg value="UTF-8"/>
            <arg value="resources/tcx/TrainingCenterDatabasev2.xsd"/>
        </exec>
    </target>

</project>
