Ignore:
Timestamp:
2007-10-24T20:13:09+02:00 (18 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
  • TabularUnified applications/editors/josm/plugins/livegps/build.xml

    r5147 r5153  
    11<project name="livegps" default="dist" basedir=".">
     2
    23  <!-- compilation properties -->
    3   <property name="josm.build.dir" value="../../core"/>
    4   <property name="josm.home.dir" value="${user.home}/.josm"/>
    5   <property name="plugin.build.dir" value="build"/>
    6   <property name="plugin.name" value="${ant.project.name}"/>
    7   <property name="plugin.jar" value="${plugin.name}.jar"/>
     4  <property name="josm.build.dir"       value="../../core"/>
     5  <property name="josm.home.dir"        value="${user.home}/.josm"/>
     6  <property name="josm"                 location="../../core/dist/josm-custom.jar" />
     7  <property name="plugin.build.dir"     value="build"/>
     8  <property name="plugin.dist.dir"      value="../dist"/>
     9  <property name="plugin.name"          value="${ant.project.name}"/>
     10  <property name="plugin.jar"           value="../dist/${plugin.name}.jar"/>
     11 
     12  <property name="plugin.jar" value="../dist/${plugin.name}.jar"/>
    813  <property name="livegpsplugin.jar" value="${josm.home.dir}/plugins/livegps.jar"/>
    914 
     
    4752          <include name="**/*.jar"/>
    4853        </fileset>
    49         <pathelement location="${livegpsplugin.jar}"/>
     54        <pathelement location="${plugin.jar}"/>
    5055      </classpath>
    5156    </javac>
     
    6368    <delete dir="${plugin.build.dir}" />
    6469    <delete dir="${plugin.site.file}" />
    65     <delete dir="${plugin.jar}" />
     70    <delete file="${plugin.jar}" />
    6671  </target>
    6772
Note: See TracChangeset for help on using the changeset viewer.