1773 |
19 Jun 07 |
gregory |
1 |
<?xml version="1.0"?> |
1773 |
19 Jun 07 |
gregory |
2 |
<!-- |
1773 |
19 Jun 07 |
gregory |
$Id: build.xml 1771 2007-06-19 08:46:18Z gregory $ |
1773 |
19 Jun 07 |
gregory |
4 |
|
1916 |
31 Aug 07 |
jari |
Copyright (C) 2007 Gregory Vincic |
1773 |
19 Jun 07 |
gregory |
6 |
|
1773 |
19 Jun 07 |
gregory |
Files are copyright by their respective authors. The contributions to |
1773 |
19 Jun 07 |
gregory |
files where copyright is not explicitly stated can be traced with the |
1773 |
19 Jun 07 |
gregory |
source code revision system. |
1773 |
19 Jun 07 |
gregory |
10 |
|
1773 |
19 Jun 07 |
gregory |
This file is part of Proteios. |
1773 |
19 Jun 07 |
gregory |
Available at http://www.proteios.org/ |
1773 |
19 Jun 07 |
gregory |
13 |
|
1773 |
19 Jun 07 |
gregory |
Proteios is free software; you can redistribute it and/or |
1773 |
19 Jun 07 |
gregory |
modify it under the terms of the GNU General Public License |
1773 |
19 Jun 07 |
gregory |
as published by the Free Software Foundation; either version 2 |
1773 |
19 Jun 07 |
gregory |
of the License, or (at your option) any later version. |
1773 |
19 Jun 07 |
gregory |
18 |
|
1773 |
19 Jun 07 |
gregory |
Proteios is distributed in the hope that it will be useful, |
1773 |
19 Jun 07 |
gregory |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
1773 |
19 Jun 07 |
gregory |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1773 |
19 Jun 07 |
gregory |
GNU General Public License for more details. |
1773 |
19 Jun 07 |
gregory |
23 |
|
1773 |
19 Jun 07 |
gregory |
You should have received a copy of the GNU General Public License |
1773 |
19 Jun 07 |
gregory |
along with this program; if not, write to the Free Software |
1773 |
19 Jun 07 |
gregory |
Foundation, Inc., 59 Temple Place - Suite 330, |
1773 |
19 Jun 07 |
gregory |
Boston, MA 02111-1307, USA. |
1773 |
19 Jun 07 |
gregory |
28 |
--> |
1773 |
19 Jun 07 |
gregory |
29 |
<project name="Test WAF" default="test"> |
1773 |
19 Jun 07 |
gregory |
30 |
<description> |
2141 |
16 Oct 07 |
gregory |
31 |
Test WAF API |
1773 |
19 Jun 07 |
gregory |
32 |
</description> |
1773 |
19 Jun 07 |
gregory |
33 |
<!-- ================================ |
1773 |
19 Jun 07 |
gregory |
Configuration |
1773 |
19 Jun 07 |
gregory |
35 |
================================ --> |
1773 |
19 Jun 07 |
gregory |
36 |
<property name="src" location="src" /> |
1773 |
19 Jun 07 |
gregory |
37 |
<property name="build" location="build" /> |
1773 |
19 Jun 07 |
gregory |
38 |
<property name="dist" location="dist" /> |
1773 |
19 Jun 07 |
gregory |
39 |
<property name="test" location="test" /> |
1773 |
19 Jun 07 |
gregory |
40 |
<path id="classpath"> |
1773 |
19 Jun 07 |
gregory |
41 |
<fileset dir="../../external/test"> |
1773 |
19 Jun 07 |
gregory |
42 |
<include name="**/*.jar" /> |
1773 |
19 Jun 07 |
gregory |
43 |
</fileset> |
1773 |
19 Jun 07 |
gregory |
44 |
<dirset dir="../build" /> |
1773 |
19 Jun 07 |
gregory |
45 |
<dirset dir="${build}" /> |
1773 |
19 Jun 07 |
gregory |
46 |
</path> |
1773 |
19 Jun 07 |
gregory |
47 |
|
1773 |
19 Jun 07 |
gregory |
48 |
|
1773 |
19 Jun 07 |
gregory |
49 |
<!-- - - - - - - - - - - - - - - - - - |
1773 |
19 Jun 07 |
gregory |
target: compile |
1773 |
19 Jun 07 |
gregory |
51 |
- - - - - - - - - - - - - - - - - --> |
1773 |
19 Jun 07 |
gregory |
52 |
<target name="compile"> |
1773 |
19 Jun 07 |
gregory |
53 |
<mkdir dir="${build}" /> |
1773 |
19 Jun 07 |
gregory |
54 |
<javac encoding="ISO-8859-1" srcdir="${src}" destdir="${build}" classpathref="classpath" debug="true" deprecation="true"> |
1773 |
19 Jun 07 |
gregory |
55 |
<compilerarg value="-Xlint:unchecked" /> |
1773 |
19 Jun 07 |
gregory |
56 |
</javac> |
1773 |
19 Jun 07 |
gregory |
57 |
</target> |
1773 |
19 Jun 07 |
gregory |
58 |
|
1773 |
19 Jun 07 |
gregory |
59 |
<!-- - - - - - - - - - - - - - - - - - |
1773 |
19 Jun 07 |
gregory |
target: clean |
1773 |
19 Jun 07 |
gregory |
61 |
- - - - - - - - - - - - - - - - - --> |
1773 |
19 Jun 07 |
gregory |
62 |
<target name="clean"> |
1773 |
19 Jun 07 |
gregory |
63 |
<delete dir="${dist}" /> |
1773 |
19 Jun 07 |
gregory |
64 |
<delete dir="${build}" /> |
1773 |
19 Jun 07 |
gregory |
65 |
</target> |
1773 |
19 Jun 07 |
gregory |
66 |
|
1773 |
19 Jun 07 |
gregory |
67 |
<!-- - - - - - - - - - - - - - - - - - |
1773 |
19 Jun 07 |
gregory |
target: test |
1773 |
19 Jun 07 |
gregory |
69 |
- - - - - - - - - - - - - - - - - --> |
1773 |
19 Jun 07 |
gregory |
70 |
<target name="test" description="Compiles and runs all tests"> |
1773 |
19 Jun 07 |
gregory |
<!-- Run tests |
1773 |
19 Jun 07 |
gregory |
All tests should run quietly unless something goes wrong. |
1773 |
19 Jun 07 |
gregory |
73 |
--> |
1773 |
19 Jun 07 |
gregory |
74 |
<junit printsummary="false" haltonfailure="true" forkmode="once" reloading="false"> |
1773 |
19 Jun 07 |
gregory |
75 |
<formatter type="brief" usefile="false" /> |
1773 |
19 Jun 07 |
gregory |
76 |
<classpath refid="classpath" /> |
1773 |
19 Jun 07 |
gregory |
77 |
<batchtest> |
1773 |
19 Jun 07 |
gregory |
78 |
<fileset dir="${build}" includes="**/*Test.class" /> |
1773 |
19 Jun 07 |
gregory |
79 |
</batchtest> |
1773 |
19 Jun 07 |
gregory |
80 |
</junit> |
1773 |
19 Jun 07 |
gregory |
81 |
</target> |
1773 |
19 Jun 07 |
gregory |
82 |
</project> |