Files
Glum/tools/build.xml
lopeznr1 1727820320 Changes for 2.0.0:
Bulk updates relating to the 2.0.0 public release of GLUM.
2024-09-17 20:43:19 -04:00

67 lines
2.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- Ant script for building the library. This Ant script is used by the
script buildRelease to aide in the compilation of Java source files into
a binary jar file.
Please note that the basedir is set to the parent folder. This build.xml
file is expected to reside in ~/tools/ folder.-->
<project basedir="../" default="install" name="glum">
<description>
Glum Library
</description>
<!-- PACKAGE PROPERTIES -->
<property file="build.properties"/>
<property name="src" location="src"/>
<property name="build" location="bin"/>
<property name="classes" location="bin"/>
<path id="class.path">
<pathelement path="${classes}"/>
<pathelement path="lib/dockingFramesCore.jar"/>
<pathelement path="lib/guava-18.0.jar"/>
<pathelement path="lib/miglayout-3.7.2-swing.jar"/>
<pathelement path="."/>
</path>
<!-- BUILD PROPERTIES -->
<property name="javac.cmdline" value="-Xlint:unchecked"/>
<property name="javac.debug" value="on"/>
<property name="javac.debuglevel" value="lines,vars,source"/>
<property name="javac.deprecated" value="on"/>
<property name="javac.optimize" value="on"/>
<property name="javac.version" value="17"/>
<!-- Perform initialization for various tasks -->
<target name="init" description="Initialization task">
<!-- create timestamp -->
<tstamp/>
<!-- create any necessary directories -->
<mkdir dir="${build}"/>
<mkdir dir="${classes}"/>
</target>
<!-- Build the binary build structure from source files -->
<target name="compile" depends="init" description="Compile source code for the library">
<!-- Build class files from source files -->
<javac srcdir="${src}" destdir="${classes}" includeantruntime="false"
debug="${javac.debug}" debuglevel="${javac.debuglevel}"
deprecation="${javac.deprecated}" includes="**/*.java"
optimize="${javac.optimize}" source="${javac.version}" target="${javac.version}">
<classpath refid="class.path"/>
<compilerarg line="${javac.cmdline}"/>
</javac>
</target>
<!-- Clean up ant build content -->
<target name="clean" description="Complete clean">
<delete dir="${build}"/>
</target>
</project>