forked from TeleSign/java_telesign
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
77 lines (68 loc) · 2.96 KB
/
build.xml
File metadata and controls
77 lines (68 loc) · 2.96 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?xml version="1.0" encoding="UTF-8"?>
<project name="TeleSign Java SDK" default="HTML Docs" basedir=".">
<path id="classpath">
<fileset dir="libs" includes="**/*.jar"/>
</path>
<target name="clean">
<delete dir="build"/>
</target>
<target name="compile" depends="clean">
<property name="build.sysclasspath" value="last"/>
<mkdir dir="build/classes"/>
<javac srcdir="src" destdir="build/classes" classpathref="classpath"/>
</target>
<target name="jar" depends="compile">
<mkdir dir="build/jar"/>
<jar destfile="build/jar/TeleSign.jar" basedir="build/classes"/>
</target>
<target name="compile_unittest" depends="clean">
<property name="build.sysclasspath" value="last"/>
<mkdir dir="build/classes"/>
<javac srcdir="src" destdir="build/classes" classpathref="classpath"/>
<javac srcdir="test" destdir="build/classes" classpathref="classpath"/>
</target>
<target name="jar_unit" depends="compile_unittest">
<mkdir dir="build/jar"/>
<jar destfile="build/jar/TeleSign.jar" basedir="build/classes"/>
</target>
<target name="junit" depends="jar_unit">
<junit printsummary="yes">
<classpath>
<path refid="classpath"/>
<pathelement location="${basedir}/build/jar/TeleSign.jar"/>
</classpath>
<batchtest fork="yes">
<fileset dir="test" includes="**/*Test*.java"/>
</batchtest>
</junit>
</target>
<target name="doc" description="--> Compile the HTML version of the doc set.">
<property name="${eclipse.home}" location="/home/eclipse" />
<property name="javadoc.header" value="<strong>TeleSign Java SDK</strong>	v1.0" />
<property name="javadoc.footer" value="<strong>DocBuild:</strong>	<script> var tStamp=new Date(); document.write(tStamp.toUTCString()); </script>" />
<property name="javadoc.bottom" value='Copyright &copy; 2012 - <script> var currYear=new Date(); document.write(currYear.getFullYear()); </script>, TeleSign Corp., All rights reserved.' />
<javadoc access="private"
additionalparam=" -noqualifier java.lang:java.io "
author="true"
classpath="${basedir}/libs/commons-codec-1.7.jar;${basedir}/libs/gson-2.2.1.jar"
destdir="${basedir}/doc"
doctitle="TeleSign Java SDK Documentation"
nodeprecated="true"
nodeprecatedlist="true"
noindex="false"
nonavbar="false"
notree="false"
overview="${basedir}/overview.html"
packagenames="com.telesign.verify,com.telesign.util,com.telesign.verify.response,com.telesign.phoneid,com.telesign.phoneid.response"
source="1.7.0"
sourcepath="${basedir}/src"
splitindex="true"
use="true"
version="true">
<link href="http://download.oracle.com/javase/7/docs/api/"/>
<header><![CDATA[${javadoc.header}]]></header>
<footer><![CDATA[${javadoc.footer}]]></footer>
<bottom><![CDATA[${javadoc.bottom}]]></bottom>
</javadoc>
</target>
</project>