-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
27 lines (26 loc) · 1.13 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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="create_run_jar" name="Create Runnable Jar for Project Tdip with libraries in sub-folder">
<!--this file was created by Eclipse Runnable JAR Export Wizard-->
<!--ANT 1.7 is required -->
<!--define folder properties-->
<property name="dir.buildfile" value="."/>
<property name="dir.workspace" value="./"/>
<property name="dir.jarfile" value="${dir.buildfile}"/>
<property name="lib.dir" value="./lib"/>
<path id="classpath">
<fileset dir="${lib.dir}" includes="**/*.jar"/>
</path>
<target name="compile">
<javac includeantruntime="false" srcdir="${dir.workspace}/src" destdir="${dir.workspace}/bin" >
<classpath refid="classpath" />
</javac>
</target>
<target name="create_run_jar" depends="compile">
<jar destfile="${dir.jarfile}/AliDip2BK.jar">
<manifest>
<attribute name="Main-Class" value="alice.dip.Dip2BK"/>
</manifest>
<fileset dir="${dir.workspace}/bin"/>
</jar>
</target>
</project>