[Nullbuster-cvs] [CVS nullbuster] Basic build file
Brought to you by:
osdchicago,
sl4mmy
|
From: Kent R. S. <sl...@us...> - 2005-07-31 17:28:05
|
<html>
<head>
<style><!--
body {background-color:#ffffff;}
.file {border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;}
.pathname {font-family:monospace; float:right;}
.fileheader {margin-bottom:.5em;}
.diff {margin:0;}
.tasklist {padding:4px;border:1px dashed #000000;margin-top:1em;}
.tasklist ul {margin-top:0;margin-bottom:0;}
tr.alt {background-color:#eeeeee}
#added {background-color:#ddffdd;}
#addedchars {background-color:#99ff99;font-weight:bolder;}
tr.alt #added {background-color:#ccf7cc;}
#removed {background-color:#ffdddd;}
#removedchars {background-color:#ff9999;font-weight:bolder;}
tr.alt #removed {background-color:#f7cccc;}
#info {color:#888888;}
#context {background-color:#eeeeee;}
td {padding-left:.3em;padding-right:.3em;}
tr.head {border-bottom-width:1px;border-bottom-style:solid;}
tr.head td {padding:0;padding-top:.2em;}
.task {background-color:#ffff00;}
.comment {padding:4px;border:1px dashed #000000;background-color:#ffffdd}
.error {color:red;}
hr {border-width:0px;height:2px;background:black;}
--></style>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head"><td colspan="4">Commit in <b><tt>nullbuster</tt></b><span id="info"> on MAIN</span></td></tr>
<tr><td><tt><a href="#file1"><span id="added">build.xml</span></a></tt></td><td align="right" id="added">+78</td><td></td><td nowrap="nowrap" align="right">added <a href="http://cvs.sourceforge.net/viewcvs.py/nullbuster/nullbuster/build.xml?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a></td></tr>
</table>
<pre class="comment">
Basic build file
</pre>
<hr /><a name="file2" /><div class="file">
<span class="pathname" id="added"><a
href="http://cvs.sourceforge.net/viewcvs.py/nullbuster/nullbuster">nullbuster</a></span><br />
<div class="fileheader" id="added"><big><b>build.xml</b></big> <small id="info">added at <a href="http://cvs.sourceforge.net/viewcvs.py/nullbuster/nullbuster/build.xml?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N build.xml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ build.xml 31 Jul 2005 17:27:56 -0000 1.1
@@ -0,0 +1,78 @@
</small></pre><pre class="diff" id="added">+<?xml version="1.0"?>
+<project name="NullBuster" default="test">
+ <description>NullBuster</description>
+
+ <property name="bootclasspath" value="" />
+ <property name="javacFailOnError" value="false" />
+ <property name="javacDebugInfo" value="yes" />
+ <property name="javacVerbose" value="false" />
+ <property name="javacSource" value="1.4" />
+ <property name="javacTarget" value="1.4" />
+ <property name="compilerArg" value="" />
+
+ <target name="clean">
+ <delete dir="build" />
+ </target>
+
+ <target name="compile" depends="init">
+ <mkdir dir="${build.classes.dir}" />
+
+ <javac destdir="${build.classes.dir}" failonerror="${javacFailOnError}" verbose="${javacVerbose}" debug="${javacDebugInfo}" bootclasspath="${bootclasspath}" source="${javacSource}" target="${javacTarget}">
+ <src path="${src.dir}" />
+ <exclude name="**/*Test.java" />
+ </javac>
+ </target>
+
+ <target name="init">
+ <property name="build.dir" location="build" />
+ <property name="build.classes.dir" location="${build.dir}/classes" />
+ <property name="src.dir" location="src" />
+ <property name="test.src.dir" location="${src.dir}" />
+ <property name="test.dir" location="${build.dir}/test" />
+ <property name="test.classes.dir" location="${test.dir}/classes" />
+ <property name="test.data.dir" location="${test.dir}/data" />
+ <property name="test.reports.dir" location="${test.dir}/reports" />
+
+ <property name="dist.dir" location="dist" />
+ <property name="doc.dir" location="doc" />
+
+ <property name="junit.jar" location="${ant.home}/../org.junit_3.8.1/junit.jar" />
+
+ <path id="test.classpath">
+ <pathelement path="${junit.jar}" />
+ <pathelement path="${build.classes.dir}" />
+ <pathelement path="${test.classes.dir}" />
+ </path>
+ </target>
+
+ <target name="test" depends="compile">
+ <mkdir dir="${test.classes.dir}" />
+ <mkdir dir="${test.data.dir}" />
+ <mkdir dir="${test.reports.dir}" />
+
+ <javac destdir="${test.classes.dir}" failonerror="${javacFailOnError}" verbose="${javacVerbose}" debug="${javacDebugInfo}" bootclasspath="${bootclasspath}" source="${javacSource}" target="${javacTarget}">
+ <classpath refid="test.classpath" />
+ <src path="${test.src.dir}" />
+ <include name="**/*Test.java" />
+ </javac>
+
+ <copy todir="${build.classes.dir}" failonerror="true">
+ <fileset dir="${src.dir}" excludes="**/*.java" />
+ </copy>
+
+ <junit printsummary="yes" fork="yes" errorProperty="test.failed" failureProperty="test.failed">
+ <classpath refid="test.classpath" />
+ <formatter type="xml" />
+ <batchtest todir="${test.data.dir}">
+ <fileset dir="${test.classes.dir}" includes="**/*Test.class" />
+ </batchtest>
+ </junit>
+
+ <junitreport todir="${test.data.dir}">
+ <fileset dir="${test.data.dir}" includes="TEST-*.xml" />
+ <report format="frames" todir="${test.reports.dir}" />
+ </junitreport>
+
+ <fail if="test.failed" message="JUnit tests failed; see reports" />
+ </target>
+</project>
</pre></div>
<center><small><a href="http://www.badgers-in-foil.co.uk/projects/cvsspam/" title="commit -> email">CVSspam</a> 0.2.11</small></center>
</body></html>
|