-
Notifications
You must be signed in to change notification settings - Fork 15
/
build.xml
47 lines (42 loc) · 1.98 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="UTF-8"?>
<project name="DeconvolutionLab2" default="build" basedir=".">
<property name="imagej" location="${user.home}/Desktop/ImageJ/plugins" />
<property name="fiji" location="${user.home}/Desktop/Fiji.app/plugins" />
<property name="matlab" location="/Applications/MATLAB_R2018a.app/java/" />
<property name="javadoc.header" value="<h3>DeconvolutionLab2</h3>	v1.0" />
<property name="javadoc.footer" value="<h4>DeconvolutionLab2</h4>	<script> var tStamp=new Date(); document.write(tStamp.toUTCString()); </script>" />
<property name="javadoc.bottom" value='Copyright &copy; <script> var currYear=new Date(); document.write(currYear.getFullYear()); </script>, Biomedical Imaging Group, EPFL, Lausanne, Switzerland. All rights reserved.' />
<target name="build">
<mkdir dir="bin" />
<copy todir="bin"><fileset dir="src/main/resources"></fileset></copy>
<copy todir="bin"><fileset dir="target/classes"></fileset></copy>
<mkdir dir="dist" />
<zip destfile="dist/DeconvolutionLab2-src.zip" basedir="src" />
<zip destfile="dist/DeconvolutionLab2-cls.zip" basedir="bin" />
<jar destfile="dist/DeconvolutionLab_2.jar" basedir="bin">
<manifest>
<attribute name="Main-Class" value="DeconvolutionLab2" />
</manifest>
</jar>
<copy toDir="${fiji}" file="dist/DeconvolutionLab_2.jar" />
<copy toDir="${matlab}" file="dist/DeconvolutionLab_2.jar" />
<copy toDir="${imagej}" file="dist/DeconvolutionLab_2.jar" />
<mkdir dir="doc" />
<javadoc destdir="doc" author="true" version="true" overview="${basedir}/overview.html" windowtitle="DeconvolutionLab2">
<fileset dir="src">
<include name="**/*.java" />
<exclude name="**/fft/**" />
<exclude name="**/jfftw/**" />
</fileset>
<header>
<![CDATA[${javadoc.header}]]>
</header>
<footer>
<![CDATA[${javadoc.footer}]]>
</footer>
<bottom>
<![CDATA[${javadoc.bottom}]]>
</bottom>
</javadoc>
</target>
</project>