view agent/attacher/build.xml @ 272:dd85c1cbc8c8

Bug 3752: Migrate to OpenJFX 13 Reviewed-by: ykubota https://github.com/HeapStats/heapstats/pull/144
author Yasumasa Suenaga <yasuenag@gmail.com>
date Fri, 27 Sep 2019 14:47:03 +0900
parents 26be946fb07c
children
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8"?>
 
<!--
     Copyright (C) 2015-2019 Yasumasa Suenaga
 
     This program is free software; you can redistribute it and/or
     modify it under the terms of the GNU General Public License
     as published by the Free Software Foundation; either version 2
     of the License, or (at your option) any later version.
 
     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.
 
     You should have received a copy of the GNU General Public License
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
     02110-1301, USA.
-->
 
<project name="attacher" default="all">
 
  <property name="src.dir" value="src"/>
  <property name="build.dir" value="build"/>
  <property name="dist.dir" value="dist"/>
  <property environment="env"/>
 
  <target name="compile">
    <javac srcdir="${src.dir}" destdir="${build.dir}" source="7" target="7"
                        debug="on" classpath="${env.JAVA_HOME}/lib/tools.jar"
                                                    includeantruntime="false"/>
  </target>
 
  <target name="clean">
    <delete dir="${dist.dir}" includes="*.jar"/>
    <delete dir="${build.dir}/jp" includeEmptyDirs="true"/>
  </target>
 
  <target name="jar" depends="compile">
    <jar destfile="${dist.dir}/heapstats-attacher.jar">
      <zipfileset dir="${build.dir}" excludes=".keep"/>
    </jar>
  </target>
 
  <target name="all" depends="jar"/>

</project>