1744 |
15 Jun 07 |
gregory |
1 |
<?xml version="1.0"?> |
1744 |
15 Jun 07 |
gregory |
2 |
<!-- |
1744 |
15 Jun 07 |
gregory |
$Id$ |
1744 |
15 Jun 07 |
gregory |
4 |
|
1916 |
31 Aug 07 |
jari |
Copyright (C) 2007 Gregory Vincic |
1744 |
15 Jun 07 |
gregory |
6 |
|
1744 |
15 Jun 07 |
gregory |
Files are copyright by their respective authors. The contributions to |
1744 |
15 Jun 07 |
gregory |
files where copyright is not explicitly stated can be traced with the |
1744 |
15 Jun 07 |
gregory |
source code revision system. |
1744 |
15 Jun 07 |
gregory |
10 |
|
1744 |
15 Jun 07 |
gregory |
This file is part of Proteios. |
1744 |
15 Jun 07 |
gregory |
Available at http://www.proteios.org/ |
1744 |
15 Jun 07 |
gregory |
13 |
|
1744 |
15 Jun 07 |
gregory |
Proteios is free software; you can redistribute it and/or |
1744 |
15 Jun 07 |
gregory |
modify it under the terms of the GNU General Public License |
1744 |
15 Jun 07 |
gregory |
as published by the Free Software Foundation; either version 2 |
1744 |
15 Jun 07 |
gregory |
of the License, or (at your option) any later version. |
1744 |
15 Jun 07 |
gregory |
18 |
|
1744 |
15 Jun 07 |
gregory |
Proteios is distributed in the hope that it will be useful, |
1744 |
15 Jun 07 |
gregory |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
1744 |
15 Jun 07 |
gregory |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1744 |
15 Jun 07 |
gregory |
GNU General Public License for more details. |
1744 |
15 Jun 07 |
gregory |
23 |
|
1744 |
15 Jun 07 |
gregory |
You should have received a copy of the GNU General Public License |
1744 |
15 Jun 07 |
gregory |
along with this program; if not, write to the Free Software |
1744 |
15 Jun 07 |
gregory |
Foundation, Inc., 59 Temple Place - Suite 330, |
1744 |
15 Jun 07 |
gregory |
Boston, MA 02111-1307, USA. |
1744 |
15 Jun 07 |
gregory |
28 |
--> |
3584 |
12 Mar 10 |
gregory |
29 |
<project name="Proteios Servlet" |
3584 |
12 Mar 10 |
gregory |
30 |
default="dist-jar"> |
3584 |
12 Mar 10 |
gregory |
31 |
<description>Graphical interface of proteios.</description> |
3584 |
12 Mar 10 |
gregory |
<!-- ===== Configuration ===== --> |
3584 |
12 Mar 10 |
gregory |
33 |
<property name="src" |
3584 |
12 Mar 10 |
gregory |
34 |
location="src" /> |
3584 |
12 Mar 10 |
gregory |
35 |
<property name="build" |
3584 |
12 Mar 10 |
gregory |
36 |
location="build" /> |
3584 |
12 Mar 10 |
gregory |
37 |
<property name="dist" |
3584 |
12 Mar 10 |
gregory |
38 |
location="dist" /> |
3584 |
12 Mar 10 |
gregory |
39 |
<property name="test" |
3584 |
12 Mar 10 |
gregory |
40 |
location="test" /> |
3584 |
12 Mar 10 |
gregory |
41 |
<path id="classpath"> |
3584 |
12 Mar 10 |
gregory |
42 |
<fileset dir="../../api/external"> |
3584 |
12 Mar 10 |
gregory |
43 |
<include name="**/*.jar" /> |
3584 |
12 Mar 10 |
gregory |
44 |
</fileset> |
3584 |
12 Mar 10 |
gregory |
<!-- Core dependency --> |
3584 |
12 Mar 10 |
gregory |
46 |
<pathelement location="../../api/core/build" /> |
3584 |
12 Mar 10 |
gregory |
<!-- Waf dependency --> |
3584 |
12 Mar 10 |
gregory |
48 |
<pathelement location="../../api/waf/build" /> |
3584 |
12 Mar 10 |
gregory |
<!-- Plugin dependency --> |
3584 |
12 Mar 10 |
gregory |
50 |
<pathelement location="../../plugin/build" /> |
3584 |
12 Mar 10 |
gregory |
51 |
</path> |
3584 |
12 Mar 10 |
gregory |
52 |
<!-- ================================= --> |
3584 |
12 Mar 10 |
gregory |
53 |
<target name="dist-jar" |
3584 |
12 Mar 10 |
gregory |
54 |
description="--> Proteios Servlet"> |
3584 |
12 Mar 10 |
gregory |
55 |
<mkdir dir="${dist}" /> |
3584 |
12 Mar 10 |
gregory |
56 |
<jar basedir="${build}" |
3584 |
12 Mar 10 |
gregory |
57 |
destfile="${dist}/proteios_client.jar" |
3584 |
12 Mar 10 |
gregory |
58 |
includes="**/*.class" /> |
3584 |
12 Mar 10 |
gregory |
59 |
</target> |
3584 |
12 Mar 10 |
gregory |
60 |
<!-- ================================= --> |
3584 |
12 Mar 10 |
gregory |
61 |
<target name="package" |
3584 |
12 Mar 10 |
gregory |
62 |
depends="clean, compile, dist-jar" |
3584 |
12 Mar 10 |
gregory |
63 |
description="--> Proteios Servlet"> |
3584 |
12 Mar 10 |
gregory |
<!-- Build war file --> |
3584 |
12 Mar 10 |
gregory |
65 |
<war destfile="${dist}/proteios.war" |
3584 |
12 Mar 10 |
gregory |
66 |
webxml="conf/web.xml"> |
3584 |
12 Mar 10 |
gregory |
67 |
<classes dir="${build}" /> |
3584 |
12 Mar 10 |
gregory |
68 |
<lib dir="../../api"> |
3584 |
12 Mar 10 |
gregory |
69 |
<include name="external/*.jar" /> |
3584 |
12 Mar 10 |
gregory |
70 |
<include name="core/dist/*.jar" /> |
3584 |
12 Mar 10 |
gregory |
71 |
<include name="waf/dist/*.jar" /> |
3584 |
12 Mar 10 |
gregory |
72 |
</lib> |
3584 |
12 Mar 10 |
gregory |
73 |
<fileset dir="www" /> |
3584 |
12 Mar 10 |
gregory |
74 |
</war> |
3584 |
12 Mar 10 |
gregory |
75 |
</target> |
3584 |
12 Mar 10 |
gregory |
76 |
<!-- ================================= --> |
3584 |
12 Mar 10 |
gregory |
77 |
<target name="compile"> |
3584 |
12 Mar 10 |
gregory |
78 |
<mkdir dir="${build}" /> |
3584 |
12 Mar 10 |
gregory |
79 |
<javac encoding="ISO-8859-1" |
3584 |
12 Mar 10 |
gregory |
80 |
srcdir="${src}" |
3584 |
12 Mar 10 |
gregory |
81 |
destdir="${build}" |
3584 |
12 Mar 10 |
gregory |
82 |
classpathref="classpath" |
3584 |
12 Mar 10 |
gregory |
83 |
debug="true" |
3855 |
16 Sep 10 |
gregory |
84 |
deprecation="true" |
3855 |
16 Sep 10 |
gregory |
85 |
includeantruntime="no"> |
3584 |
12 Mar 10 |
gregory |
86 |
<compilerarg value="-Xlint:unchecked" /> |
3584 |
12 Mar 10 |
gregory |
87 |
</javac> |
3584 |
12 Mar 10 |
gregory |
<!-- Copy locale stuff. TODO Move locale stuff out of the src directory --> |
3584 |
12 Mar 10 |
gregory |
89 |
<copy todir="${build}"> |
3584 |
12 Mar 10 |
gregory |
90 |
<fileset dir="${src}"> |
3584 |
12 Mar 10 |
gregory |
91 |
<exclude name="**/*.java" /> |
3584 |
12 Mar 10 |
gregory |
92 |
</fileset> |
3584 |
12 Mar 10 |
gregory |
93 |
</copy> |
3584 |
12 Mar 10 |
gregory |
94 |
</target> |
3584 |
12 Mar 10 |
gregory |
95 |
<!-- ================================= --> |
3585 |
12 Mar 10 |
gregory |
96 |
<target name="dev" |
4391 |
05 Dec 12 |
olle |
97 |
description="compiles files directly into $CATALINA_BASE/webapps/proteios/WEB-INF/classes"> |
3585 |
12 Mar 10 |
gregory |
98 |
<property environment="env"/> |
3585 |
12 Mar 10 |
gregory |
99 |
<antcall target="compile"> |
3585 |
12 Mar 10 |
gregory |
100 |
<param name="build" |
4391 |
05 Dec 12 |
olle |
101 |
value="${env.CATALINA_BASE}/webapps/proteios/WEB-INF/classes"/> |
3585 |
12 Mar 10 |
gregory |
102 |
</antcall> |
4391 |
05 Dec 12 |
olle |
103 |
<copy todir="${env.CATALINA_BASE}/webapps/proteios/static"> |
3589 |
12 Mar 10 |
gregory |
104 |
<fileset dir="www/static"> |
3589 |
12 Mar 10 |
gregory |
105 |
<exclude name="**/static/img/orig/**" /> |
3589 |
12 Mar 10 |
gregory |
106 |
</fileset> |
3589 |
12 Mar 10 |
gregory |
107 |
</copy> |
3585 |
12 Mar 10 |
gregory |
108 |
</target> |
3585 |
12 Mar 10 |
gregory |
109 |
<!-- ================================= --> |
3584 |
12 Mar 10 |
gregory |
110 |
<target name="clean"> |
3584 |
12 Mar 10 |
gregory |
111 |
<delete dir="${dist}" /> |
3584 |
12 Mar 10 |
gregory |
112 |
<delete dir="${build}" /> |
3584 |
12 Mar 10 |
gregory |
113 |
<delete dir="${test}/build" /> |
3584 |
12 Mar 10 |
gregory |
114 |
</target> |
3895 |
20 Oct 10 |
gregory |
115 |
|
3584 |
12 Mar 10 |
gregory |
116 |
<!-- ================================= --> |
3895 |
20 Oct 10 |
gregory |
117 |
<target name="clean-test"> |
3895 |
20 Oct 10 |
gregory |
118 |
<delete> |
3895 |
20 Oct 10 |
gregory |
119 |
<fileset dir="." includes="**/TEST*"/> |
3895 |
20 Oct 10 |
gregory |
120 |
</delete> |
3895 |
20 Oct 10 |
gregory |
121 |
</target> |
3895 |
20 Oct 10 |
gregory |
122 |
|
3895 |
20 Oct 10 |
gregory |
123 |
<!-- ================================= --> |
3716 |
25 May 10 |
gregory |
124 |
<target name="test" |
3584 |
12 Mar 10 |
gregory |
125 |
description="Compiles and runs all tests"> |
3716 |
25 May 10 |
gregory |
126 |
<ant dir="test" |
3716 |
25 May 10 |
gregory |
127 |
target="compile" |
3716 |
25 May 10 |
gregory |
128 |
inheritAll="false" /> |
3716 |
25 May 10 |
gregory |
129 |
<ant dir="test" |
3716 |
25 May 10 |
gregory |
130 |
target="test" |
3716 |
25 May 10 |
gregory |
131 |
inheritAll="false" /> |
3584 |
12 Mar 10 |
gregory |
132 |
</target> |
3584 |
12 Mar 10 |
gregory |
133 |
<!-- ================================= --> |
3584 |
12 Mar 10 |
gregory |
134 |
<target name="doc"> |
3584 |
12 Mar 10 |
gregory |
135 |
<javadoc classpathref="classpath" |
3584 |
12 Mar 10 |
gregory |
136 |
destdir="${dist}/docs/api" |
3584 |
12 Mar 10 |
gregory |
137 |
author="true" |
3584 |
12 Mar 10 |
gregory |
138 |
version="true" |
3584 |
12 Mar 10 |
gregory |
139 |
use="true" |
3584 |
12 Mar 10 |
gregory |
140 |
windowtitle="Proteios Servlet"> |
3584 |
12 Mar 10 |
gregory |
141 |
<packageset dir="src" /> |
3584 |
12 Mar 10 |
gregory |
142 |
</javadoc> |
3584 |
12 Mar 10 |
gregory |
143 |
</target> |
1744 |
15 Jun 07 |
gregory |
144 |
</project> |