Skip to content
Snippets Groups Projects
Commit 43e0095e authored by Peter Wagenhuber's avatar Peter Wagenhuber
Browse files

initial commit

parents
No related branches found
No related tags found
No related merge requests found
<project name="nloc" default="show" basedir=".">
<description>
build file for droplet sequence generator
</description>
<!-- set global properties for this build -->
<property name="docdir" location="doc"/>
<property name="src" location="./src"/>
<property name="build" location="./build"/>
<property name="libs" location="/usr/share/java"/>
<path id="classpath">
<fileset dir="${libs}" includes="**/*.jar"/>
<pathelement location="${build}"/>
</path>
<target name="init">
<!-- Create the time stamp -->
<tstamp/>
<mkdir dir="${docdir}"/>
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init,ctags"
description="compile the source " >
<!-- Compile the java code from ${src} into ${build} -->
<javac srcdir="${src}" destdir="${build}" classpathref="classpath"
debug="true"/>
<property name = "build.compiler.emacs" value = "true"/>
<jar destfile="${build}/dgen.jar"
basedir="${build}"
includes="**/*.class"/>
</target>
<target name="clean"
description="clean up classes and doc" >
<delete>
<fileset dir="." includes="**/*.class"/>
</delete>
<delete dir="${doc}" />
<delete dir="${build}"/>
<delete file="tags" />
</target>
<target name="ctags"
description="generate tags file using ctags" >
<!-- generate tags -->
<exec executable="ctags">
<arg line="-R ." />
</exec>
</target>
<target name="doc" depends="init"
description="generate javadoc">
<javadoc destdir="${docdir}"
sourcepath="${src}"
link="file:///usr/share/doc/openjdk-8-jdk/api/"
Private="yes" >
<fileset dir="${src}" includes="**/*.java"/>
</javadoc>
</target>
</project>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment