Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[b94f90]: build.xml Maximize Restore History

Download this file

build.xml    124 lines (102 with data), 3.3 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
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<?xml version="1.0"?>
<!--
This is the build.xml file for building the Accents plugin.
It is based on the standard build.xml file for jEdit plugins.
-->
<project name="Accents" 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="docs-proc.target" value="xsltproc"/>
<property name="jedit.install.dir" value="../.."/>
<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,docs">
<mkdir dir="${install.dir}"/>
<jar jarfile="${install.dir}/${jar.name}">
<fileset dir="${build.dir}"/>
<fileset dir="${src.dir}">
<include name="actions.xml"/>
<include name="dockables.xml"/>
<include name="**/*.props"/>
<include name="**/*.html"/>
<include name="**/*.txt"/>
</fileset>
</jar>
</target>
<target name="docs" depends="init">
<antcall target="docs-${docs-proc.target}"/>
</target>
<!-- Generate docs with xsltproc tool from www.xmlsoft.org -->
<target name="docs-xsltproc">
<exec executable="xsltproc">
<arg value="--output"/>
<arg value="doc/index.html"/>
<arg value="--catalogs"/>
<arg value="doc/users-guide.xsl"/>
<arg value="doc/users-guide.xml"/>
</exec>
</target>
<target name="rst2docbook">
<exec executable="rst2docbook.py">
<arg value="-oISO-8859-1"/>
<arg value="doc/users-guide.txt"/>
<arg value="doc/users-guide.xml"/>
</exec>
</target>
<!-- Generate docs with Xalan tool from xml.apache.org -->
<target name="docs-xalan">
<style
style="doc/users-guide.xsl"
in="doc/users-guide.xml"
out="doc/users-guide.html"
/>
</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="-R" />
<arg path="." />
</exec>
</target>
</project>
<!-- :indentSize=4:lineSeparator=\n:noTabs=false:tabSize=4: -->