Changeset 2180


Ignore:
Timestamp:
Dec 12, 2013, 1:58:23 PM (9 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #551: Add 'install' target to normalizers build script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/base2/net.sf.basedb.normalizers/trunk/build.xml

    r2176 r2180  
    202202    description="Compiles the plugin and put in jar"
    203203    >
    204     <property name="jar" value="${name}.jar" />
    205204    <mkdir dir="${build}" />
    206205    <javac
     
    222221  </target>
    223222 
     223  <target
     224    name="install"
     225    depends="dist"
     226    >
     227    <fail unless="base.plugins" message="base.plugins is not set to the path of BASE plug-ins directory." />
     228    <copy todir="${base.plugins}">
     229      <fileset file="${dist}/${jar}" />
     230    </copy>
     231    <echo>Copied '${jar}' to '${base.plugins}'.</echo>
     232  </target>
     233
    224234  <target name="update-version">
    225235    <echo>Setting version to: ${version}</echo>
Note: See TracChangeset for help on using the changeset viewer.