Ignore:
Timestamp:
2009-12-02T16:17:08+01:00 (17 years ago)
Author:
rcernoch
Message:

CzechAddress: Splitting ways is modified to reflect a new API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/czechaddress/build.xml

    r18803 r18892  
    7575            <arg value="."/>
    7676        </exec>
    77         <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
     77        <xmlproperty file="REVISION" prefix="version"
     78                     keepRoot="false" collapseAttributes="true"/>
    7879        <delete file="REVISION"/>
    7980    </target>
     
    9495
    9596    <target name="run" depends="compile">
    96         <fail message="You must firstly compile the JOSM itself"><condition><not>
    97             <resourcecount count="1" when="gt">
    98                 <fileset id="josm" dir="${josm.classpath}" includes="*"/>
    99             </resourcecount>
    100         </not></condition></fail>
     97        <fail message="You must firstly compile the JOSM itself">
     98            <condition>
     99                <not>
     100                    <resourcecount count="1" when="gt">
     101                        <fileset  includes="*" id="josm"
     102                                 dir="${josm.classpath}"/>
     103                    </resourcecount>
     104                </not>
     105            </condition>
     106        </fail>
    101107
    102108        <java classname="JOSM" fork="true">
     
    117123
    118124
    119     <target name="profile" depends="compile" description="Profile CzechAddress">
    120         <fail unless="netbeans.home">This target can only run inside the NetBeans IDE.</fail>
     125    <target name="profile" depends="compile"
     126            description="Profile CzechAddress with Netbeans">
     127        <fail unless="netbeans.home">
     128            This target can only run inside the NetBeans IDE.
     129        </fail>
    121130        <nbprofiledirect>
    122             <classpath><pathelement location="${plugin.build.dir}"/></classpath>
     131            <classpath>
     132                <pathelement location="${plugin.build.dir}"/>
     133            </classpath>
    123134        </nbprofiledirect>
    124135        <java classname="JOSM" fork="true">
     
    135146        </java>
    136147    </target>
     148
     149    <target name="debug" depends="compile"
     150            description="Debug CzechAddress with Netbeans">
     151        <fail message="You must firstly compile the JOSM itself">
     152            <condition>
     153                <not>
     154                    <resourcecount count="1" when="gt">
     155                        <fileset dir="${josm.classpath}"
     156                                 includes="*" id="josm"/>
     157                    </resourcecount>
     158                </not>
     159            </condition>
     160        </fail>
     161        <nbjpdastart addressproperty="jpda.address"
     162                     name="czechaddress"
     163                     transport="dt_socket"/>
     164        <java classname="JOSM" fork="true">
     165            <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
     166            <jvmarg value="-Xmx1024m"/>
     167            <jvmarg value="-Xdebug"/>
     168            <jvmarg value="-ea"/>
     169            <classpath>
     170                <pathelement location="${plugin.build.dir}"/>
     171                <pathelement path="${java.class.path}"/>
     172            </classpath>
     173            <classpath>
     174                <pathelement location="${josm}"/>
     175                <pathelement path="${java.class.path}"/>
     176            </classpath>
     177        </java>
     178    </target>
     179
    137180</project>
Note: See TracChangeset for help on using the changeset viewer.