build.xml 19.3 KB
Newer Older
1
<!-- $Id: build.xml,v 1.40 2002-10-30 13:10:32 triolet Exp $ -->
Jérôme Euzenat's avatar
Jérôme Euzenat committed
2

3
<project name="transmo" default="compile" basedir="..">
4
5
	
	<!--taskdef name="transmorph" classname="fr.fluxmedia.transmorpher.Application.TransmorphTask"/-->
6

7
8
9
10
11
12
13
14
15
16
	<!-- tested -->
	<target name="usage" depends="init">
		<echo message="sh ant _target_ _options_"/>
		<echo/>
		<echo message="usage: this message"/>
		<echo message="init: sets necessary variables"/>
		<echo message="compile: incrementaly compiles sources"/>
		<echo message="compileall: recompiles all sources"/>
		<echo message="jar: archives compiled code"/>
		<echo message="test: performs unit tests"/>
17
		<echo message="updatetests: update the tests skeletons"/>
18
19
20
21
22
23
24
25
26
27
		<echo message="javadoc: generates documentation"/>
		<echo message="update: update the CVS repository"/>
		<echo message="commit: "/>
		<echo message="prepare: prepare the base for a release (VERSION variable set)"/>
		<echo message="mark: set the tag on the version in the CVS base "/>
		<echo message="image: prepage the release directory"/>
		<echo message="package: create compressed releases"/>
		<echo message="tidy: suppresses temporary files"/>
		<echo message="ttask: test Transmorpher as a Ant task"/>
		<echo message="release: releases a new version"/>
28
		<echo message="extrajar: create archive with required jars"/>
29
30
31
32
33
		<echo message="cdrom: prepare the CDROM image for INRIA"/>
		<echo message="clean: clean-up the release directory"/>
		<echo/>
		<echo message="	-Dversion=${version}"/>
	</target>
34

35
36
37
38
	<!-- tested -->
	<target name="init">
		<tstamp><format locale="fr,fr" pattern="dd/MM/yyyy" property="TODAY"/></tstamp>
		<property name="doing" value="running"/>
Fabien Triolet's avatar
Fabien Triolet committed
39
		<property name="version" value="0-9-10${doing}"/>
40
		<property name="date" value="${TODAY}"/>
41
42
		<property name="login" value="triolet"/>
		<property name="email" value="Fabien.Triolet@inrialpes.fr"/>
43
44
		<property name="libdir"  value="lib" />
		<property name="fullname" value="Transmorpher"/>
45
		<property name="debug" value="off"/>
46

47
48
		<filter token="DATE" value="${date}"/>
		<filter token="VERS" value="${version}"/>
49
		<echo message="Transmorpher build for version ${version} of ${date}"/>
50
51
52
53
54
55
56
57
	
		<path id="classpath">
			<fileset dir="./lib">
				<include name="*.jar"/>
			</fileset>
		</path>
	
	</target>
58

59
60
61
62
63
	<!-- =================================================================== -->
	<!-- Macro for optional warnings                                    							     -->
	<!-- =================================================================== -->
	<target name="op-warning" unless="omit.opt.warnings">
		<echo>**********************************************</echo>
