[azureus/f14/master: 2/3] forgot to add new patches
David Juran
djuran at fedoraproject.org
Thu Aug 19 14:55:41 UTC 2010
commit 716263caf2a93aade1d25a9a3d66c1da3fe104ef
Author: David Juran <djuran at redhat.com>
Date: Thu Aug 19 17:47:57 2010 +0300
forgot to add new patches
azureus-4.5.0.0-no-Tree2.patch | 12 +++++++
build.xml | 68 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 80 insertions(+), 0 deletions(-)
---
diff --git a/azureus-4.5.0.0-no-Tree2.patch b/azureus-4.5.0.0-no-Tree2.patch
new file mode 100644
index 0000000..37c98bb
--- /dev/null
+++ b/azureus-4.5.0.0-no-Tree2.patch
@@ -0,0 +1,12 @@
+diff -up azureus-4.5.0.0/org/gudy/azureus2/ui/swt/views/table/impl/TreeDelegate.java.no-Tree2 azureus-4.5.0.0/org/gudy/azureus2/ui/swt/views/table/impl/TreeDelegate.java
+--- azureus-4.5.0.0/org/gudy/azureus2/ui/swt/views/table/impl/TreeDelegate.java.no-Tree2 2010-08-07 20:07:59.000000000 +0300
++++ azureus-4.5.0.0/org/gudy/azureus2/ui/swt/views/table/impl/TreeDelegate.java 2010-08-07 20:10:49.000000000 +0300
+@@ -50,7 +50,7 @@ public class TreeDelegate implements Tab
+ Map<String, Object> data = new HashMap<String, Object>(5);
+
+ protected TreeDelegate(Composite parent, int style) {
+- this(Constants.isWindows ? new Tree2(parent, style) : new Tree(parent,
++ this(new Tree(parent,
+ style));
+ }
+
diff --git a/build.xml b/build.xml
new file mode 100644
index 0000000..7b060c1
--- /dev/null
+++ b/build.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+
+<!--
+
+NOTE: You may need to set the ANT_OPTS="-Xmx512m" env prop in order to compile this project successfully.
+
+-->
+
+
+<project default="jar" name="Azureus" basedir=".">
+
+ <property name="root.dir" value="." /> <!-- REMINDER: this needs to be "." for public source -->
+ <property name="libs.dir" value="build/libs" />
+ <property name="dist.dir" value="dist" />
+
+ <property name="generic.excludes" value="**/*.jar **/*.txt **/*.jardesc **/.classpath **/.project **/aereg.lib **/aereg.dll" />
+ <property name="dist.jar.excludes" value="${generic.excludes} **/*.java " />
+ <!-- <property name="dist.source.excludes" value="${generic.excludes} **/*.class" /> -->
+
+
+ <target name="init" >
+ <echo message="Building Azureus2.jar..." />
+
+ <tstamp/>
+
+ <!-- <condition property="libs.dir" value="build/libs">
+ <not> <isset property="libs.dir" /> </not>
+ </condition> -->
+
+ <mkdir dir="${root.dir}/${dist.dir}" />
+ </target>
+
+
+ <target name="compile" depends="init" >
+ <path id="libs.classpath">
+ <fileset dir="${root.dir}/${libs.dir}" includes="**/*.jar" />
+ </path>
+
+ <javac srcdir="${root.dir}" destdir="${root.dir}" nowarn="yes" source="1.4" target="1.4" includeAntRuntime="no" debug="true" debuglevel="lines,vars,source" >
+ <classpath refid="libs.classpath" />
+ </javac>
+ </target>
+
+
+ <target name="jar" depends="compile" >
+ <jar destfile="${root.dir}/${dist.dir}/Azureus2.jar" basedir="${root.dir}" excludes="${dist.jar.excludes}" >
+ <manifest>
+ <attribute name="Main-Class" value="org.gudy.azureus2.ui.common.Main" />
+ <attribute name="Class-Path" value="Azureus2.jar apple-extensions.jar commons-cli.jar log4j.jar swt.jar swt-win32.jar swt-osx.jar" />
+ </manifest>
+ </jar>
+
+ <!-- <zip destfile="${dist.dir}/Azureus2_source.zip" basedir="." excludes="${dist.source.excludes}" /> -->
+
+ </target>
+
+
+ <target name="clean" >
+ <delete quiet="true" >
+ <fileset dir="${root.dir}/com" includes="**/*.class"/>
+ <fileset dir="${root.dir}/org" includes="**/*.class"/>
+ </delete>
+
+ <delete dir="${root.dir}/${dist.dir}" />
+ </target>
+
+</project>
+
More information about the scm-commits
mailing list