-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
build_install.xml
31 lines (28 loc) · 1.11 KB
/
build_install.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
<?xml version="1.0" encoding="UTF-8"?>
<project name="Install org.jung.terminology" default="install">
<condition property="dita.cmd" value="dita.bat">
<os family="windows"/>
</condition>
<condition property="dita.cmd" value="dita">
<os family="unix"/>
</condition>
<target name="install">
<mkdir dir="${dita.dir}/plugins/org.jung.terminology"/>
<echo>Copy files to "${dita.dir}/plugins/org.jung.terminology"</echo>
<!-- If overwrite="true" is not set, the <copy> task only overwrites files, which are older than the source file (the copied file). -->
<copy todir="${dita.dir}/plugins/org.jung.terminology" verbose="true">
<fileset dir=".">
<exclude name="build_install.xml"/>
<exclude name="**/*.xpr"/>
<exclude name="**/*.zip"/>
<exclude name="**/build/**"/>
<exclude name="**/out/**"/>
<exclude name="**/temp/**"/>
<exclude name="**/samples/**"/>
</fileset>
</copy>
<exec executable="${dita.dir}${file.separator}bin${file.separator}${dita.cmd}">
<arg line="--install"/>
</exec>
</target>
</project>