PageRenderTime 53ms CodeModel.GetById 49ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-1-pre5/build.xml

#
XML | 110 lines | 89 code | 16 blank | 5 comment | 0 complexity | daf3bcd999baa47f8d49b6ab183b9afb MD5 | raw file
  1<?xml version="1.0"?>
  2
  3<!--
  4     This is a build.xml file for building jEdit.
  5-->
  6
  7<project name="jEdit" default="dist" basedir=".">
  8
  9	<target name="compile">
 10		<javac
 11			srcdir="."
 12			deprecation="on"
 13			includeJavaRuntime="yes"
 14		>
 15			<include name="bsh/**/*.java"/>
 16			<include name="com/microstar/*.java"/>
 17			<include name="com/incors/plaf/kunststoff/*.java"/>
 18			<include name="gnu/regexp/*.java"/>
 19			<include name="installer/*.java"/>
 20			<include name="org/gjt/sp/jedit/**/*.java"/>
 21			<include name="org/gjt/sp/util/*.java"/>
 22		</javac>
 23	</target>
 24
 25
 26	<target name="dist" depends="compile">
 27		<jar
 28			jarfile="jedit.jar"
 29			manifest="org/gjt/sp/jedit/jedit.manifest"
 30		>
 31			<fileset dir=".">
 32				<include name="bsh/**/*.class"/>
 33				<include name="bsh/commands/*.bsh"/>
 34
 35				<include name="com/microstar/*.class"/>
 36				<include name="com/incors/plaf/kunststoff/*.class"/>
 37				<include name="com/incors/plaf/kunststoff/icons/*.gif"/>
 38				<include name="gnu/regexp/*.class"/>
 39				<include name="gnu/regexp/MessagesBundle.properties"/>
 40				<include name="javax/help/**/*.class"/>
 41
 42				<include name="org/gjt/sp/jedit/**/*.class"/>
 43				<include name="org/gjt/sp/util/**/*.class"/>
 44				<include name="org/gjt/sp/jedit/**/*.dtd"/>
 45				<include name="org/gjt/sp/jedit/icons/*.gif"/>
 46				<include name="org/gjt/sp/jedit/tips/*.html"/>
 47				<include name="org/gjt/sp/jedit/*.props"/>
 48
 49				<include name="org/gjt/sp/jedit/actions.xml"/>
 50				<include name="org/gjt/sp/jedit/default.abbrevs"/>
 51				<include name="org/gjt/sp/jedit/jedit.bsh"/>
 52
 53				<include name="doc/*.txt"/>
 54				<include name="doc/welcome.html"/>
 55				<include name="doc/users-guide/*.html"/>
 56				<include name="doc/users-guide/toc.xml"/>
 57				<include name="doc/users-guide/word-index.xml"/>
 58			</fileset>
 59		</jar>
 60	</target>
 61
 62	<!-- Generate docs with xsltproc tool from www.xmlsoft.org -->
 63	<target name="docs-html-xsltproc">
 64		<exec executable="xsltproc" dir="doc/users-guide">
 65			<arg value="--catalogs"/>
 66			<arg value="jedithtml.xsl"/>
 67			<arg value="users-guide.xml"/>
 68		</exec>
 69	</target>
 70
 71	<!-- Generate docs with Xalan tool from xml.apache.org -->
 72	<target name="docs-html-xalan">
 73		<style
 74			in="doc/users-guide/users-guide.xml"
 75			destdir="doc/users-guide"
 76			style="doc/users-guide/jedithtml.xsl"/>
 77	</target>
 78
 79	<target name="clean">
 80		<delete>
 81			<fileset dir="." includes="**/*~" defaultexcludes="no"/>
 82			<fileset dir="." includes="**/#*#" defaultexcludes="no"/>
 83			<fileset dir="." includes="**/*.orig"/>
 84			<fileset dir="." includes="**/*.rej"/>
 85			<fileset dir="." includes="**/.*.swp"/>
 86			<fileset dir="." includes="**/.#*"/>
 87			<fileset dir="." includes="**/.new*"/>
 88			<fileset dir="." includes="**/.directory"/>
 89			<fileset dir=".">
 90				<include name="**/*.class"/>
 91				<exclude name="com/incors/plaf/kunststoff/*.class"/>
 92				<exclude name="org/gjt/sp/jedit/textarea/TextRenderer2D.class"/>
 93				<exclude name="bsh/XThis*.class"/>
 94				<exclude name="bsh/reflect/ReflectManagerImpl.class"/>
 95			</fileset>
 96
 97			<fileset dir="." includes="doc/users-guide/*.html"/>
 98			<fileset dir="." includes="doc/users-guide/toc.xml"/>
 99			<fileset dir="." includes="doc/users-guide/word-index.xml"/>
100
101			<fileset dir="." includes="doc/users-guide/*.pdf"/>
102			<fileset dir="." includes="doc/users-guide/*.aux"/>
103			<fileset dir="." includes="doc/users-guide/*.tex"/>
104			<fileset dir="." includes="doc/users-guide/*.log"/>
105
106			<fileset dir="." includes="installer/jedit-*"/>
107		</delete>
108	</target>
109
110</project>