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 |
--> |
3585 |
12 Mar 10 |
gregory |
29 |
<project name="Proteios FTP server" |
3585 |
12 Mar 10 |
gregory |
30 |
default="dist-jar"> |
3585 |
12 Mar 10 |
gregory |
31 |
<description>FTP server</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 |
47 |
</path> |
3585 |
12 Mar 10 |
gregory |
48 |
<!-- ================================= --> |
3585 |
12 Mar 10 |
gregory |
49 |
<target name="dist-jar" |
3585 |
12 Mar 10 |
gregory |
50 |
description="--> FTP server"> |
3585 |
12 Mar 10 |
gregory |
51 |
<mkdir dir="${dist}" /> |
3585 |
12 Mar 10 |
gregory |
<!-- Build jar file --> |
3585 |
12 Mar 10 |
gregory |
53 |
<jar basedir="${build}" |
3585 |
12 Mar 10 |
gregory |
54 |
destfile="${dist}/proteios_ftpserver.jar" |
3585 |
12 Mar 10 |
gregory |
55 |
includes="**/*.class" |
3585 |
12 Mar 10 |
gregory |
56 |
manifest="Manifest" /> |
3585 |
12 Mar 10 |
gregory |
57 |
</target> |
3585 |
12 Mar 10 |
gregory |
58 |
<!-- ================================= --> |
3585 |
12 Mar 10 |
gregory |
59 |
<target name="compile"> |
3585 |
12 Mar 10 |
gregory |
60 |
<mkdir dir="${build}" /> |
3585 |
12 Mar 10 |
gregory |
61 |
<javac encoding="ISO-8859-1" |
3585 |
12 Mar 10 |
gregory |
62 |
srcdir="${src}" |
3585 |
12 Mar 10 |
gregory |
63 |
destdir="${build}" |
3585 |
12 Mar 10 |
gregory |
64 |
classpathref="classpath" |
3585 |
12 Mar 10 |
gregory |
65 |
debug="true" |
3979 |
15 Nov 10 |
gregory |
66 |
deprecation="true" |
3979 |
15 Nov 10 |
gregory |
67 |
includeantruntime="no"> |
3585 |
12 Mar 10 |
gregory |
68 |
<compilerarg value="-Xlint:unchecked" /> |
3585 |
12 Mar 10 |
gregory |
69 |
</javac> |
3585 |
12 Mar 10 |
gregory |
70 |
</target> |
3585 |
12 Mar 10 |
gregory |
71 |
<!-- ================================= --> |
3585 |
12 Mar 10 |
gregory |
72 |
<target name="dev" |
4391 |
05 Dec 12 |
olle |
73 |
description="compiles files directly into $CATALINA_BASE/webapps/proteios/WEB-INF/classes"> |
3585 |
12 Mar 10 |
gregory |
74 |
<property environment="env"/> |
3585 |
12 Mar 10 |
gregory |
75 |
<antcall target="compile"> |
3585 |
12 Mar 10 |
gregory |
76 |
<param name="build" |
4391 |
05 Dec 12 |
olle |
77 |
value="${env.CATALINA_BASE}/webapps/proteios/WEB-INF/classes"/> |
3585 |
12 Mar 10 |
gregory |
78 |
</antcall> |
3585 |
12 Mar 10 |
gregory |
79 |
</target> |
3585 |
12 Mar 10 |
gregory |
80 |
<!-- ================================= --> |
3585 |
12 Mar 10 |
gregory |
81 |
<target name="clean"> |
3585 |
12 Mar 10 |
gregory |
82 |
<delete dir="${dist}" /> |
3585 |
12 Mar 10 |
gregory |
83 |
<delete dir="${build}" /> |
3585 |
12 Mar 10 |
gregory |
84 |
<delete dir="${test}/build" /> |
3585 |
12 Mar 10 |
gregory |
85 |
</target> |
3585 |
12 Mar 10 |
gregory |
86 |
<!-- ================================= --> |
3585 |
12 Mar 10 |
gregory |
87 |
<target name="test" |
3585 |
12 Mar 10 |
gregory |
88 |
description="Compiles and runs all tests"> |
3585 |
12 Mar 10 |
gregory |
89 |
<mkdir dir="${test}/build" /> |
3585 |
12 Mar 10 |
gregory |
90 |
<javac encoding="ISO-8859-1" |
3585 |
12 Mar 10 |
gregory |
91 |
srcdir="${test}/src" |
3585 |
12 Mar 10 |
gregory |
92 |
destdir="${test}/build" |
3585 |
12 Mar 10 |
gregory |
93 |
classpathref="classpath" |
3585 |
12 Mar 10 |
gregory |
94 |
debug="true" |
3585 |
12 Mar 10 |
gregory |
95 |
deprecation="true"> |
3585 |
12 Mar 10 |
gregory |
96 |
<compilerarg value="-Xlint:unchecked" /> |
3585 |
12 Mar 10 |
gregory |
97 |
</javac> |
3585 |
12 Mar 10 |
gregory |
<!-- Run tests. All tests should run quietly unless something goes wrong. --> |
3585 |
12 Mar 10 |
gregory |
99 |
<junit printsummary="false" |
3585 |
12 Mar 10 |
gregory |
100 |
haltonfailure="true" |
3585 |
12 Mar 10 |
gregory |
101 |
forkmode="once" |
3585 |
12 Mar 10 |
gregory |
102 |
reloading="false"> |
3585 |
12 Mar 10 |
gregory |
103 |
<formatter type="brief" |
3585 |
12 Mar 10 |
gregory |
104 |
usefile="false" /> |
3585 |
12 Mar 10 |
gregory |
105 |
<classpath refid="classpath" /> |
3585 |
12 Mar 10 |
gregory |
<!-- <test name="se.lu.thep.coreftpd.TestSomething" /> --> |
3585 |
12 Mar 10 |
gregory |
107 |
</junit> |
3585 |
12 Mar 10 |
gregory |
108 |
</target> |
3585 |
12 Mar 10 |
gregory |
109 |
<!-- ================================= --> |
3585 |
12 Mar 10 |
gregory |
110 |
<target name="doc"> |
3585 |
12 Mar 10 |
gregory |
111 |
<javadoc classpathref="classpath" |
3585 |
12 Mar 10 |
gregory |
112 |
destdir="${dist}/docs/api" |
3585 |
12 Mar 10 |
gregory |
113 |
verbose="false" |
3585 |
12 Mar 10 |
gregory |
114 |
author="true" |
3585 |
12 Mar 10 |
gregory |
115 |
version="true" |
3585 |
12 Mar 10 |
gregory |
116 |
use="true" |
3585 |
12 Mar 10 |
gregory |
117 |
windowtitle="Proteios FTP server"> |
3585 |
12 Mar 10 |
gregory |
118 |
<packageset dir="src" /> |
3585 |
12 Mar 10 |
gregory |
119 |
</javadoc> |
3585 |
12 Mar 10 |
gregory |
120 |
</target> |
1744 |
15 Jun 07 |
gregory |
121 |
</project> |