Changeset 3783 in osm for applications


Ignore:
Timestamp:
2007-07-27T05:30:22+02:00 (17 years ago)
Author:
ulf
Message:

create jar file into dist dir (as other plugins also do), otherwise you'll always get a change .jar file to upload to svn

File:
1 edited

Legend:

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

    r3782 r3783  
    77     <target name="init">
    88        <mkdir dir="build" />
     9        <mkdir dir="dist" />
    910      </target>
    1011
     
    1213      <target name="clean">
    1314        <delete dir="build" />
     15        <delete dir="dist" />
    1416      </target>
    1517   
     
    2628    </target>
    2729
    28     <!-- dist target - crate jar file -->
     30    <!-- dist target - create jar file -->
    2931  <target name="dist" depends="compile">
    30     <jar destfile="${ant.project.name}.jar" basedir="${plugin.build.dir}">
     32    <jar destfile="dist/${ant.project.name}.jar" basedir="${plugin.build.dir}">
    3133      <manifest>
    3234        <attribute name="Plugin-Class" value="namefinder.NameFinderPlugin" />
     
    3840    <!-- dist target - copy jar file to plugin destination -->
    3941     <target name="install" depends="dist">
    40         <copy file="${ant.project.name}.jar" todir="${josm.home.dir}/plugins" />
     42        <copy file="dist/${ant.project.name}.jar" todir="${josm.home.dir}/plugins" />
    4143      </target>
    4244   
Note: See TracChangeset for help on using the changeset viewer.