default="build">
This is an ant build.xml file for building jEdit - Programmer's Text Editor.
prefix="config" />
value="4.3.1" />
value="04.03.99.01" />
value="1.5" />
value="1.5+" />
value="1_5_0_07-i586-1" />
value="build" />
value="dist" />
location="${config.build.dir}" />
location="${config.dist.dir}" />
location="${build.dir}/classes" />
location="${build.dir}" />
value="${ant.project.name}.jar" />
value="jedit${jedit.version}install.jar" />
value="jedit${jedit.version}manual-" />
value="jedit${jedit.version}source.tar.bz2" />
value="jedit${jedit.version}install" />
value="jedit${jedit.version}install.dmg" />
value="lines,vars,source" />
value="true" />
value="-Xlint:unchecked" />
unless="init.done">
level="info" />
value="true" />
depends="init"
description="clean up intermediate files">
failonerror="false">
includes="docbook-wrapper-*.xsl" />
depends="init"
description="clean up build.dir and dist.dir completely">
failonerror="false">
includes="docbook-wrapper-*.xsl" />
depends="init">
destDir="${classes.dir}/core"
cache="${classes.dir}" />
destdir="${classes.dir}/core"
debug="true"
debuglevel="${config.build.debuglevel}"
deprecation="${config.build.deprecation}"
source="${target.java.version}"
target="${target.java.version}"
compiler="modern"
encoding="UTF-8">
depends="init">
failonerror="false">
depends="init,prepare-textArea">
destdir="${textAreaPackage}/build"
debug="true"
debuglevel="${config.build.debuglevel}"
deprecation="${config.build.deprecation}"
source="${target.java.version}"
target="${target.java.version}"
compiler="modern"
encoding="UTF-8">
depends="init,compile"
description="build the jEdit JAR-file with full debug-information">
basedir="${classes.dir}/core"
compress="false"
manifest="org/gjt/sp/jedit/jedit.manifest"
duplicate="fail"
index="true">
depends="init,compile-textArea"
description="build the textArea JAR-file with full debug-information">
compress="false"
duplicate="fail"
index="true">
depends="init,build"
description="run jEdit">
fork="true"
spawn="true"
maxmemory="192M">
depends="init,build"
description="run jEdit with debug listening enabled">
fork="true"
spawn="true"
maxmemory="192M">
if="format"
depends="init">
unless="config.docbook.xsl" />
dirsep="/">
file="doc/docbook-wrapper-${format}.xsl"
level="error" />
file="doc/docbook-wrapper-${format}.xsl"
append="true"
level="error" />
file="doc/docbook-wrapper-${format}.xsl"
append="true"
level="error" />
file="doc/docbook-wrapper-${format}.xsl"
append="true"
level="error" />
file="doc/docbook-wrapper-${format}.xsl"
append="true"
level="error" />
depends="init"
if="doc.output.location"
unless="faq.is.up.to.date">
unless="config.xsltproc.executable" />
dir="doc"
failonerror="true">
depends="init"
if="doc.output.location"
unless="news.is.up.to.date">
unless="config.xsltproc.executable" />
dir="doc"
failonerror="true">
depends="init"
if="doc.output.location"
unless="users-guide.is.up.to.date">
unless="config.xsltproc.executable" />
dir="doc"
failonerror="true">
depends="init,docs-html,docs-javadoc"
description="generate HTML and JavaDoc API docs (needs xsltproc)" />
depends="userdocs"
description="upload generated documentation to public website (needs xsltproc and rsync)" >
unless="config.rsync.executable" />
dir="${jar.location}/doc/"
failonerror="true">
depends="init"
description="generate HTML docs (needs xsltproc)">
value="html" />
value="html/chunk.xsl" />
dirsep="/">
to="*"
handledirsep="true" />
file="${doc.output.location}/FAQ/toc.xml"
type="file" />
file="${doc.output.location}/news43/toc.xml"
type="file" />
file="${doc.output.location}/users-guide/toc.xml"
type="file" />
failonerror="false" />
depends="init"
unless="javadoc.is.up.to.date">
destdir="${classes.dir}/javadoc"
includes="doclet/**"
debug="true"
debuglevel="${config.build.debuglevel}"
deprecation="${config.build.deprecation}"
source="${target.java.version}"
target="${target.java.version}"
compiler="modern">
destdir="${classes.dir}/javadoc/api"
packagenames="org.*,com.*"
classpath="${classes.dir}/core"
doclet="doclet.GenerateTocXML"
docletpath="${classes.dir}/javadoc"
version="true"
use="true"
author="true"
splitindex="true"
locale="en"
windowtitle="jEdit API"
doctitle="jEdit API"
failonerror="true"
source="${target.java.version}">
packages="org.gjt.sp*" />
packages="com.microstar.xml*" />
depends="init"
description="generate JavaDoc API docs">
file="${classes.dir}/javadoc/api/toc.xml"
type="file" />
includes="api/**"
excludes="api/**/*.html" />
includes="api/**/*.html" />
to="<TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev">" />
flags="gs" />
depends="init"
if="paper.type"
unless="pdf-users-guide.is.up.to.date">
unless="config.xsltproc.executable" />
unless="config.fop.dir" />
value="fo" />
value="fo/docbook.xsl" />
dirsep="/">
to="*"
handledirsep="true" />
dir="doc"
failonerror="true">
failonerror="false" />
classname="org.apache.fop.tools.anttasks.Fop"
classpath="${config.fop.dir}/build/fop.jar">
includes="*.jar" />
outfile="${jar.location}/${manual.filename.prefix}${manual.filename.paper.type}.pdf"
format="application/pdf"
messagelevel="info" />
depends="init"
if="paper.type">
value="a4">
arg2="${paper.type}" />
value="letter"
else="${paper.type}">
arg2="${paper.type}" />
files="${manual.filename.prefix}${manual.filename.paper.type}.fot" />
files="${manual.filename.prefix}${manual.filename.paper.type}.pdf" />
file="${jar.location}/${manual.filename.prefix}${manual.filename.paper.type}.pdf"
type="file" />
depends="init"
description="generate PDF users-guide with A4 paper size (needs xsltproc and fop)">
value="A4" />
depends="init"
description="generate PDF users-guide with US letter paper size (needs xsltproc and fop)">
value="USletter" />
depends="init">
destDir="${classes.dir}/installer"
cache="${classes.dir}" />
destdir="${classes.dir}/installer"
includes="installer/**"
debug="true"
debuglevel="${config.build.debuglevel}"
deprecation="${config.build.deprecation}"
source="${target.java.version}"
target="${target.java.version}"
compiler="modern">
depends="init">
target="dist"
inheritAll="false">
value="${dist.dir}" />
target="clean"
inheritAll="false">
value="${dist.dir}" />
target="dist"
inheritAll="false">
value="${dist.dir}" />
target="clean"
inheritAll="false">
value="${dist.dir}" />
target="dist"
inheritAll="false">
value="${dist.dir}" />
target="clean"
inheritAll="false">
value="${dist.dir}" />
depends="init"
description="build the Java-installer">
compression="bzip2">
dir="${dist.dir}"
includes="macros/**" />
compression="bzip2">
dir="${dist.dir}"
includes="doc/**
jars/LatestVersion.jar
jars/QuickNotepad.jar
modes/**
properties/**
startup/**
${jar.filename}"
excludes="doc/api/**" />
compression="bzip2">
dir="${dist.dir}"
includes="jars/MacOSX.jar" />
compression="bzip2">
dir="${dist.dir}"
includes="doc/api/**" />
compression="bzip2">
dir="package-files/os2"
includes="jedit.cmd" />
value="lines,source" />
location="${dist.dir}/classes" />
value="lines,source" />
location="${dist.dir}/classes" />
classname="de.masters_of_disaster.ant.tasks.calculatesize.CalculateSize"
classpath="${dist.dir}/classes/calculatesize" />
disksizeproperty="jedit-macros.disksize">
disksizeproperty="jedit-program.disksize">
disksizeproperty="jedit-mac.disksize">
disksizeproperty="jedit-api.disksize">
disksizeproperty="jedit-os2.disksize">
overwrite="true">
value="${jedit.version}" />
value="${jedit-macros.realsize}" />
value="${jedit-macros.disksize}" />
value="${jedit-program.realsize}" />
value="${jedit-program.disksize}" />
value="${jedit-mac.realsize}" />
value="${jedit-mac.disksize}" />
value="${jedit-api.realsize}" />
value="${jedit-api.disksize}" />
value="${jedit-os2.realsize}" />
value="${jedit-os2.disksize}" />
basedir="${dist.dir}/classes/installer"
compress="true"
manifest="installer/install.mf"
duplicate="fail"
index="true">
includes="jedit-api.tar.bz2
jedit-mac.tar.bz2
jedit-macros.tar.bz2
jedit-os2.tar.bz2
jedit-program.tar.bz2"
prefix="installer" />
depends="init"
description="build the PDF-manuals">
location="${dist.dir}/classes" />
location="${dist.dir}" />
location="${dist.dir}/classes" />
location="${dist.dir}" />
depends="init"
description="build the src-archive">
compression="bzip2">
excludes="${config.build.dir}/**
${config.dist.dir}/**
**/build.properties
doc/docbook-wrapper-*.xsl"
prefix="jEdit/" />
prefix="build-support/" />
depends="init">
destDir="${classes.dir}/jarbundler"
cache="${classes.dir}" />
destdir="${classes.dir}/jarbundler"
includes="net/**"
debug="true"
debuglevel="${config.build.debuglevel}"
deprecation="${config.build.deprecation}"
source="1.4"
target="1.4"
compiler="modern">
depends="init"
unless="build.on.non.mac"
description="finish building the Mac OS X disk image (DMG-file) on Mac OS X">
classname="net.sourceforge.jarbundler.JarBundler"
classpath="${dist.dir}/classes/jarbundler" />
pattern="yyyy" />
name="jEdit"
mainclass="org.gjt.sp.jedit.jEdit"
jar="${dist.dir}/${jar.filename}"
arguments="-background"
build="${jedit.build.number}"
bundleid="org.gjt.sp.jedit"
extraclasspath="/System/Library/Java"
icon="icons/icon.icns"
infostring="jEdit ${jedit.version}, Copyright © 1998-${current.year} Contributors"
jvmversion="${mac.target.java.version}"
shortname="jEdit"
signature="JESP"
stubfile="jedit"
version="${jedit.version}"
vmoptions="-Xmx192M">
includes="doc/**
jars/**
macros/**
modes/**
properties/**
startup/**" />
extensions="*"
ostypes="TEXT ****"
iconfile="icons/file.icns"
role="Editor" />
menuitem="jEdit/Open Files"
sendtypes="NSStringPboardType,NSFilenamesPboardType" />
menuitem="jEdit/Insert Text"
sendtypes="NSStringPboardType" />
menuitem="jEdit/New Buffer with Text"
sendtypes="NSStringPboardType" />
failonerror="false" />
failonerror="true">
failonerror="true">
depends="init"
if="build.on.non.mac">
basedir="."
includes="build.xml
icons/file.icns
icons/icon.icns
${config.dist.dir}/${jar.filename}
${config.dist.dir}/classes/jarbundler/**
${config.dist.dir}/doc/**
${config.dist.dir}/jars/**
${config.dist.dir}/macros/**
${config.dist.dir}/modes/**
${config.dist.dir}/properties/**
${config.dist.dir}/startup/**"
compression="bzip2" />
depends="init"
description="build the Mac OS X disk image (DMG-file)">
value="lines,source" />
location="${dist.dir}/classes" />
value="true" />
depends="init">
value="lines,source" />
location="${dist.dir}/classes" />
location="${dist.dir}" />
value="lines,source" />
location="${dist.dir}/classes" />
location="${dist.dir}" />
value="lines,source" />
location="${dist.dir}/classes" />
location="${dist.dir}" />
overwrite="true">
value="${jar.filename}" />
value="${jedit.version}" />
value="${jedit.build.number}" />
value="${slackware.target.java.version}" />
destfile="${dist.dir}/classes/package-files/linux/jedit.1.gz" />
depends="init"
description="build the Slackware Package">
compression="gzip">
username="root"
group="root"
fullpath="./" />
includes="doinst.sh
slack-desc
slack-required"
username="root"
group="root"
prefix="install/" />
mode="755"
username="root"
group="bin"
fullpath="usr/bin/jedit" />
includes="*.txt"
username="root"
group="root"
prefix="usr/doc/jedit-${jedit.version}/" />
username="root"
group="root"
fullpath="usr/man/man1/jedit.1.gz" />
username="root"
group="root"
fullpath="usr/share/applications/jEdit.desktop" />
includes="doc/**
jars/LatestVersion.jar
jars/QuickNotepad.jar
macros/**
modes/**
properties/**
startup/**
${jar.filename}"
username="root"
group="root"
prefix="usr/share/jedit-${jedit.version}/" />
includes="jedit-file48.png
jedit-icon48.png"
username="root"
group="root"
prefix="usr/share/pixmaps/" />
depends="init">
destDir="${classes.dir}/ar"
cache="${classes.dir}" />
destdir="${classes.dir}/ar"
includes="de/masters_of_disaster/ant/tasks/ar/**"
debug="true"
debuglevel="${config.build.debuglevel}"
deprecation="${config.build.deprecation}"
source="${target.java.version}"
target="${target.java.version}"
compiler="modern">
depends="init">
destDir="${classes.dir}/deb"
cache="${classes.dir}" />
destdir="${classes.dir}/deb"
includes="de/masters_of_disaster/ant/tasks/deb/**"
debug="true"
debuglevel="${config.build.debuglevel}"
deprecation="${config.build.deprecation}"
source="${target.java.version}"
target="${target.java.version}"
compiler="modern">
depends="init">
destDir="${classes.dir}/calculatesize"
cache="${classes.dir}" />
destdir="${classes.dir}/calculatesize"
includes="de/masters_of_disaster/ant/tasks/calculatesize/**"
debug="true"
debuglevel="${config.build.debuglevel}"
deprecation="${config.build.deprecation}"
source="${target.java.version}"
target="${target.java.version}"
compiler="modern">
depends="init"
description="build the DEB Package">
value="lines,source" />
location="${dist.dir}/classes" />
value="lines,source" />
location="${dist.dir}/classes" />
classname="de.masters_of_disaster.ant.tasks.deb.Deb"
classpath="${dist.dir}/classes/deb" />
value="lines,source" />
location="${dist.dir}/classes" />
classname="de.masters_of_disaster.ant.tasks.calculatesize.CalculateSize"
classpath="${dist.dir}/classes/calculatesize" />
includes="*.txt" />
includes="classes/package-files/linux/jedit
classes/package-files/linux/deb/jedit
classes/package-files/linux/deb/jedit.desktop
classes/package-files/linux/jedit.1.gz
doc/**
jars/LatestVersion.jar
jars/QuickNotepad.jar
macros/**
modes/**
properties/**
startup/**
${jar.filename}" />
overwrite="true">
value="${jedit.build.number}" />
value="${deb.installed.size}" />
tempDir="${dist.dir}/classes/deb"
deleteTempFiles="false"
includeMd5sums="true">
includes="postinst
postrm"
mode="755" />
fullpath="usr/" />
fullpath="usr/bin/" />
fullpath="usr/bin/jedit"
mode="755" />
fullpath="usr/lib/" />
fullpath="usr/lib/menu/" />
fullpath="usr/lib/menu/jedit" />
fullpath="usr/share/" />
fullpath="usr/share/applications/" />
fullpath="usr/share/applications/jedit.desktop" />
fullpath="usr/share/doc/" />
fullpath="usr/share/doc/jEdit/" />
includes="*.txt"
prefix="usr/share/doc/jEdit/" />
fullpath="usr/share/jEdit/" />
includes="doc/**
macros/**
modes/**
properties/**
startup/**
${jar.filename}"
prefix="usr/share/jEdit/" />
fullpath="usr/share/jEdit/jars/" />
includes="LatestVersion.jar
QuickNotepad.jar"
prefix="usr/share/jEdit/jars/" />
fullpath="usr/share/man/" />
fullpath="usr/share/man/man1/" />
fullpath="usr/share/man/man1/jedit.1.gz" />
depends="init"
unless="build.on.non.win"
description="finish building the Windows installer (EXE-file) on Windows">
unless="config.innosetup.compiler.executable" />
pattern="yyyy" />
overwrite="true">
value="${jar.filename}" />
value="${jedit.version}" />
value="${jedit.build.number}" />
value="${win.filename}" />
value="${dist.dir}" />
value="${basedir}" />
value="${current.year}" />
failonerror="true">
depends="init"
if="build.on.non.win">
basedir="."
includes="build.xml
icons/jedit.ico
icons/WindowsInstallerSmallImage.bmp
icons/WindowsInstallerImage.bmp
package-files/windows/win32installer.iss
${config.dist.dir}/${jar.filename}
${config.dist.dir}/classes/package-files/windows/**
${config.dist.dir}/doc/**
${config.dist.dir}/jars/LatestVersion.jar
${config.dist.dir}/jars/QuickNotepad.jar
${config.dist.dir}/macros/**
${config.dist.dir}/modes/**
${config.dist.dir}/properties/**
${config.dist.dir}/startup/**"
compression="bzip2" />
depends="init"
description="build the Windows installer (EXE-file)">
value="true" />
depends="init"
description="build all distribution files">
value="true" />
value="true" />
depends="init">
negate="true" />
negate="true" />
negate="true" />