Changeset 20283 in osm for applications/editors


Ignore:
Timestamp:
2010-03-05T21:08:12+01:00 (14 years ago)
Author:
jttt
Message:

Allow to build plugin without compiling josm

Location:
applications/editors/josm/plugins
Files:
2 edited

Legend:

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

    r20245 r20283  
    11<project name="josm-plugins" default="build" basedir=".">
    2     <target name="compile_josm">
     2    <target name="compile_josm" unless="skip-josm">
     3        <echo message="test"/>
    34        <ant dir="../core" target="dist" />
    45    </target>
  • applications/editors/josm/plugins/czechaddress/build.xml

    r19622 r20283  
    11<project name="czechaddress" default="dist" basedir=".">
    22    <property name="josm"                   location="../../core/dist/josm-custom.jar"/>
    3     <property name="josm.classpath"         value="../../core/build"/>
    43    <property name="plugin.dist.dir"        value="../../dist"/>
    54    <property name="plugin.build.dir"       value="build"/>
     
    2625    <target name="compile" depends="init,revision"
    2726            description="Compile the plugin and make it ready for running">
    28 
    29         <fail message="You must firstly compile the JOSM itself"><condition><not>
    30             <resourcecount count="1" when="ge">
    31                 <fileset id="josm" dir="${josm.classpath}"/>
    32             </resourcecount>
    33         </not></condition></fail>
    34 
     27           
    3528        <javac srcdir="src"
    3629               classpath="${josm}"
     
    9588
    9689    <target name="run" depends="compile">
    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>
    107 
    10890        <java classname="JOSM" fork="true">
    10991            <jvmarg value="-Xmx1024m"/>
     
    149131    <target name="debug" depends="compile"
    150132            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>
    161133        <nbjpdastart addressproperty="jpda.address"
    162134                     name="czechaddress"
Note: See TracChangeset for help on using the changeset viewer.