]> git.pld-linux.org Git - packages/Azureus.git/blame - Azureus-build.xml
- update to 3.0.3.4
[packages/Azureus.git] / Azureus-build.xml
CommitLineData
d430fdbe
ER
1<?xml version="1.0"?>
2
3<project default="jar" name="Azureus" basedir=".">
4
5 <property name="root.dir" value="." /> <!-- REMINDER: this needs to be "." for public source -->
6 <property name="dist.dir" value="dist" />
7
8 <property name="generic.excludes" value="**/*.jar **/*.txt **/*.jardesc **/.classpath **/.project **/aereg.lib **/aereg.dll" />
9 <property name="dist.jar.excludes" value="${generic.excludes} **/*.java " />
10 <!-- <property name="dist.source.excludes" value="${generic.excludes} **/*.class" /> -->
11
12
13 <target name="init" >
14 <echo message="Building Azureus2.jar..." />
15
16 <tstamp/>
17
18 <!-- <condition property="libs.dir" value="build/libs">
19 <not> <isset property="libs.dir" /> </not>
20 </condition> -->
21
22 <mkdir dir="${root.dir}/${dist.dir}" />
23 </target>
24
25
26 <target name="compile" depends="init" >
27 <javac srcdir="${root.dir}" destdir="${root.dir}" nowarn="yes" source="1.4" target="1.4" includeAntRuntime="no" debug="true" debuglevel="lines,vars,source" >
28 <classpath>
29 <pathelement location="/usr/share/java/swt.jar"/>
30 <pathelement location="/usr/share/java/commons-cli.jar"/>
31 <pathelement location="/usr/share/java/log4j.jar"/>
32 <pathelement location="/usr/share/java/junit.jar"/>
33 </classpath>
34 </javac>
35 </target>
36
37
38 <target name="jar" depends="compile" >
39 <jar destfile="${root.dir}/${dist.dir}/Azureus2.jar" basedir="${root.dir}" excludes="${dist.jar.excludes}" >
40 <manifest>
41 <attribute name="Main-Class" value="org.gudy.azureus2.ui.common.Main" />
42 <attribute name="Class-Path" value="Azureus2.jar commons-cli.jar log4j.jar swt.jar" />
43 </manifest>
44 </jar>
45
46 <!-- <zip destfile="${dist.dir}/Azureus2_source.zip" basedir="." excludes="${dist.source.excludes}" /> -->
47
48 </target>
49
50
51 <target name="clean" >
52 <delete quiet="true" >
53 <fileset dir="${root.dir}/com" includes="**/*.class"/>
54 <fileset dir="${root.dir}/org" includes="**/*.class"/>
55 </delete>
56
57 <delete dir="${root.dir}/${dist.dir}" />
58 </target>
59
60</project>
61
This page took 0.049811 seconds and 4 git commands to generate.