<?xml version="1.0"?>
<project name="bio" basedir="E:/" default="jar">
<property name="distributed.exts" value="**/*.au,**/*.asm,**/*.bat,**/*.btm,**/*.c,**/*.class,**/*.cpp,**/*.css,**/*.csv,**/*.dll,**/*.gif,**/*.h,**/*.hpp,**/*.htm,**/*.html,**/*.ico,**/*.ION,**/*.ion,**/*.jar,**/*.java,**/*.jnlp,**/*.jpg,**/*.look,**/*.png,**/*.properties,**/*.ser,**/*.sln,**/*.txt,**/*.use,**/*.vcproj,**/*.xml" />
<property name="nondistributed" value="**/jetpdb/**,**/Debug/**,**/Release/**" />
<target name="clean">
<echo message="::: bio ::: deleting files to force regeneration" />
<delete>
<fileset dir="com/mindprod/bio" includes="**/*.class" />
<fileset dir="com/mindprod/bio" includes="**/*.jar" />
<fileset dir="com/mindprod/bio" includes="bio26.zip" />
</delete>
</target>
<target name="compile">
<echo message="::: bio ::: compiling tree." />
<javac source="1.3" target="1.1" srcdir="com/mindprod/bio" sourcepath="${basedir}" debug="on">
<compilerarg value="-Xlint:deprecation" />
</javac>
</target>
<target name="javah" depends="compile">
</target>
<target name="gather" depends="compile">
</target>
<taskdef resource="genjar.properties" />
<target name="jar" depends="gather">
<echo message="::: bio ::: genjar finding dependencies and creating jar." />
<genjar jarfile="com/mindprod/bio/bio.jar">
<class name="com.mindprod.bio.Bio" />
<resource file="com/mindprod/bio/adano.jpg" package="com.mindprod.bio" />
<resource file="com/mindprod/bio/lclogo.jpg" package="com.mindprod.bio" />
<manifest>
<attribute name="Main-Class" value="com.mindprod.bio.Bio" />
</manifest>
</genjar>
</target>
<target name="postjar" depends="jar">
</target>
<target name="prejet">
<echo message="::: bio ::: avoid regenerating Jet executable if already done" />
<uptodate property="jet.uptodate" srcfile="com/mindprod/bio/bio.jar" targetfile="com/mindprod/bio/bio.exe" />
</target>
<target name="jet" depends="prejet" unless="jet.uptodate">
<echo message="::: bio ::: jet compiling." />
<exec executable="jc.exe" dir="com/mindprod/bio">
<arg value="-DECOR=" />
<arg value="bio.jar" />
</exec>
</target>
<target name="prejavadoc">
<echo message="::: bio ::: avoid regenerating Javadoc if already done" />
<uptodate property="javadoc.uptodate" targetfile="com/mindprod/bio/javadoc/index.html">
<srcfiles dir="com/mindprod/bio" includes="**/*.java" />
</uptodate>
</target>
<target name="javadoc" depends="prejavadoc" unless="javadoc.uptodate">
<echo message="::: bio ::: generating Javadoc" />
<javadoc
author="true"
destdir="com/mindprod/bio/javadoc"
packagenames="com.mindprod.bio.*"
sourcepath="E:/"
use="true"
version="true" />
</target>
<target name="zip" depends="javadoc,jar">
<echo message="::: bio ::: preparing zip distributable" />
<exec executable="prunefoot.exe" failifexecutionfails="false" dir="com/mindprod/bio">
<arg value="bio.html" />
<arg value="bio.manual.html" />
</exec>
<zip destfile="com/mindprod/bio/bio26.zip" duplicate="preserve" filesonly="true" includes="${distributed.exts}" excludes="${nondistributed}">
<zipfileset dir="com/mindprod/bio" prefix="com/mindprod/bio" includes="${distributed.exts}" excludes="${nondistributed}" />
<zipfileset dir="com/mindprod/common11" prefix="com/mindprod/common11" includes="${distributed.exts}" excludes="${nondistributed}" />
<zipfileset dir="com/mindprod/ledatastream" prefix="com/mindprod/ledatastream" includes="${distributed.exts}" excludes="${nondistributed}" />
</zip>
</target>
<target name="postzip" depends="zip,postjar">
</target>
</project>