[2a8acd]: build.xml Maximize Restore History

Download this file

build.xml    89 lines (76 with data), 2.5 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
78
79
80
81
82
83
84
85
86
87
88
<?xml version="1.0"?>
<!--
This is the build.xml file for building the GlobalPlugin plugin.
It is based on the standard build.xml file for jEdit plugins.
-->
<project name="SyntaxHelper" default="dist" basedir=".">
<property file="build.properties"/>
<property file="../build.properties"/>
<property file="${user.home}/.build.properties"/>
<property file="${user.home}/build.properties"/>
<property name="jar.name" value="${ant.project.name}.jar"/>
<property name="jedit.plugin.dir" value="${user.home}/.jedit/jars"/>
<property name="docs-proc.target" value="xsltproc"/>
<property name="src.dir" value="."/>
<property name="install.dir" value=".."/>
<property name="build.dir" value="build"/>
<path id="project.class.path">
<pathelement location="${jedit.install.dir}/jedit.jar"/>
<pathelement location="${src.dir}"/>
</path>
<target name="init">
<mkdir dir="${build.dir}"/>
<!--delete file="doc/docbook-wrapper.xsl" />
<echo file="doc/docbook-wrapper.xsl"
message="&lt;xsl:stylesheet"/>
<echo file="doc/docbook-wrapper.xsl" append="true"
message=" xmlns:xsl='http://www.w3.org/1999/XSL/Transform'"/>
<echo file="doc/docbook-wrapper.xsl" append="true"
message=" version='1.0'&gt;"/>
<echo file="doc/docbook-wrapper.xsl" append="true"
message="&lt;xsl:import href='${docbook.xsl}/html/docbook.xsl'/&gt;"/>
<echo file="doc/docbook-wrapper.xsl" append="true"
message="&lt;/xsl:stylesheet&gt;"/-->
</target>
<target name="compile" depends="init">
<javac
srcdir="${src.dir}"
destdir="${build.dir}"
deprecation="on"
debug="yes"
includeJavaRuntime="yes"
>
<classpath refid="project.class.path"/>
</javac>
</target>
<target name="dist" depends="compile">
<mkdir dir="${install.dir}"/>
<jar jarfile="${install.dir}/${jar.name}">
<fileset dir="${build.dir}"/>
<fileset dir="${src.dir}">
<include name="**/*.xml"/>
<include name="**/*.props"/>
<include name="**/*.html"/>
<include name="**/*.txt"/>
<include name="**/*.png"/>
</fileset>
</jar>
</target>
<target name="clean">
<delete dir="${build.dir}"/>
<delete>
<fileset dir="." includes="**/*~"/>
</delete>
<delete file="doc/index.html"/>
<delete file="doc/docbook-wrapper.xsl"/>
</target>
<target name="tags">
<exec executable="ctags">
<arg value="-f" />
<arg path="tags_" />
<arg value="-R" />
<arg path="." />
</exec>
</target>
</project>
<!-- :indentSize=4:lineSeparator=\n:noTabs=false:tabSize=4: -->