1.2.5
by Richard Leo Marsh Warburton
eclipse build script |
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
106
by Chris Lamb
Add GPL headers to files |
2 |
|
3 |
<!--
|
|
4 |
Gryle MP3 player
|
|
5 |
Copyright (C) 2007 Chris Lamb, Richard Warburton, Daniel Watkins.
|
|
6 |
|
|
7 |
Homepage: https://launchpad.net/gryle
|
|
8 |
||
9 |
This program is free software; you can redistribute it and/or modify
|
|
10 |
it under the terms of the GNU General Public License as published by
|
|
11 |
the Free Software Foundation; either version 2 of the License, or
|
|
12 |
(at your option) any later version.
|
|
13 |
||
14 |
This program is distributed in the hope that it will be useful,
|
|
15 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17 |
GNU General Public License for more details.
|
|
18 |
||
19 |
You should have received a copy of the GNU General Public License along
|
|
20 |
with this program; if not, write to the Free Software Foundation, Inc.,
|
|
21 |
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
22 |
-->
|
|
23 |
||
1.1.13
by Chris Lamb
Make Ant run Gryle by defualt |
24 |
<project name="gryle" basedir="." default="run"> |
1.1.9
by Chris Lamb
First stab at build.xml |
25 |
<description>
|
106
by Chris Lamb
Add GPL headers to files |
26 |
Builds the Gryle MP3 player. |
1.1.9
by Chris Lamb
First stab at build.xml |
27 |
</description>
|
28 |
||
1.1.12
by Chris Lamb
Cleanup building, nice build script |
29 |
<property name="distprefix" value="gryle-0.1"/> |
30 |
<property name="src" location="src"/> |
|
31 |
<property name="bin" location="bin"/> |
|
32 |
<property name="dist" location="dist"/> |
|
1.1.39
by Chris Lamb
|
33 |
<property name="lib" location="lib"/> |
1.1.12
by Chris Lamb
Cleanup building, nice build script |
34 |
<property name="javadoc" location="javadoc"/> |
1.1.28
by Chris Lamb
Plugin loader |
35 |
<property name="plugins" location="plugins"/> |
1.1.12
by Chris Lamb
Cleanup building, nice build script |
36 |
<property name="classes" location="uk/org/wuglug/gryle"/> |
1.1.28
by Chris Lamb
Plugin loader |
37 |
|
1.1.12
by Chris Lamb
Cleanup building, nice build script |
38 |
<property name="mainclass" value="uk.org.wuglug.gryle.Main"/> |
1.1.28
by Chris Lamb
Plugin loader |
39 |
<property name="debug" value="true"/> |
40 |
<property name="debuglevel" value="source,lines,vars"/> |
|
41 |
<property name="source" value="1.5"/> |
|
42 |
<property name="target" value="1.5"/> |
|
1.1.9
by Chris Lamb
First stab at build.xml |
43 |
|
44 |
<!-- Clean -->
|
|
1.2.5
by Richard Leo Marsh Warburton
eclipse build script |
45 |
<target name="clean"> |
1.1.9
by Chris Lamb
First stab at build.xml |
46 |
<delete dir="${bin}"/> |
47 |
<delete dir="${javadoc}"/> |
|
1.1.12
by Chris Lamb
Cleanup building, nice build script |
48 |
<delete dir="${dist}"/> |
1.1.9
by Chris Lamb
First stab at build.xml |
49 |
</target>
|
50 |
||
51 |
<!-- Build -->
|
|
107
by Chris Lamb
Fix build.xml again |
52 |
<target name="build" depends="plugins,mainbuild" description="Build All"/> |
53 |
||
54 |
<!-- Builds the Gryle plugin -->
|
|
55 |
<target name="mainbuild" depends="" description="Builds the main Gryle program"> |
|
1.1.12
by Chris Lamb
Cleanup building, nice build script |
56 |
<mkdir dir="${bin}"/> |
1.1.28
by Chris Lamb
Plugin loader |
57 |
<javac debug="${debug}" debuglevel="${debuglevel}" destdir="${bin}" source="${source}" target="${target}"> |
58 |
<src path="${src}"/> |
|
1.1.39
by Chris Lamb
|
59 |
<classpath>
|
60 |
<fileset dir="${lib}"> |
|
1.1.42
by Chris Lamb
STOP FSCKING WITH MY BUILD SCRIPT FOR MONKEYS_AT SAKE |
61 |
<include name="*.jar"/> |
1.1.39
by Chris Lamb
|
62 |
</fileset>
|
63 |
</classpath>
|
|
107
by Chris Lamb
Fix build.xml again |
64 |
</javac>
|
1.2.5
by Richard Leo Marsh Warburton
eclipse build script |
65 |
</target>
|
1.1.9
by Chris Lamb
First stab at build.xml |
66 |
|
1.1.28
by Chris Lamb
Plugin loader |
67 |
<!-- Build plugins -->
|
107
by Chris Lamb
Fix build.xml again |
68 |
<target name="plugins" depends="mainbuild" description="Builds Gryle plugins"> |
1.1.28
by Chris Lamb
Plugin loader |
69 |
<mkdir dir="${bin}/plugins"/> |
70 |
<javac debug="${debug}" debuglevel="${debuglevel}" |
|
71 |
destdir="${bin}/plugins" source="${source}" target="${target}"> |
|
72 |
<src path="${plugins}"/> |
|
1.1.39
by Chris Lamb
|
73 |
<classpath path="${bin}"/> |
1.1.28
by Chris Lamb
Plugin loader |
74 |
</javac>
|
75 |
</target>
|
|
76 |
||
1.1.12
by Chris Lamb
Cleanup building, nice build script |
77 |
<!-- Run -->
|
78 |
<target name="run" depends="jars" description="Run Gryle"> |
|
1.1.61
by Chris Lamb
Who took the cookie from the cookie jar? nobody, it's just my build script sucking |
79 |
<java classname="${mainclass}" fork="true"> |
1.1.59
by Chris Lamb
Add lib dir to 'run' Ant task |
80 |
<classpath>
|
1.1.61
by Chris Lamb
Who took the cookie from the cookie jar? nobody, it's just my build script sucking |
81 |
<pathelement location="${dist}/gryle.jar"/> |
1.1.59
by Chris Lamb
Add lib dir to 'run' Ant task |
82 |
<fileset dir="${lib}"> |
83 |
<include name="*.jar"/> |
|
84 |
</fileset>
|
|
85 |
</classpath>
|
|
86 |
</java>
|
|
1.1.12
by Chris Lamb
Cleanup building, nice build script |
87 |
</target>
|
88 |
||
1.1.9
by Chris Lamb
First stab at build.xml |
89 |
<!-- Javadoc -->
|
90 |
<target name="javadoc" description="Generate documentation"> |
|
1.1.12
by Chris Lamb
Cleanup building, nice build script |
91 |
<mkdir dir="${javadoc}"/> |
1.1.11
by Chris Lamb
|
92 |
<javadoc destdir="${javadoc"> |
93 |
<packageset dir="${src}" includes="${classes}"/> |
|
94 |
</javadoc>
|
|
95 |
</target>
|
|
96 |
||
97 |
<!-- Jars -->
|
|
1.1.28
by Chris Lamb
Plugin loader |
98 |
<target name="jars" depends="build, plugins" description="Creates JAR files"> |
1.1.12
by Chris Lamb
Cleanup building, nice build script |
99 |
<mkdir dir="${dist}"/> |
100 |
<jar destfile="${dist}/gryle.jar" basedir="${bin}"> |
|
101 |
<manifest>
|
|
102 |
<attribute name="Main-Class" value="${mainclass}"/> |
|
103 |
</manifest>
|
|
104 |
</jar>
|
|
1.1.9
by Chris Lamb
First stab at build.xml |
105 |
</target>
|
106 |
||
107 |
<!-- Dist -->
|
|
1.1.15
by Chris Lamb
|
108 |
<target name="dist" depends="clean, jars" description="Generate distribution tarballs"> |
1.1.12
by Chris Lamb
Cleanup building, nice build script |
109 |
<tar destfile="${dist}/gryle.tar"> |
110 |
<tarfileset dir="." prefix="${distprefix}"> |
|
111 |
<include name="COPYING"/> |
|
112 |
<include name="TODO"/> |
|
113 |
</tarfileset>
|
|
114 |
<tarfileset dir="contrib" prefix="${distprefix}"> |
|
115 |
<include name="gryle.bat"/> |
|
116 |
<include name="gryle"/> |
|
117 |
</tarfileset>
|
|
118 |
<tarfileset dir="${dist}" prefix="${distprefix}"> |
|
119 |
<include name="*.jar"/> |
|
120 |
</tarfileset>
|
|
121 |
</tar>
|
|
122 |
<gzip src="${dist}/gryle.tar" destfile="${dist}/${distprefix}.tar.gz"/> |
|
123 |
<delete file="${dist}/gryle.tar"/> |
|
124 |
<delete dir="${bin}"/> |
|
1.1.9
by Chris Lamb
First stab at build.xml |
125 |
</target>
|
126 |
||
1.2.5
by Richard Leo Marsh Warburton
eclipse build script |
127 |
</project>
|