--- /dev/null
+<?xml version="1.0"?>
+<project name="jalviewX" default="build" basedir=".">
+ <!-- utils is a class path to additional utilities needed for
+ building docs, jars and webstart stuff -->
+
+ <target name="init">
+
+ <property name="libDir" value="lib"/>
+ <property name="resourceDir" value="resources"/>
+ <property name="helpDir" value="help"/>
+ <property name="docDir" value="doc"/>
+ <property name="sourceDir" value="src" />
+ <property name="outputDir" value="classes" />
+ <property name="outputJar" value="jalview.jar" />
+
+ <path id="build.classpath">
+ <fileset dir="utils">
+ <include name="**/*.jar"/>
+ </fileset>
+ <fileset dir="${libDir}">
+ <include name="**/*.jar"/>
+ </fileset>
+ </path>
+
+ </target>
+
+ <target name="clean" depends="init">
+ <!-- not efficient yet. -->
+ <delete dir="${outputDir}"/>
+ </target>
+
+ <target name="distclean" depends="init, clean">
+
+ <echo message="REMOVING ALL BACKUP/AUTOSAVES!"/>
+ <delete>
+ <fileset dir=".">
+ <include name="${outputJar}"/>
+ <include name="#*#"/>
+ <include name="#*.*#"/>
+ <include name="**/#*#"/>
+ <include name="**/#*.*#"/>
+ <include name="*~"/>
+ <include name="*.*~"/>
+ <include name="**/*~"/>
+ <include name="**/*.*~"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <target name="prepare" depends="clean">
+ <mkdir dir="${outputDir}"/>
+ <copy todir="${outputDir}">
+ <fileset dir=".">
+ <include name="${docDir}/**/*.*"/>
+ <include name="${helpDir}/**/*.*"/>
+ <include name="${libDir}"/>
+ </fileset>
+ <fileset dir="${resourceDir}">
+ <include name="**/*.*"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="build" depends="init, prepare">
+ <!-- not efficient yet. -->
+ <javac srcdir="${sourceDir}" destdir="${outputDir}"
+ classpathref="build.classpath" />
+ </target>
+
+
+
+ <target name="package" depends="init, build">
+
+ </target>
+</project>