- fix build Azureus
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Thu, 24 Nov 2005 20:45:01 +0000 (20:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Azureus-buildfile.patch -> 1.1

Azureus-buildfile.patch [new file with mode: 0644]

diff --git a/Azureus-buildfile.patch b/Azureus-buildfile.patch
new file mode 100644 (file)
index 0000000..c0d7a00
--- /dev/null
@@ -0,0 +1,125 @@
+--- build.xml  2005-10-25 07:21:00.000000000 +0200
++++ build.xml.new      2005-11-23 19:57:23.000000000 +0100
+@@ -1,61 +1,61 @@
+-<?xml version="1.0"?>\r
+-\r
+-<project default="jar" name="Azureus" basedir=".">\r
+-\r
+-   <property name="root.dir" value="." />  <!-- REMINDER: this needs to be "." for public source -->\r
+-   <property name="libs.dir" value="build/libs" />\r
+-   <property name="dist.dir" value="dist" />\r
+-   \r
+-   <property name="generic.excludes" value="**/*.jar **/*.txt **/*.jardesc **/.classpath **/.project **/aereg.lib **/aereg.dll" />\r
+-   <property name="dist.jar.excludes" value="${generic.excludes} **/*.java " />\r
+-   <!-- <property name="dist.source.excludes" value="${generic.excludes} **/*.class" /> -->\r
+-   \r
+-   \r
+-   <target name="init" >\r
+-      <echo message="Building Azureus2.jar..." />\r
+-\r
+-      <tstamp/>\r
+-\r
+-      <!-- <condition property="libs.dir" value="build/libs">\r
+-         <not>  <isset property="libs.dir" />  </not>\r
+-      </condition> -->\r
+-       \r
+-      <mkdir dir="${root.dir}/${dist.dir}" />\r
+-   </target>\r
+-\r
+-   \r
+-   <target name="compile" depends="init" >\r
+-      <path id="libs.classpath">\r
+-         <fileset dir="${root.dir}/${libs.dir}" includes="**/*.jar" />\r
+-      </path>\r
+-   \r
+-      <javac srcdir="${root.dir}" destdir="${root.dir}" nowarn="yes" source="1.4" target="1.4" includeAntRuntime="no" debug="true" debuglevel="lines,vars,source" >\r
+-         <classpath refid="libs.classpath" />\r
+-      </javac>\r
+-   </target>\r
+-\r
+-\r
+-   <target name="jar" depends="compile" >\r
+-      <jar destfile="${root.dir}/${dist.dir}/Azureus2.jar" basedir="${root.dir}" excludes="${dist.jar.excludes}" >\r
+-         <manifest>\r
+-            <attribute name="Main-Class" value="org.gudy.azureus2.ui.common.Main" />\r
+-            <attribute name="Class-Path" value="Azureus2.jar apple-extensions.jar commons-cli.jar log4j.jar swt.jar swt-win32.jar swt-osx.jar" />\r
+-         </manifest>\r
+-      </jar>\r
+-      \r
+-      <!-- <zip destfile="${dist.dir}/Azureus2_source.zip" basedir="." excludes="${dist.source.excludes}" /> -->\r
+-\r
+-   </target>\r
+-\r
+-\r
+-   <target name="clean" >\r
+-      <delete quiet="true" >\r
+-         <fileset dir="${root.dir}/com" includes="**/*.class"/>\r
+-         <fileset dir="${root.dir}/org" includes="**/*.class"/>\r
+-      </delete>\r
+-      \r
+-      <delete dir="${root.dir}/${dist.dir}" />\r
+-   </target>\r
+-\r
+-</project>\r
+-\r
++<?xml version="1.0"?>
++
++<project default="jar" name="Azureus" basedir=".">
++
++   <property name="root.dir" value="." />  <!-- REMINDER: this needs to be "." for public source -->
++   <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" >
++      <javac srcdir="${root.dir}" destdir="${root.dir}" nowarn="yes" source="1.4" target="1.4" includeAntRuntime="no" debug="true" debuglevel="lines,vars,source" >
++         <classpath>
++          <pathelement location="/usr/share/java/swt.jar"/>
++          <pathelement location="/usr/share/java/commons-cli.jar"/>
++          <pathelement location="/usr/share/java/log4j.jar"/>
++          <pathelement location="/usr/share/java/junit.jar"/>
++       </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 commons-cli.jar log4j.jar swt.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>
++
This page took 0.031851 seconds and 4 git commands to generate.