-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcommon.xml
31 lines (25 loc) · 840 Bytes
/
common.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
<project name="common">
<property file="build.properties" />
<target name="clean">
<delete dir="${build.dir}" />
<delete dir="${build-test.dir}" />
<delete dir="${dist.dir}" />
</target>
<path id="classpath">
<fileset dir="${lib.dir}" includes="**/*.jar"/>
<fileset dir="${classes.dir}" includes="**/**"/>
</path>
<target name="compile">
<mkdir dir="${classes.dir}" />
<javac srcdir="${src.dir}"
destdir="${classes.dir}"
classpathref="classpath"
includeantruntime="false" />
</target>
<target name="sfntly-jar" depends="compile">
<mkdir dir="${dist_lib.dir}" />
<jar destfile="${dist_lib.dir}/sfntly.jar"
basedir="${classes.dir}"
excludes="com/google/typography/font/tools/**,com/google/typography/font/sfntly/sample/**" />
</target>
</project>