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