Fabien Triolet's avatar
Fabien Triolet committed
64
65
		<echo>*   ${fullname} builds without ${thing}.</echo>
		<!-- <echo>*  ${message}</echo> -->
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
		<echo>*  Recovery:</echo>
		<echo>*  ${recovery}</echo>
		<echo>***********************************************</echo>
	</target>
	
	<!-- =================================================================== -->
	<!-- Test for optional components                                    						     -->
	<!-- =================================================================== -->
  	<target name="optional-tests" depends="init">
		<available property="fop.present" classname="org.apache.fop.apps.Driver">
			<classpath refid="classpath"/>
		</available>
		
		<available property="jfor.present" classname="org.jfor.jfor.converter.Converter">
			<classpath refid="classpath"/>
		</available>
		
		<available property="tidy.present" classname="org.w3c.tidy.Tidy">
			<classpath refid="classpath"/>
		</available>
		
		<available property="mail.present" classname="javax.mail.Session">
			<classpath refid="classpath"/>
		</available>
		
	</target>
  
	<!-- =================================================================== -->
	<!-- Warnings                                                            							     -->
	<!-- =================================================================== -->

	<!-- Outputs a warning if org.apache.fop.* classes are missing during compilation -->
	<target name="fop-warn" unless="fop.present" depends="optional-tests">
		<antcall target="op-warning">
			<param name="thing" value="FOP"/>
			<param name="recovery" 
				value="Get FOP from http://xml.apache.org/fop/ and place the jar in the lib/ dir"/>
				<param name="message"
					value="FOP is required for the pdf and ps serializer."/>
		</antcall>
	</target>
	
	<!-- Outputs a warning if org.jfor.jfor.* classes are missing during compilation -->
	<target name="jfor-warn" unless="jfor.present" depends="optional-tests">
		<antcall target="op-warning">
			<param name="thing" value="JFOR"/>
			<param name="recovery" 
				value="Get the JFOR package from http://www.jfor.org/ and place the jar in the lib/ dir"/>
			<param name="message"
				value="JFOR is required for the rtf serializer."/>
			</antcall>
	</target>
	
	<!-- Outputs a warning if org.w3c.tidy.* classes are missing during compilation -->
	<target name="tidy-warn" unless="tidy.present" depends="optional-tests">
		<antcall target="op-warning">
			<param name="thing" value="JTidy"/>
			<param name="recovery" 
				value="Get JTidy from http://sourceforge.net/projects/jtidy/ and place the jar in the lib/ dir"/>
			<param name="message"
				value="JTidy is required for the html generator."/>
		</antcall>
	</target>
	
	<!-- Outputs a warning if javax.mail.* classes are missing during compilation -->
	<target name="mail-warn" unless="mail.present" depends="optional-tests">
		<antcall target="op-warning">
			<param name="thing" value="mail"/>
			<param name="recovery" 
				value="Get mail from http://java.sun.com/products/javamail/ and place the jar in the lib/ dir"/>
			<param name="message"
				value="mail is required for the vcs generator and serializer."/>
		</antcall>
	</target>
  
	<!-- =================================================================== -->
	<!-- Print out warnings for optional components                          -->
	<!-- =================================================================== -->
	<target name="optional-warnings" 
		depends="fop-warn, tidy-warn,jfor-warn,mail-warn">
	</target>
	
	
	<!-- tested -->
150
151
152
153
154
155
156
157
158
159
  <target name="compile" depends="init,optional-tests, optional-warnings">
    <echo message="Compiling..."/>
    <javac  srcdir="src" destdir="classes">
      <classpath refid="classpath"/>
      <exclude name="**/PDF*" unless="fop.present"/>
      <exclude name="**/tidy*" unless="tidy.present"/>
      <exclude name="**/RTF*" unless="jfor.present"/>
      <exclude name="**/*vcs*" unless="mail.present"/>
    </javac>
  </target>
160

161
162
163
164
165
166
167
  <target name="compileall" depends="init">
    <echo message="Erasing..."/>
    <delete>
      <fileset dir="classes" includes="**/*.class"/>
    </delete>
    <antcall target="compile"/>
  </target>
Jérôme Euzenat's avatar
Jérôme Euzenat committed
168

169
170
171
  <!-- tested -->
  <target name="jar" depends="compile">
    <echo message="Jarchiving..."/>
172
    <copy file="distrib/LICENSE.TXT" tofile="classes/LICENSE.TXT" filtering="true"/>
173
174
    <delete file="lib/transmo.jar"/>
    <jar jarfile="lib/transmo.jar" manifest="scripts/MANIFEST.MF">
175
      <fileset dir="classes" includes="**/*.class"/>
Guillaume Chomat's avatar
Guillaume Chomat committed
176
      <fileset dir="resources" includes="*.properties"/>
177
    </jar>
178
  </target>
179

180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
  <!-- untested: should depend on compile -->
  <target name="updatetests" depends="init">
    <echo message="Building test directory..."/>
   <javadoc
        sourcepath="src" destdir="tests"
        packagenames="fr.fluxmedia.*"
        defaultexcludes="yes"
        doclet="com.objectfab.tools.junitdoclet.JUnitDoclet"
        docletpathref="classpath"
        additionalparam="-d ../tests -buildall"
        >
     <classpath refid="classpath"/>
   </javadoc>
  </target>

