11 |
11 Oct 05 |
enell |
1 |
<?xml version="1.0" encoding="UTF-8"?> |
758 |
15 Sep 08 |
jari |
2 |
<!-- |
788 |
18 Sep 08 |
jari |
$Id$ |
11 |
11 Oct 05 |
enell |
4 |
|
788 |
18 Sep 08 |
jari |
Copyright (C) 2005, 2006 Johan Enell |
996 |
26 Mar 09 |
jari |
Copyright (C) 2008, 2009 Jari Häkkinen |
65 |
07 Feb 06 |
enell |
7 |
|
900 |
08 Dec 08 |
jari |
This file is part of the se.lu.onk.VirtualArray plug-in for |
758 |
15 Sep 08 |
jari |
BASE. Available at http://baseplugins.thep.lu.se/ and BASE web |
758 |
15 Sep 08 |
jari |
site is http://base.thep.lu.se |
11 |
11 Oct 05 |
enell |
11 |
|
788 |
18 Sep 08 |
jari |
This is free software; you can redistribute it and/or modify it |
788 |
18 Sep 08 |
jari |
under the terms of the GNU General Public License as published by |
788 |
18 Sep 08 |
jari |
the Free Software Foundation; either version 3 of the License, or |
788 |
18 Sep 08 |
jari |
(at your option) any later version. |
180 |
27 Sep 06 |
enell |
16 |
|
788 |
18 Sep 08 |
jari |
The software is distributed in the hope that it will be useful, |
788 |
18 Sep 08 |
jari |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
788 |
18 Sep 08 |
jari |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
788 |
18 Sep 08 |
jari |
General Public License for more details. |
65 |
07 Feb 06 |
enell |
21 |
|
788 |
18 Sep 08 |
jari |
You should have received a copy of the GNU General Public License |
880 |
05 Dec 08 |
jari |
along with this software. If not, see <http://www.gnu.org/licenses/>. |
758 |
15 Sep 08 |
jari |
24 |
--> |
895 |
08 Dec 08 |
jari |
25 |
<project name="se.lu.onk.VirtualArray plug-in for BASE" |
758 |
15 Sep 08 |
jari |
26 |
default="dist" basedir="."> |
758 |
15 Sep 08 |
jari |
27 |
<description> |
895 |
08 Dec 08 |
jari |
28 |
This build file is used for se.lu.onk.VirtualArray plug-in for |
758 |
15 Sep 08 |
jari |
29 |
BASE created at the Department of Oncology, Lund University, |
758 |
15 Sep 08 |
jari |
30 |
Sweden. |
758 |
15 Sep 08 |
jari |
31 |
</description> |
65 |
07 Feb 06 |
enell |
32 |
|
758 |
15 Sep 08 |
jari |
<!-- properties --> |
764 |
16 Sep 08 |
jari |
34 |
|
764 |
16 Sep 08 |
jari |
<!-- set version |
764 |
16 Sep 08 |
jari |
Two numbers are used. 1.0 is the first release, the second |
764 |
16 Sep 08 |
jari |
number is increased for each new release that does not changed |
764 |
16 Sep 08 |
jari |
the API. The first number is changed for API changing |
764 |
16 Sep 08 |
jari |
releases. Add "pre" to unreleased versions. Examples: |
764 |
16 Sep 08 |
jari |
1.0, 1.1, 1.2pre |
764 |
16 Sep 08 |
jari |
41 |
--> |
2126 |
08 Nov 13 |
jari |
42 |
<property name="version" value="1.2" /> |
764 |
16 Sep 08 |
jari |
43 |
|
764 |
16 Sep 08 |
jari |
44 |
<property name="basefilejar" value="BaseFile" /> |
758 |
15 Sep 08 |
jari |
45 |
<property name="build" location="build" /> |
99 |
20 Apr 06 |
enell |
46 |
<property name="dist" location="dist" /> |
895 |
08 Dec 08 |
jari |
47 |
<property name="lib" location="lib" /> |
776 |
18 Sep 08 |
jari |
48 |
<property name="package" value="mergebioassay"/> |
895 |
08 Dec 08 |
jari |
49 |
<property name="packagestring" value="VirtualArray-${version}" /> |
764 |
16 Sep 08 |
jari |
50 |
<property name="src" location="src" /> |
99 |
20 Apr 06 |
enell |
51 |
|
205 |
24 Nov 06 |
enell |
52 |
<path id="classpath"> |
764 |
16 Sep 08 |
jari |
53 |
<fileset dir="${basefilejar}"> |
788 |
18 Sep 08 |
jari |
54 |
<include name="**/*.jar"/> |
788 |
18 Sep 08 |
jari |
55 |
</fileset> |
205 |
24 Nov 06 |
enell |
56 |
</path> |
180 |
27 Sep 06 |
enell |
57 |
|
65 |
07 Feb 06 |
enell |
58 |
<!-- ================================= |
788 |
18 Sep 08 |
jari |
target: compile |
99 |
20 Apr 06 |
enell |
60 |
================================== --> |
758 |
15 Sep 08 |
jari |
61 |
<target name="compile" description="--> Compile the package"> |
758 |
15 Sep 08 |
jari |
62 |
<mkdir dir="${build}"/> |
99 |
20 Apr 06 |
enell |
63 |
<javac |
758 |
15 Sep 08 |
jari |
64 |
srcdir="${src}" |
758 |
15 Sep 08 |
jari |
65 |
destdir="${build}" |
758 |
15 Sep 08 |
jari |
66 |
classpathref="classpath" |
758 |
15 Sep 08 |
jari |
67 |
debug="true" |
758 |
15 Sep 08 |
jari |
68 |
deprecation="true" |
758 |
15 Sep 08 |
jari |
69 |
encoding="ISO-8859-1" |
758 |
15 Sep 08 |
jari |
70 |
/> |
788 |
18 Sep 08 |
jari |
71 |
</target> |
99 |
20 Apr 06 |
enell |
72 |
|
65 |
07 Feb 06 |
enell |
73 |
<!-- ================================= |
788 |
18 Sep 08 |
jari |
target: clean |
11 |
11 Oct 05 |
enell |
75 |
================================= --> |
100 |
20 Apr 06 |
enell |
76 |
<target name="clean" description="--> Remove all generated files"> |
758 |
15 Sep 08 |
jari |
77 |
<delete dir="${build}" /> |
100 |
20 Apr 06 |
enell |
78 |
<delete dir="${dist}" /> |
758 |
15 Sep 08 |
jari |
79 |
<delete dir="${package}" /> |
764 |
16 Sep 08 |
jari |
80 |
<delete file="${packagestring}.tgz" /> |
764 |
16 Sep 08 |
jari |
81 |
<delete file="${packagestring}.tgz.MD5" /> |
11 |
11 Oct 05 |
enell |
82 |
</target> |
65 |
07 Feb 06 |
enell |
83 |
|
65 |
07 Feb 06 |
enell |
84 |
<!-- ================================= |
788 |
18 Sep 08 |
jari |
target: dist |
65 |
07 Feb 06 |
enell |
86 |
================================== --> |
758 |
15 Sep 08 |
jari |
87 |
<target name="dist" depends="compile"> |
140 |
10 Aug 06 |
enell |
88 |
<mkdir dir="${dist}" /> |
895 |
08 Dec 08 |
jari |
89 |
<jar destfile="${dist}/VirtualArray.jar"> |
758 |
15 Sep 08 |
jari |
90 |
<fileset dir="${build}" /> |
788 |
18 Sep 08 |
jari |
91 |
<manifest> |
788 |
18 Sep 08 |
jari |
92 |
<attribute name="Built-By" value="${user.name}"/> |
875 |
05 Dec 08 |
jari |
93 |
<attribute name="Main-Class" value="Main"/> |
788 |
18 Sep 08 |
jari |
94 |
</manifest> |
99 |
20 Apr 06 |
enell |
95 |
</jar> |
99 |
20 Apr 06 |
enell |
96 |
</target> |
99 |
20 Apr 06 |
enell |
97 |
|
180 |
27 Sep 06 |
enell |
98 |
<!-- ================================= |
788 |
18 Sep 08 |
jari |
target: package |
180 |
27 Sep 06 |
enell |
100 |
================================= --> |
758 |
15 Sep 08 |
jari |
101 |
<target name="package" depends="dist" |
766 |
16 Sep 08 |
jari |
102 |
description="--> Create a tgz file for distribution."> |
758 |
15 Sep 08 |
jari |
103 |
<mkdir dir="${package}"/> |
764 |
16 Sep 08 |
jari |
104 |
<mkdir dir="${package}/${basefilejar}"/> |
764 |
16 Sep 08 |
jari |
105 |
<copy todir="${package}"> |
895 |
08 Dec 08 |
jari |
106 |
<fileset file="${dist}/VirtualArray.jar" /> |
895 |
08 Dec 08 |
jari |
107 |
<fileset dir="${lib}" /> |
758 |
15 Sep 08 |
jari |
108 |
<fileset file="license.txt" /> |
764 |
16 Sep 08 |
jari |
109 |
<fileset file="README" /> |
758 |
15 Sep 08 |
jari |
110 |
</copy> |
764 |
16 Sep 08 |
jari |
111 |
<copy todir="${package}/${basefilejar}"> |
764 |
16 Sep 08 |
jari |
112 |
<fileset dir="${basefilejar}" /> |
764 |
16 Sep 08 |
jari |
113 |
</copy> |
776 |
18 Sep 08 |
jari |
114 |
<replace dir="${package}"> |
776 |
18 Sep 08 |
jari |
115 |
<include name="*.base" /> |
771 |
18 Sep 08 |
jari |
116 |
<replacefilter |
771 |
18 Sep 08 |
jari |
117 |
token="@VERSION@" |
771 |
18 Sep 08 |
jari |
118 |
value="${version}" |
771 |
18 Sep 08 |
jari |
119 |
/> |
771 |
18 Sep 08 |
jari |
120 |
</replace> |
764 |
16 Sep 08 |
jari |
121 |
<tar |
764 |
16 Sep 08 |
jari |
122 |
destfile="${packagestring}.tgz" |
764 |
16 Sep 08 |
jari |
123 |
longfile="gnu" |
764 |
16 Sep 08 |
jari |
124 |
compression="gzip" |
764 |
16 Sep 08 |
jari |
125 |
> |
764 |
16 Sep 08 |
jari |
126 |
<tarfileset |
764 |
16 Sep 08 |
jari |
127 |
dir="${package}" |
764 |
16 Sep 08 |
jari |
128 |
mode="755" |
764 |
16 Sep 08 |
jari |
129 |
prefix="${packagestring}" |
764 |
16 Sep 08 |
jari |
130 |
preserveLeadingSlashes="true" |
764 |
16 Sep 08 |
jari |
131 |
> |
779 |
18 Sep 08 |
jari |
132 |
<include name="run" /> |
764 |
16 Sep 08 |
jari |
133 |
</tarfileset> |
764 |
16 Sep 08 |
jari |
134 |
<tarfileset |
764 |
16 Sep 08 |
jari |
135 |
dir="${package}" |
764 |
16 Sep 08 |
jari |
136 |
prefix="${packagestring}" |
764 |
16 Sep 08 |
jari |
137 |
preserveLeadingSlashes="true" |
764 |
16 Sep 08 |
jari |
138 |
> |
779 |
18 Sep 08 |
jari |
139 |
<exclude name="run" /> |
764 |
16 Sep 08 |
jari |
140 |
</tarfileset> |
764 |
16 Sep 08 |
jari |
141 |
</tar> |
764 |
16 Sep 08 |
jari |
142 |
<checksum file="${packagestring}.tgz" /> |
180 |
27 Sep 06 |
enell |
143 |
</target> |
140 |
10 Aug 06 |
enell |
144 |
|
707 |
27 May 08 |
jari |
145 |
</project> |