forked from wtekiela/opensub4j
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
31 lines (26 loc) · 890 Bytes
/
build.xml
File metadata and controls
31 lines (26 loc) · 890 Bytes
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
<project name="opensub4j" basedir="." default="jar">
<property name="bin.dir" location="bin" />
<property name="src.dir" location="src/main/java" />
<property name="lib.dir" location="lib" />
<target name="clean" description="clean">
<delete dir="${bin.dir}" />
<mkdir dir="${bin.dir}" />
</target>
<echo>${lib.dir}</echo>
<echo>${bin.dir}</echo>
<echo>${src.dir}</echo>
<target name="compile" depends="clean">
<javac srcdir="${src.dir}" destdir="${bin.dir}" includeantruntime="false">
<classpath>
<path id="mypath">
<fileset dir="${lib.dir}">
<include name="*.jar" />
</fileset>
</path>
</classpath>
</javac>
</target>
<target name="jar" depends="compile">
<jar destfile="opensub4j.jar" basedir="${bin.dir}" />
</target>
</project>