195
196
197
198
199
200
<!-- tested -->
  <!-- For graphic test, just do:
   $ setenv CLASSPATH transmo.jar:xalan.jar:xerces.jar:xml-apis.jar:junit.jar:gnu-regexp.jar
   $ java junit.swingui.TestRunner &
  -->

201
  <target name="test" depends="init">
202
    <echo message="Testing..."/>
203
204
205
206
207
208
209
210
    <javac srcdir="tests/fr/fluxmedia/transmorpher/Graph/Rules"
    debug="on" destdir="classes">
     <classpath refid="classpath"/>
    </javac>
    <javac srcdir="tests/fr/fluxmedia/" debug="on" destdir="classes">
     <classpath refid="classpath"/>
     <include name="AllTests.*"/>
     <include name="transmorpher/Graph/TransmorpherTest.*"/>
Fabien Triolet's avatar
Fabien Triolet committed
211
		 <include name="transmorpher/Graph/GraphSuite.*"/>
212
213
214
215
     <include name="transmorpher/Utils/mVersionTest.*"/>
     <include name="transmorpher/Utils/ParametersTest.*"/>
     <include name="transmorpher/Utils/FifoTest.*"/>
     <include name="transmorpher/Utils/UtilsSuite.*"/>
Fabien Triolet's avatar
Fabien Triolet committed
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
		 <include name="transmorpher/stdlib/ReadfileTest.*"/>
		 <include name="transmorpher/stdlib/BroadcastTest.*"/>
		 <include name="transmorpher/stdlib/ConcatTest.*"/>
		 <include name="transmorpher/stdlib/IntegerIteratorTest.*"/>
		 <include name="transmorpher/stdlib/FileIteratorTest.*"/>
		 <include name="transmorpher/stdlib/FixpointIteratorTest.*"/>
		 <include name="transmorpher/stdlib/TestingDispatcherTest.*"/> 
		 <include name="transmorpher/stdlib/XsltTest.*"/>
		 <include name="transmorpher/stdlib/WritefileTest.*"/>
		 <include name="transmorpher/stdlib/StdoutTest.*"/>
		 <include name="transmorpher/stdlib/StdlibSuite.*"/>
		 <include name="transmorpher/TProcessFactory/ContentHandlerInfoTest.*"/>
		 <include name="transmorpher/TProcessFactory/XML_PortTest.*"/>		 
		 <include name="transmorpher/TProcessFactory/TProcessFactorySuite.*"/>
	
231
232
233
234
235
236
237
    </javac>
    <antcall target="jar"/>
    <junit printsummary="no" fork="yes" haltonfailure="no">
      <test name="fr.fluxmedia.AllTests">
      <formatter type="brief" usefile="false"/>
	</test>
      <classpath refid="classpath"/>
238
    </junit>
239
  </target>
240

241
  <target name="ttask" depends="init">
242
243
244
  	<taskdef name="transmorph" classname="fr.fluxmedia.transmorpher.Application.TransmorphTask"
	classpath="./lib/transmo.jar"/>

245
    <echo message="Transmorphing..."/>
246
    <transmorph debug="2" mode="run" srcfile="../JAVA/transmorpher/samples//biblio/process.xml" message="Yurk">
247
248
249
250
251
      <param name="myParam" select="value"/>
      <param name="myParam">value</param>
    </transmorph>
  </target>

252
253
254
255
256
257
258
259
260
261
262
263
  <!-- tested -->
  <target name="javadoc">
   <echo message="Javadocing..."/>
   <javadoc
        sourcepath="src" destdir="api"
        packagenames="fr.fluxmedia.transmorpher.*"
        group="Transmorpher 'fr.fluxmedia.transmorpher.*'"
        Use="true" Splitindex="true" private="true"
        Windowtitle="Transmorpher 1.0 API"
        Doctitle="transmorpher" Header="INRIA &amp; FluxMedia"
        bottom="..no bottom yet..."
        >
264
      <!--link href="http://www.inrialpes.fr/exmo/local/doc/jdk1.3-doc/api"/>
265
266
      <link href="http://www.inrialpes.fr/exmo/local/doc/xerces-doc/apiDocs"/>
      <link href="http://www.inrialpes.fr/exmo/local/doc/xalan-doc/apidocs"/>
267
      <link href="http://www.inrialpes.fr/exmo/local/doc/SAX2-doc/javadoc"/-->
268
269
    </javadoc>
  </target>
