11 |
11 Oct 05 |
enell |
1 |
<?xml version="1.0" encoding="UTF-8"?> |
758 |
15 Sep 08 |
jari |
2 |
<!-- |
758 |
15 Sep 08 |
jari |
$Id$ |
11 |
11 Oct 05 |
enell |
4 |
|
758 |
15 Sep 08 |
jari |
Copyright (C) 2005, 2006 Johan Enell |
758 |
15 Sep 08 |
jari |
Copyright (C) 2008 Jari Hakkinen |
65 |
07 Feb 06 |
enell |
7 |
|
758 |
15 Sep 08 |
jari |
This file is part of the se.lu.onk.BaseFile package, a utility |
758 |
15 Sep 08 |
jari |
package for reading files generated by BASE. The package is |
758 |
15 Sep 08 |
jari |
available at http://baseplugins.thep.lu.se/ and BASE web site is |
758 |
15 Sep 08 |
jari |
http://base.thep.lu.se |
11 |
11 Oct 05 |
enell |
12 |
|
758 |
15 Sep 08 |
jari |
This is free software; you can redistribute it and/or modify it |
758 |
15 Sep 08 |
jari |
under the terms of the GNU General Public License as published by |
758 |
15 Sep 08 |
jari |
the Free Software Foundation; either version 3 of the License, or |
758 |
15 Sep 08 |
jari |
(at your option) any later version. |
180 |
27 Sep 06 |
enell |
17 |
|
758 |
15 Sep 08 |
jari |
The software is distributed in the hope that it will be useful, |
758 |
15 Sep 08 |
jari |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
782 |
18 Sep 08 |
jari |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
758 |
15 Sep 08 |
jari |
General Public License for more details. |
65 |
07 Feb 06 |
enell |
22 |
|
758 |
15 Sep 08 |
jari |
You should have received a copy of the GNU General Public License |
758 |
15 Sep 08 |
jari |
along with BASE. If not, see <http://www.gnu.org/licenses/>. |
758 |
15 Sep 08 |
jari |
25 |
--> |
759 |
15 Sep 08 |
jari |
26 |
<project name="se.lu.onk.BaseFile package for BASE" |
758 |
15 Sep 08 |
jari |
27 |
default="dist" basedir="."> |
758 |
15 Sep 08 |
jari |
28 |
<description> |
758 |
15 Sep 08 |
jari |
29 |
This build file is used for se.lu.onk.BaseFile package for BASE |
758 |
15 Sep 08 |
jari |
30 |
created at the Department of Oncology, Lund University, Sweden. |
758 |
15 Sep 08 |
jari |
31 |
</description> |
65 |
07 Feb 06 |
enell |
32 |
|
758 |
15 Sep 08 |
jari |
<!-- properties --> |
759 |
15 Sep 08 |
jari |
34 |
|
759 |
15 Sep 08 |
jari |
<!-- set BaseFile package version |
759 |
15 Sep 08 |
jari |
Two numbers are used. 1.0 is the first release, the second |
759 |
15 Sep 08 |
jari |
number is increased for each new release that does not changed |
759 |
15 Sep 08 |
jari |
the API. The first number is changed for API changing |
759 |
15 Sep 08 |
jari |
releases. Add "pre" to unreleased versions. Examples: |
759 |
15 Sep 08 |
jari |
1.0, 1.1, 1.2pre |
759 |
15 Sep 08 |
jari |
41 |
--> |
799 |
01 Oct 08 |
jari |
42 |
<property name="version" value="1.1pre" /> |
759 |
15 Sep 08 |
jari |
43 |
|
758 |
15 Sep 08 |
jari |
44 |
<property name="build" location="build" /> |
99 |
20 Apr 06 |
enell |
45 |
<property name="dist" location="dist" /> |
759 |
15 Sep 08 |
jari |
46 |
<property name="package" location="basefile" /> |
759 |
15 Sep 08 |
jari |
47 |
<property name="packagestring" value="BaseFile-${version}" /> |
759 |
15 Sep 08 |
jari |
48 |
<property name="src" location="src" /> |
180 |
27 Sep 06 |
enell |
49 |
|
759 |
15 Sep 08 |
jari |
50 |
|
65 |
07 Feb 06 |
enell |
51 |
<!-- ================================= |
99 |
20 Apr 06 |
enell |
target: compile |
99 |
20 Apr 06 |
enell |
53 |
================================== --> |
758 |
15 Sep 08 |
jari |
54 |
<target name="compile"> |
758 |
15 Sep 08 |
jari |
55 |
<mkdir dir="${build}"/> |
99 |
20 Apr 06 |
enell |
56 |
<javac |
758 |
15 Sep 08 |
jari |
57 |
srcdir="${src}" |
758 |
15 Sep 08 |
jari |
58 |
destdir="${build}" |
99 |
20 Apr 06 |
enell |
59 |
debug="true" |
99 |
20 Apr 06 |
enell |
60 |
deprecation="true" |
99 |
20 Apr 06 |
enell |
61 |
encoding="ISO-8859-1" |
99 |
20 Apr 06 |
enell |
62 |
/> |
99 |
20 Apr 06 |
enell |
63 |
</target> |
11 |
11 Oct 05 |
enell |
64 |
|
65 |
07 Feb 06 |
enell |
65 |
<!-- ================================= |
65 |
07 Feb 06 |
enell |
target: clean |
11 |
11 Oct 05 |
enell |
67 |
================================= --> |
100 |
20 Apr 06 |
enell |
68 |
<target name="clean" description="--> Remove all generated files"> |
780 |
18 Sep 08 |
jari |
69 |
<delete dir="${build}" /> |
100 |
20 Apr 06 |
enell |
70 |
<delete dir="${dist}" /> |
758 |
15 Sep 08 |
jari |
71 |
<delete dir="${package}" /> |
765 |
16 Sep 08 |
jari |
72 |
<delete file="${packagestring}.tgz" /> |
797 |
01 Oct 08 |
jari |
73 |
<delete file="${packagestring}.tgz.MD5" /> |
11 |
11 Oct 05 |
enell |
74 |
</target> |
65 |
07 Feb 06 |
enell |
75 |
|
99 |
20 Apr 06 |
enell |
76 |
|
65 |
07 Feb 06 |
enell |
77 |
<!-- ================================= |
65 |
07 Feb 06 |
enell |
target: dist |
65 |
07 Feb 06 |
enell |
79 |
================================== --> |
758 |
15 Sep 08 |
jari |
80 |
<target name="dist" depends="compile"> |
140 |
10 Aug 06 |
enell |
81 |
<mkdir dir="${dist}" /> |
758 |
15 Sep 08 |
jari |
82 |
<jar destfile="${dist}/BaseFile.jar"> |
758 |
15 Sep 08 |
jari |
83 |
<fileset dir="${build}" /> |
99 |
20 Apr 06 |
enell |
84 |
<manifest> |
99 |
20 Apr 06 |
enell |
85 |
<attribute name="Built-By" value="${user.name}" /> |
99 |
20 Apr 06 |
enell |
86 |
</manifest> |
99 |
20 Apr 06 |
enell |
87 |
</jar> |
99 |
20 Apr 06 |
enell |
88 |
</target> |
99 |
20 Apr 06 |
enell |
89 |
|
180 |
27 Sep 06 |
enell |
90 |
<!-- ================================= |
758 |
15 Sep 08 |
jari |
target: package |
180 |
27 Sep 06 |
enell |
92 |
================================= --> |
758 |
15 Sep 08 |
jari |
93 |
<target name="package" depends="dist" |
765 |
16 Sep 08 |
jari |
94 |
description="--> Create a tgz file for distribution."> |
758 |
15 Sep 08 |
jari |
95 |
<mkdir dir="${package}"/> |
765 |
16 Sep 08 |
jari |
96 |
<copy todir="${package}"> |
758 |
15 Sep 08 |
jari |
97 |
<fileset file="${dist}/BaseFile.jar" /> |
758 |
15 Sep 08 |
jari |
98 |
<fileset file="README" /> |
758 |
15 Sep 08 |
jari |
99 |
<fileset file="license.txt" /> |
758 |
15 Sep 08 |
jari |
100 |
</copy> |
765 |
16 Sep 08 |
jari |
101 |
<tar |
765 |
16 Sep 08 |
jari |
102 |
destfile="${packagestring}.tgz" |
765 |
16 Sep 08 |
jari |
103 |
longfile="gnu" |
765 |
16 Sep 08 |
jari |
104 |
compression="gzip" |
765 |
16 Sep 08 |
jari |
105 |
> |
765 |
16 Sep 08 |
jari |
106 |
<tarfileset |
765 |
16 Sep 08 |
jari |
107 |
dir="${package}" |
765 |
16 Sep 08 |
jari |
108 |
prefix="${packagestring}" |
765 |
16 Sep 08 |
jari |
109 |
preserveLeadingSlashes="true" |
765 |
16 Sep 08 |
jari |
110 |
> |
765 |
16 Sep 08 |
jari |
111 |
</tarfileset> |
765 |
16 Sep 08 |
jari |
112 |
</tar> |
797 |
01 Oct 08 |
jari |
113 |
<checksum file="${packagestring}.tgz" /> |
140 |
10 Aug 06 |
enell |
114 |
</target> |
140 |
10 Aug 06 |
enell |
115 |
|
707 |
27 May 08 |
jari |
116 |
</project> |