Ignore:
Timestamp:
2007-10-24T20:13:09+02:00 (17 years ago)
Author:
joerg
Message:

josm/plugins/*build.xml: now we use the unique target dist for creating .jar files. Use a lot more variables to be able to move the build directory. destination directory for .jar files is now plugins/dist/*.jar. correcteed clean targets

File:
1 edited

Legend:

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

    r5147 r5153  
    2121  </target>
    2222
    23   <target name="build" depends="compile">
     23  <target name="build" depends="dist">
     24  </target>
     25
     26  <target name="dist" depends="compile">
     27    <mkdir dir="dist"/>
    2428    <ant        dir="colorscheme"       antfile="build.xml"     target="dist"/>
    25     <ant        dir="lang"              antfile="build.xml"     target="install-all"/>
    26     <ant        dir="mappaint"          antfile="build.xml"     target="build"/>
     29    <ant        dir="duplicateway"      antfile="build.xml"     target="dist"/>
     30    <ant        dir="lang"              antfile="build.xml"     target="dist"/>
     31    <ant        dir="mappaint"          antfile="build.xml"     target="dist"/>
    2732    <ant        dir="namefinder"        antfile="build.xml"     target="dist"/>
    28     <ant        dir="nearclick"         antfile="build.xml"     target="build"/>
    29     <ant        dir="osmarender"        antfile="build.xml"     target="build"/>
    30     <ant        dir="plastic_laf"       antfile="build.xml"     target="build"/>
     33    <ant        dir="nearclick"         antfile="build.xml"     target="dist"/>
     34    <ant        dir="openvisible"       antfile="build.xml"     target="dist"/>
     35    <ant        dir="osmarender"        antfile="build.xml"     target="dist"/>
     36    <ant        dir="plastic_laf"       antfile="build.xml"     target="dist"/>
    3137    <ant        dir="slippymap"         antfile="build.xml"     target="dist"/>
    32     <ant        dir="tagging-preset-tester"     antfile="build.xml"     target="build"/>
    33     <ant        dir="validator"         antfile="build.xml"     target="build"/>
    34     <ant        dir="wmsplugin"         antfile="build.xml"     target="build"/>
    35     <ant        dir="ywms"              antfile="build.xml"     target="build"/>
     38    <ant        dir="tagging-preset-tester"     antfile="build.xml"     target="dist"/>
     39    <ant        dir="utilsplugin"       antfile="build.xml"     target="dist"/>
     40    <ant        dir="validator"         antfile="build.xml"     target="dist"/>
     41    <ant        dir="wmsplugin"         antfile="build.xml"     target="dist"/>
     42    <ant        dir="ywms"              antfile="build.xml"     target="dist"/>
    3643
    3744    <ant        dir="livegps"           antfile="build.xml"     target="dist"/>
    3845    <ant        dir="surveyor"          antfile="build.xml"     target="dist"/>
    39     <!--ant     dir="grid"              antfile="build.xml"     target="build"/-->
    40     <!-- ant    dir="pluginmanager"     antfile="build.xml"     target="dist"/ -->
    41     <!-- ant    dir="tways"             antfile="build.xml"     target="build"/ -->
    42     <!-- ant    dir="waypoints"         antfile="build.xml"     target="build"/ -->
    43     <!-- ant    dir="navigator"         antfile="build.xml"     target="dist"/ -->
     46  </target>
     47
     48  <target name="build_defect" depends="compile">
     49    <ant        dir="lakewalker"        antfile="build.xml"     target="dist"/>
     50    <ant        dir="navigator"         antfile="build.xml"     target="dist"/>
     51    <ant        dir="pluginmanager"     antfile="build.xml"     target="dist"/>
     52    <ant        dir="waypoints"         antfile="build.xml"     target="dist"/>
     53    <ant        dir="grid"              antfile="build.xml"     target="dist"/>
    4454  </target>
    4555
    4656  <target name="clean">
    4757    <ant        dir="colorscheme"       antfile="build.xml"     target="clean"/>
     58    <ant        dir="duplicateway"      antfile="build.xml"     target="clean"/>
    4859    <ant        dir="grid"              antfile="build.xml"     target="clean"/>
     60    <ant        dir="lakewalker"        antfile="build.xml"     target="clean"/>
    4961    <ant        dir="lang"              antfile="build.xml"     target="clean"/>
    5062    <ant        dir="mappaint"          antfile="build.xml"     target="clean"/>
     
    5264    <ant        dir="navigator"         antfile="build.xml"     target="clean"/>
    5365    <ant        dir="nearclick"         antfile="build.xml"     target="clean"/>
     66    <ant        dir="openvisible"       antfile="build.xml"     target="clean"/>
    5467    <ant        dir="osmarender"        antfile="build.xml"     target="clean"/>
    5568    <ant        dir="plastic_laf"       antfile="build.xml"     target="clean"/>
    5669    <ant        dir="pluginmanager"     antfile="build.xml"     target="clean"/>
     70    <ant        dir="slippymap"         antfile="build.xml"     target="clean"/>
    5771    <ant        dir="tagging-preset-tester"     antfile="build.xml"     target="clean"/>
    58     <ant        dir="tways"             antfile="build.xml"     target="clean"/>
     72    <ant        dir="utilsplugin"       antfile="build.xml"     target="clean"/>
    5973    <ant        dir="validator"         antfile="build.xml"     target="clean"/>
    6074    <ant        dir="waypoints"         antfile="build.xml"     target="clean"/>
     
    6478    <ant        dir="surveyor"          antfile="build.xml"     target="clean"/>
    6579    <ant        dir="livegps"           antfile="build.xml"     target="clean"/>
     80
     81    <delete dir="dist" />
    6682  </target>
    6783
     
    6985  </target>
    7086
    71   <target name="install" depends="build">
     87  <target name="install" depends="dist">
    7288  </target>
    7389
Note: See TracChangeset for help on using the changeset viewer.