270

271
272
  <!-- tested -->
  <target name="update">
273
    <cvs command="update -d" cvsRoot=":ext:${login}@fluxlog1.inrialpes.fr:/home/fluxlog/transmorpher"/>
274
275
276
277
278
279
  </target>

  <target name="commit">
    <!-- //here the option should not be -d -->
    <cvs command="commit -d" cvsRoot=":ext:${login}@fluxlog1.inrialpes.fr:/home/fluxlog/transmorpher"/>
  </target>
Fabien Triolet's avatar
Fabien Triolet committed
280

281
282
283
  <!-- tested -->
  <target name="prepare" depends="init">
    <echo message="Preparing release... assume that all is updated and test have been run"/>
284
    <copy file="src/fr/fluxmedia/transmorpher/Utils/Version.java" tofile="Version.java"/>
285
286
287
288
289
290
    <copy file="Version.java"
	  tofile="src/fr/fluxmedia/transmorpher/Utils/Version.java"
	  filtering="true" overwrite="true"/>
    <!-- This force recompiling of these dependent files -->
    <delete file="classes/fr/fluxmedia/transmorpher/Application/CommandLineArgument.class"/>
    <delete file="classes/fr/fluxmedia/transmorpher/Graph/MainProcess.class"/>
291
    <!-- depends on compile -->
292
293
    <antcall target="jar"/>
    <antcall target="javadoc"/>
294
295
296
    <move file="Version.java"
	  tofile="src/fr/fluxmedia/transmorpher/Utils/Version.java" 
	  overwrite="true"/>
297
    <touch file="src/fr/fluxmedia/transmorpher/Utils/Version.java"/>
298
299
    <delete file="classes/fr/fluxmedia/transmorpher/Application/CommandLineArgument.class"/>
    <delete file="classes/fr/fluxmedia/transmorpher/Graph/MainProcess.class"/>
300
301
302
303
304
305
306
307
308
309
  </target>
    
  <target name="mark" depends="prepare">
    <cvs command="rtag -R v${version} transmorpher" cvsRoot=":ext:${login}@fluxlog1.inrialpes.fr:/home/fluxlog/transmorpher"/>
  </target>

  <!-- tested -->
  <target name="image" depends="init">
    <!-- depends on compil -->
    <antcall target="mark"/>
310
    <mkdir dir="transmo-${version}"/>
311
312
313
    <copy todir="transmo-${version}/resources">
      <fileset dir="resources" includes="**/*.properties"/>
    </copy>
Jérôme Euzenat's avatar
Jérôme Euzenat committed
314
    <copy todir="transmo-${version}/scripts">
315
      <fileset dir="scripts" includes="**/build.xml,**/*.MF"/>
Jérôme Euzenat's avatar
Jérôme Euzenat committed
316
    </copy>
317
    <copy todir="transmo-${version}/src">
318
      <fileset dir="src" includes="**/*.java"/>
319
    </copy>
320
    <copy todir="transmo-${version}/classes">
321
      <fileset dir="classes" includes="**/*.class"/>
322
    </copy>
Fabien Triolet's avatar
Fabien Triolet committed
323
    <copy todir="transmo-${version}/tests">
324
      <fileset dir="tests" includes="**/*.java,**/*.xml"/>
325
    </copy>
326
    <copy todir="transmo-${version}/api">
327
328
      <fileset dir="api" includes="**/*.html"/>
    </copy>
329
330
    <copy todir="transmo-${version}/docs">
      <fileset dir="docs" includes="**/*.html,**/*.gif,**/*.txt,**/*.jpg"/>
331
    </copy>
332
333
334
    <copy filtering="true" overwrite="true"
	  file="distrib/preindex.html"
	  tofile="distrib/index.html"/>
335
336
337
    <copy todir="transmo-${version}/distrib">
      <fileset dir="distrib" includes="**/*.TXT,**/*.html,**/*.htm"/>
    </copy>
338
    <copy todir="transmo-${version}/lib">
339
340
      <fileset dir="lib" includes="**/transmo.jar"/>
    </copy>
341
    <copy todir="transmo-${version}/samples">
342
      <fileset dir="samples" includes="**/*.dtd,**/*.TXT,**/*.xsd,**/*.xml,**/*.css,**/*.xsl,**/*.jpg,**/*.html,**/output,**/results,**/resulst,**/classes"/>
