-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
35 lines (31 loc) · 831 Bytes
/
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
<!-- Ant makefile for ImageJ -->
<project name="IzdaDcha" default="compress">
<target name="compile" description="Compile everything.">
<!-- First, ensure the build directory exists. -->
<mkdir dir="bin" />
<!-- Build everything; add debug="on" to debug -->
<javac srcdir="." destdir="bin" optimize="on" debug="on">
<classpath>
<fileset dir="lib">
<include name="**.jar"/>
</fileset>
</classpath>
</javac>
</target>
<target name="compress" depends="compile">
<jar jarfile="ID.jar">
<fileset dir="bin"/>
<restrict>
<name name="**/*.class"/>
<archives>
<zips>
<fileset dir="lib" includes="**/*jar"/>
</zips>
</archives>
</restrict>
<manifest>
<attribute name="Main-Class" value="main.IzdaDcha"/>
</manifest>
</jar>
</target>
</project>