-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild-ext.xml
61 lines (45 loc) · 1.99 KB
/
build-ext.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
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
<?xml version="1.0"?>
<!-- part of build file for TermWare project (extensions)-->
<project name="TermWare.ext" default="build" basedir=".">
<property file="build.properties" />
<!-- task definitions -->
<taskdef name="izpack" classpath="${izpackhome}/lib/compiler.jar"
classname="com.izforge.izpack.ant.IzPackTask"/>
<!-- targets -->
<import file="build.xml" />
<target name="installation" depends="docs,installation.only" />
<target name="installation.only">
<izpack input="installer/installation.xml"
output="installer/TermWareInstaller-${termware.version}.jar"
installerType="standard"
basedir="installer"
IzPackDir="${izpackhome}"
/>
</target>
<taskdef name="javachecker" classname="ua.gradsoft.javachecker.ant.JavaCheckerTask">
<classpath>
<fileset dir="${jchhome}/lib" includes="**/*.jar" />
</classpath>
</taskdef>
<target name="check" depends="build" >
<javachecker jchhome="${jchhome}"
input="jsrc-core" output="jchreport.txt" />
</target>
<target name="define-odt2html" depends="retrieve-for-build" >
<taskdef name="odt2html" classname="ua.gradsoft.odt2html.Odt2HtmlAntTask" >
<classpath>
<pathelement location="${odt2htmlhome}/ODT2HTML.jar"/>
</classpath>
</taskdef>
</target>
<target name="webdocs" depends="define-odt2html">
<odt2html input="docs/tutorial_rus.odt" output="docs/tutorial_rus.html"/>
<odt2html input="docs/tutorial_eng.odt" output="docs/tutorial_eng.html"/>
<odt2html input="docs/jsr94api_rus.odt" output="docs/jsr94api_rus.html"/>
<odt2html input="docs/jsr94api_eng.odt" output="docs/jsr94api_eng.html"/>
<odt2html input="docs/jsr223api_rus.odt" output="docs/jsr223api_rus.html"/>
<odt2html input="docs/jsr223api_eng.odt" output="docs/jsr223api_eng.html"/>
</target>
<target name="all" depends="build,clean,installation"/>
<target name="publish" depends="build,clean,installation,publish.only" />
</project>