343
    </copy>
344
    <copy todir="transmo-${version}/refman">
345
      <fileset dir="refman" includes="**/*.html,**/*.gif,**/*.jpg,**/*.png"/>
346
    </copy>
347
348
349
350
    <copy todir="transmo-${version}/dtd">
      <fileset dir="dtd" includes="**/*.dtd,**/*.xsd,**/index.html"/>
    </copy>
    <copy todir="transmo-${version}" filtering="true">
351
352
      <fileset dir="distrib" includes="LICENSE.TXT,README.TXT"/>
    </copy>
353
354
  </target>
    
Jérôme Euzenat's avatar
Jérôme Euzenat committed
355
356
  <!-- tested -->
  <target name="extrajar" depends="init">
357
    <zip zipfile="../releases/transmo-extra.zip">
Jérôme Euzenat's avatar
Jérôme Euzenat committed
358
      <fileset dir="lib">
359
360
        <include name="xml-apis.jar"/>
        <include name="xercesImpl.jar"/>
Jérôme Euzenat's avatar
Jérôme Euzenat committed
361
362
363
364
365
366
367
368
        <include name="xalan.jar"/>
        <include name="Apache-SL-1.1.txt"/>
        <include name="gnu-regexp.jar"/>
        <include name="GNU-LGPL-2.1.txt"/>
        <include name="LICENCE.txt"/>
      </fileset>
    </zip>
  </target>
369
370
371

  <!-- tested -->
  <target name="cdrom" depends="init">
372
    <echo message="CDROM building... works only on barbara"/>
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
    <!-- build the hierarchy -->
    <mkdir dir="cdrom"/>
    <mkdir dir="cdrom/projs"/>
    <mkdir dir="cdrom/projs/exmo"/>
    <mkdir dir="cdrom/www"/>
    <mkdir dir="cdrom/ftp"/>
    <mkdir dir="cdrom/ftp/transmo"/>
    <mkdir dir="cdrom/prog"/>
    <mkdir dir="cdrom/prog/pc"/>
    <mkdir dir="cdrom/prog/pc/transmo"/>
    <mkdir dir="cdrom/prog/mac"/>
    <mkdir dir="cdrom/prog/mac/transmo"/>
    <mkdir dir="cdrom/prog/unix"/>
    <mkdir dir="cdrom/prog/unix/transmo"/>
    <!-- copy the release -->
    <copy todir="cdrom/ftp/transmo/">
Fabien Triolet's avatar
Fabien Triolet committed
389
      <fileset dir="../releases" includes="transmo-${version}.zip"/>
390
391
392
393
    </copy>
    <!-- copy the FREELY DISTRIBUTABLE adds-on -->
    <zip zipfile="cdrom/ftp/transmo/transmo-xml.zip" update="true">
      <fileset dir="lib">
394
395
        <include name="xml-apis.jar"/>
        <include name="xercesImpl.jar"/>
396
397
398
399
400
401
402
403
        <include name="xalan.jar"/>
        <include name="Apache-SL-1.1.txt"/>
	<!-- ant.jar, bsf.jar, jakarta-ant-1.4-optional.jar, junit.jar -->
        <include name="LICENCE.txt"/>
      </fileset>
    </zip>
    <!-- copy the reference manual -->
    <copy todir="cdrom/www/transmo">
404
      <fileset dir="refman" includes="**/*.html,**/*.gif,**/*.jpg,**/*.png"/>
