/
buildwin.xml
33 lines (31 loc) · 1.16 KB
/
buildwin.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
<?xml version="1.0" encoding="UTF-8"?>
<project name="CorrectBleach_" default="" basedir=".">
<description>BurgerBurge_ build file</description>
<property name="src" location="src" />
<property name="build" location="bin" />
<property name="dist" location="dist" />
<property name="pluginsDir" location="$basedir/../../imagej/plugins/" />
<property name="FijiPluginsDir" location="D:\\Fiji.app\\\plugins\\" />
<property name="user.name" value="Kota Miura" >
</property>
<property name="jarname" value="CorrectBleach_.jar" >
</property>
<target name="main" depends="compress" description="Main target">
<echo>
Building the .jar file.
</echo>
</target>
<target name="compress" depends="" description="generate the distribution">
<jar jarfile="${jarname}">
<fileset dir="." includes="plugins.config" />
<fileset dir="${src}" includes="**/*.*" />
<fileset dir="${build}" includes="**/*.*" >
</fileset>
<manifest>
<attribute name="Built-By" value="${user.name}"/>
</manifest>
</jar>
<copy file="${jarname}" toDir="${pluginsDir}" />
<copy file="${jarname}" toDir="${FijiPluginsDir}" />
</target>
</project>