1736 |
14 Jun 07 |
gregory |
1 |
<?xml version="1.0"?> |
1736 |
14 Jun 07 |
gregory |
2 |
<!-- |
1736 |
14 Jun 07 |
gregory |
$Id$ |
1736 |
14 Jun 07 |
gregory |
4 |
|
1916 |
31 Aug 07 |
jari |
Copyright (C) 2007 Gregory Vincic |
1736 |
14 Jun 07 |
gregory |
6 |
|
1736 |
14 Jun 07 |
gregory |
Files are copyright by their respective authors. The contributions to |
1736 |
14 Jun 07 |
gregory |
files where copyright is not explicitly stated can be traced with the |
1736 |
14 Jun 07 |
gregory |
source code revision system. |
1736 |
14 Jun 07 |
gregory |
10 |
|
1736 |
14 Jun 07 |
gregory |
This file is part of Proteios. |
1736 |
14 Jun 07 |
gregory |
Available at http://www.proteios.org/ |
1736 |
14 Jun 07 |
gregory |
13 |
|
1736 |
14 Jun 07 |
gregory |
Proteios is free software; you can redistribute it and/or |
1736 |
14 Jun 07 |
gregory |
modify it under the terms of the GNU General Public License |
1736 |
14 Jun 07 |
gregory |
as published by the Free Software Foundation; either version 2 |
1736 |
14 Jun 07 |
gregory |
of the License, or (at your option) any later version. |
1736 |
14 Jun 07 |
gregory |
18 |
|
1736 |
14 Jun 07 |
gregory |
Proteios is distributed in the hope that it will be useful, |
1736 |
14 Jun 07 |
gregory |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
1736 |
14 Jun 07 |
gregory |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1736 |
14 Jun 07 |
gregory |
GNU General Public License for more details. |
1736 |
14 Jun 07 |
gregory |
23 |
|
1736 |
14 Jun 07 |
gregory |
You should have received a copy of the GNU General Public License |
1736 |
14 Jun 07 |
gregory |
along with this program; if not, write to the Free Software |
1736 |
14 Jun 07 |
gregory |
Foundation, Inc., 59 Temple Place - Suite 330, |
1736 |
14 Jun 07 |
gregory |
Boston, MA 02111-1307, USA. |
1736 |
14 Jun 07 |
gregory |
28 |
--> |
3585 |
12 Mar 10 |
gregory |
29 |
<project name="Web Application Framework (WAF)" |
3585 |
12 Mar 10 |
gregory |
30 |
default="dist"> |
3585 |
12 Mar 10 |
gregory |
31 |
<description>Simple web application framework.</description> |
3585 |
12 Mar 10 |
gregory |
<!-- ====== Configuration ====== --> |
3585 |
12 Mar 10 |
gregory |
33 |
<property name="src" |
3585 |
12 Mar 10 |
gregory |
34 |
location="src" /> |
3585 |
12 Mar 10 |
gregory |
35 |
<property name="build" |
3585 |
12 Mar 10 |
gregory |
36 |
location="build" /> |
3585 |
12 Mar 10 |
gregory |
37 |
<property name="dist" |
3585 |
12 Mar 10 |
gregory |
38 |
location="dist" /> |
3585 |
12 Mar 10 |
gregory |
39 |
<property name="test" |
3585 |
12 Mar 10 |
gregory |
40 |
location="test" /> |
3585 |
12 Mar 10 |
gregory |
41 |
<path id="classpath"> |
3585 |
12 Mar 10 |
gregory |
42 |
<fileset dir="../external"> |
3585 |
12 Mar 10 |
gregory |
43 |
<include name="**/*.jar" /> |
3585 |
12 Mar 10 |
gregory |
44 |
</fileset> |
3585 |
12 Mar 10 |
gregory |
45 |
</path> |
3585 |
12 Mar 10 |
gregory |
46 |
<!-- ================================= --> |
3585 |
12 Mar 10 |
gregory |
47 |
<target name="dist-jar" |
3585 |
12 Mar 10 |
gregory |
48 |
description="--> Simple web application framework API."> |
3585 |
12 Mar 10 |
gregory |
49 |
<mkdir dir="${dist}" /> |
3585 |
12 Mar 10 |
gregory |
50 |
<jar basedir="${build}" |
3585 |
12 Mar 10 |
gregory |
51 |
destfile="${dist}/proteios_waf.jar" |
3585 |
12 Mar 10 |
gregory |
52 |
includes="**/*.class" /> |
3585 |
12 Mar 10 |
gregory |
53 |
</target> |
3585 |
12 Mar 10 |
gregory |
54 |
<!-- ================================= --> |
3585 |
12 Mar 10 |
gregory |
55 |
<target name="dist" |
3585 |
12 Mar 10 |
gregory |
56 |
description="--> Simple web application framework API."> |
3585 |
12 Mar 10 |
gregory |
57 |
<mkdir dir="${dist}" /> |
3585 |
12 Mar 10 |
gregory |
58 |
<jar basedir="${build}" |
3585 |
12 Mar 10 |
gregory |
59 |
destfile="${dist}/waf.jar" |
3585 |
12 Mar 10 |
gregory |
60 |
includes="**/*.class" /> |
3585 |
12 Mar 10 |
gregory |
61 |
</target> |
3585 |
12 Mar 10 |
gregory |
62 |
<!-- ================================= --> |
3585 |
12 Mar 10 |
gregory |
63 |
<target name="compile"> |
3585 |
12 Mar 10 |
gregory |
64 |
<mkdir dir="${build}" /> |
3585 |
12 Mar 10 |
gregory |
65 |
<javac encoding="ISO-8859-1" |
3585 |
12 Mar 10 |
gregory |
66 |
srcdir="${src}" |
3585 |
12 Mar 10 |
gregory |
67 |
destdir="${build}" |
3585 |
12 Mar 10 |
gregory |
68 |
classpathref="classpath" |
3585 |
12 Mar 10 |
gregory |
69 |
debug="true" |
3979 |
15 Nov 10 |
gregory |
70 |
deprecation="true" |
3979 |
15 Nov 10 |
gregory |
71 |
includeantruntime="no"> |
3585 |
12 Mar 10 |
gregory |
72 |
<compilerarg value="-Xlint:unchecked" /> |
3585 |
12 Mar 10 |
gregory |
73 |
</javac> |
3585 |
12 Mar 10 |
gregory |
74 |
</target> |
3585 |
12 Mar 10 |
gregory |
75 |
<!-- ================================= --> |
3585 |
12 Mar 10 |
gregory |
76 |
<target name="dev" |
4391 |
05 Dec 12 |
olle |
77 |
description="compiles files directly into $CATALINA_BASE/webapps/proteios/WEB-INF/classes"> |
3585 |
12 Mar 10 |
gregory |
78 |
<property environment="env" /> |
3585 |
12 Mar 10 |
gregory |
79 |
<antcall target="compile"> |
3585 |
12 Mar 10 |
gregory |
80 |
<param name="build" |
4391 |
05 Dec 12 |
olle |
81 |
value="${env.CATALINA_BASE}/webapps/proteios/WEB-INF/classes"/> |
3585 |
12 Mar 10 |
gregory |
82 |
</antcall> |
3585 |
12 Mar 10 |
gregory |
83 |
</target> |
3585 |
12 Mar 10 |
gregory |
84 |
<!-- ================================= --> |
3585 |
12 Mar 10 |
gregory |
85 |
<target name="clean"> |
3585 |
12 Mar 10 |
gregory |
86 |
<delete dir="${dist}" /> |
3585 |
12 Mar 10 |
gregory |
87 |
<delete dir="${build}" /> |
3585 |
12 Mar 10 |
gregory |
88 |
<delete dir="${test}/build" /> |
3585 |
12 Mar 10 |
gregory |
89 |
</target> |
3585 |
12 Mar 10 |
gregory |
90 |
<!-- ================================= --> |
3585 |
12 Mar 10 |
gregory |
91 |
<target name="test" |
3585 |
12 Mar 10 |
gregory |
92 |
description="Compiles and runs all tests"> |
3585 |
12 Mar 10 |
gregory |
93 |
<ant dir="test" |
3585 |
12 Mar 10 |
gregory |
94 |
target="clean" |
3585 |
12 Mar 10 |
gregory |
95 |
inheritAll="false" /> |
3585 |
12 Mar 10 |
gregory |
96 |
<ant dir="test" |
3585 |
12 Mar 10 |
gregory |
97 |
target="compile" |
3585 |
12 Mar 10 |
gregory |
98 |
inheritAll="false" /> |
3585 |
12 Mar 10 |
gregory |
99 |
<ant dir="test" |
3585 |
12 Mar 10 |
gregory |
100 |
target="test" |
3585 |
12 Mar 10 |
gregory |
101 |
inheritAll="false" /> |
3585 |
12 Mar 10 |
gregory |
102 |
</target> |
3585 |
12 Mar 10 |
gregory |
103 |
<!-- ================================= --> |
3585 |
12 Mar 10 |
gregory |
104 |
<target name="doc"> |
3585 |
12 Mar 10 |
gregory |
105 |
<javadoc destdir="${dist}/docs/api" |
3585 |
12 Mar 10 |
gregory |
106 |
author="true" |
3585 |
12 Mar 10 |
gregory |
107 |
version="true" |
3585 |
12 Mar 10 |
gregory |
108 |
use="true" |
3585 |
12 Mar 10 |
gregory |
109 |
windowtitle="Web Application API"> |
3585 |
12 Mar 10 |
gregory |
110 |
<packageset dir="src" /> |
3585 |
12 Mar 10 |
gregory |
111 |
<classpath refid="classpath" /> |
3585 |
12 Mar 10 |
gregory |
112 |
</javadoc> |
3585 |
12 Mar 10 |
gregory |
113 |
</target> |
1736 |
14 Jun 07 |
gregory |
114 |
</project> |