405
    </copy>
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
    <!-- copy the special purpose HTML pages --> 
    <copy file="cdrom/www/transmo/index.html"
	  tofile="cdrom/www/transmo/fra.htm" filtering="true"/> 
    <copy file="cdrom/www/transmo/index.html"
	  tofile="cdrom/www/transmo/eng.htm" filtering="true"/> 
    <copy file="distrib/transmo-fra.htm"
	  tofile="cdrom/prog/pc/transmo/fra.htm" filtering="true"/> 
    <copy file="distrib/transmo-eng.htm"
	  tofile="cdrom/prog/pc/transmo/eng.htm" filtering="true"/> 
    <copy file="distrib/transmo-fra.htm"
	  tofile="cdrom/prog/mac/transmo/fra.htm" filtering="true"/> 
    <copy file="distrib/transmo-eng.htm"
	  tofile="cdrom/prog/mac/transmo/eng.htm" filtering="true"/> 
    <copy file="distrib/transmo-fra.htm"
	  tofile="cdrom/prog/unix/transmo/fra.htm" filtering="true"/> 
    <copy file="distrib/transmo-eng.htm"
	  tofile="cdrom/prog/unix/transmo/eng.htm" filtering="true"/>
    <copy file="distrib/exmo-fra.htm" tofile="cdrom/projs/exmo/fra.htm"
	  filtering="true"/> 
    <copy file="distrib/exmo-eng.htm"
	  tofile="cdrom/projs/exmo/eng.htm" filtering="true"/>
    <!-- set the right for reading --> 
    <chmod perm="a+rx" dir="cdrom" includes="**/*"/>
    <!-- package an deliver --> 
    <tar tarfile="cdrom.tar" basedir="cdrom"/> 
    <gzip src="cdrom.tar" zipfile="cdrom.tar.gz" /> 
    <delete file="cdrom.tar"/>
    <!-- delete the directory, move the file --> 
    <echo message="You must do: $ cd ..; mv cdrom.tar.gz /ftpexmo/tmp/; rm -rf cdrom"/>
435
  </target>
Jérôme Euzenat's avatar
Jérôme Euzenat committed
436

437
438
  <!-- tested -->
  <target name="package" depends="image">
439
440
441
    <exec dir="transmo-${version}" executable="ls" os="Linux" output="transmo-${version}/FILES.TXT">
        <arg line="-FRB1"/>
    </exec>
Fabien Triolet's avatar
Fabien Triolet committed
442
    <zip zipfile="../releases/transmo-${version}.zip" basedir="transmo-${version}"/>
443
    <tar tarfile="transmo-${version}.tar" basedir="transmo-${version}"/>
Fabien Triolet's avatar
Fabien Triolet committed
444
    <gzip src="transmo-${version}.tar" zipfile="../releases/transmo-${version}.tar.gz" />
445
    <delete file="transmo-${version}.tar"/>
446
  </target>
447

448
449
  <!-- tested -->
  <target name="release" depends="init">
Fabien Triolet's avatar
Fabien Triolet committed
450
    <record name="../releases/transmo-${version}.log" action="start" />
451
    <antcall target="package"/>
Jérôme Euzenat's avatar
Jérôme Euzenat committed
452
    <antcall target="extrajar"/>
453
    <echo message="Exposing..."/>
454
    <copy file="refman/depend.html" tofile="refman/cdepend.html"/>
455
    <replace file="refman/cdepend.html">
456
457
        <replacetoken><![CDATA[<!-- last release mark: do not modify -->]]></replacetoken>
        <replacevalue><![CDATA[<!-- last release mark: do not modify -->
Fabien Triolet's avatar
Fabien Triolet committed
458
<TR><TD>@DATE@</TD><TD><A HREF="../releases/transmo-@VERS@.zip">@VERS@</A></TD>
459
<TD>1.3</TD><TD>Xerces 2.1</TD><TD>Xalan 2.4</TD><TD>1.1.3</TD><TD>4.0.4</TD></TR>]]></replacevalue>
460
      </replace>
461
    <move file="refman/cdepend.html" tofile="refman/depend.html" filtering="true"/>
462
463
    <antcall target="clean"/>
    <!-- //unfortunately the file is not closed so it is impossible to put it in the mail -->
Fabien Triolet's avatar
Fabien Triolet committed
464
    <mail from="${email}" tolist="transmorpher-dev@inrialpes.fr"
465
          subject="Transmorpher Release ${version} of ${date}"
466
    message="Logfile at http://transmorpher.inrialpes.fr/releases/transmo-${version}.log"/>
Fabien Triolet's avatar
Fabien Triolet committed
467
    <record name="../releases/transmo-${version}.log" action="stop" />
468
  </target>
469

470
471
  <target name="tidy">
    <echo message="Cleaning all useless files..."/>
472
    <delete>
473
      <fileset dir="." includes="**/*~,**/#*#,**/*.BAK"/>
474
475
    </delete>
  </target>
476

477
478
479
480
481
  <target name="clean">
    <echo message="Cleaning..."/>
    <delete dir="transmo-${version}"/>
  </target>

482
</project>