PageRenderTime 144ms CodeModel.GetById 142ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-2-pre14/jars/MacOS/build.xml

#
XML | 49 lines | 39 code | 10 blank | 0 comment | 0 complexity | 153c324664796181ca4037d2d24fddba MD5 | raw file
 1<?xml version="1.0"?>
 2
 3<project name="macos" default="dist" basedir=".">
 4
 5	<property name="jedit.install.dir"  value="../.."/>
 6	<property name="jar.name"  value="MacOS.jar"/>
 7	
 8	<property name="install.dir"  value=".."/>
 9	<property name="build.dir"  value="build"/>
10
11	<path id="project.class.path">
12		<pathelement location="${jedit.install.dir}/jedit.jar"/>
13		<pathelement location="/System/Library/Java"/>
14		<pathelement location="."/>
15	</path>
16
17	
18	<target name="compile">
19		<mkdir dir="${build.dir}"/>
20		<javac
21			srcdir="."
22			deprecation="on"
23			destdir="${build.dir}"
24			includeJavaRuntime="yes"
25		>
26			<classpath refid="project.class.path"/>
27		</javac>
28	</target>
29
30	
31	<target name="dist" depends="compile">
32		<mkdir dir="${install.dir}"/>
33		<jar jarfile="${install.dir}/${jar.name}">
34			<fileset dir="build">
35				<include name="**/*.class"/>
36			</fileset>
37			<fileset dir=".">
38				<include name="**/*.props"/>
39				<include name="**/*.html"/>
40			</fileset>
41		</jar>
42	</target>
43	
44	
45	<target name="clean">
46		<delete dir="build">
47		</delete>
48	</target>
49</project>