-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
32 lines (25 loc) · 1.17 KB
/
build.xml
File metadata and controls
32 lines (25 loc) · 1.17 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<project name="DeepImageJ" default="build" basedir=".">
<property name="src" location="dist/${ant.project.name}-src.zip"/>
<property name="cls" location="dist/${ant.project.name}-cls.zip"/>
<property name="jar" location="${ant.project.name}_.jar"/>
<!-- Compilation and distribution in zip and jar file -->
<target name="build">
<mkdir dir="bin"/>
<mkdir dir="dist"/>
<copy file="plugins.config" toDir="bin" />
<jar destfile="dist/DeepImageJ_.jar" basedir="bin" />
<copy file="dist/DeepImageJ_.jar" toDir="../../ImageJ/plugins/" />
<copy file="dist/DeepImageJ_.jar" toDir="../../Fiji.app/plugins/" />
<copy file="lib/libtensorflow_jni-1.12.0.jar" toDir="dist" />
<copy file="lib/libtensorflow-1.12.0.jar" toDir="dist" />
<copy file="lib/proto-1.2.0.jar" toDir="dist" />
<copy file="lib/protobuf-java-3.2.0.jar" toDir="dist" />
<zip destfile="DeepImageJ.zip" basedir="dist" />
</target>
<!-- Clean classes, jar and zip -->
<target name="clean" description="Clean up build products">
<delete dir="bin"/>
<delete dir="dist"/>
</target>
</project>