Skip to main content

Source code file content

Revision: 289

6943053: Gervill: failures on invalid ranges and 14-bit banks
» Project Revision History

» Checkout URL

Mercurial / build.xml

Size: 1896 bytes, 1 line
<?xml version='1.0'?> 
<project name="gervill" default="jar" basedir="."> 
 
<!-- set global properties for this build --> 
<property name="name" value="gervill"/> 
<property name="package" value="com.sun.media.sound.*"/> 
<property name="version" value="0.6"/> 
<property name="jarname" value="${name}.jar"/> 
<property name="src" value="src"/> 
<property name="build" value="build"/> 
<property name="lib" value="lib"/> 
<property name="docs" value="javadocs"/> 
<property name="jarlibs" value=""/>  
 
<path id="lib.path"> 
<pathelement path="${build}"/> 
<fileset dir="${jarlibs}"> 
<include name="junit.jar"/> 
</fileset> 
</path> 
 
<!-- Create the build directory structure used by compile --> 
<target name="init"> 
<mkdir dir="${build}" /> 
<mkdir dir="${lib}" /> 
<mkdir dir="${docs}" /> 
</target> 
 
<!-- run javac to compile the source files --> 
<target name="compile" depends="init"> 
<javac srcdir="${src}" 
destdir="${build}"> 
<classpath> 
<path refid="lib.path"/> 
</classpath> 
</javac> 
</target> 
 
<!-- make a jar file --> 
<target name="jar" depends="compile"> 
<jar jarfile="${jarname}" basedir="${build}"> 
<fileset dir="${src}" includes="**/*.PNG" /> 
<fileset dir="${src}" includes="icons/**/*.png" /> 
<fileset dir="${src}" includes="*.txt" /> 
<fileset dir="${src}" includes="**/**/**/*.r" /> 
<fileset dir="${src}" includes="META-INF/**/*" /> 
</jar> 
</target> 
 
<!-- create javadocs --> 
<target name="javadocs"> 
<javadoc packagenames="${package}" 
sourcepath="${src}" 
destdir="${docs}" 
author="true" 
version="true" 
use="true" 
windowtitle="${name} ${version} API" 
doctitle="${name} ${version} API"> 
<classpath> 
<path refid="lib.path"/> 
</classpath> 
</javadoc> 
</target> 
 
<!-- Delete the ${build} and ${lib} directory trees --> 
<target name="clean"> 
<delete dir="${build}"/> 
<delete dir="${lib}"/> 
<delete dir="${docs}"/> 
</target> 
</project> 
 
 
Close
loading
Please Confirm
Close