Author: nextgens Date: 2006-02-01 09:55:19 +0000 (Wed, 01 Feb 2006) New Revision: 7984
Removed: trunk/contrib/onion-fec.jar Modified: trunk/contrib/freenet_ext/build.xml Log: I've rewritten the build.xml file for Contrib now it works as expected B-) It had been broken since r7881 Modified: trunk/contrib/freenet_ext/build.xml =================================================================== --- trunk/contrib/freenet_ext/build.xml 2006-02-01 00:33:52 UTC (rev 7983) +++ trunk/contrib/freenet_ext/build.xml 2006-02-01 09:55:19 UTC (rev 7984) @@ -3,53 +3,50 @@ <!-- Please download and install ant from http://ant.apache.org/ --> <!-- ==================================================================== --> <project name="Freenet-ext" default="jar"> + <property name="build" location="build_dir"/> + <property name="jar.location" location="freenet-ext.jar"/> - <property name="build" location="build_dir"/> - <property name="jar.location" location="freenet-ext.jar"/> + <target name="init" description="Create build directory"> + <mkdir dir="${build}"/> + </target> - <target name="init" - description="Create build directory"> - <mkdir dir="${build}"/> - </target> + <target name="fec" depends="init" description="build the FECEncoder/Decoder plugins for fproxy."> + <javac destdir="${build}"> + <src path="../fec_src"/> + <classpath path="../onion-common.jar"/> + </javac> + <copy file="../onion_LICENSE" todir="${build}"/> + <copy todir="${build}"> + <fileset dir="../fec_src"> + <include name="**/*.properties"/> + </fileset> + </copy> + </target> - <target name="fec" depends="init" - description="build the FECEncoder/Decoder plugins for fproxy."> - <javac destdir="${build}"> - <src path="../fec_src"/> - <classpath path="../onion-common.jar"/> - </javac> - <copy file="../onion_LICENSE" todir="${build}"/> - </target> + <target name="jcpuid" depends="init"> + <copy todir="${build}"> + <fileset dir="../jcpuid/lib" includes="freenet/**" /> + </copy> + </target> - <target name="jcpuid" depends="init"> - <copy todir="${build}"> - <fileset dir="../jcpuid/lib" includes="freenet/**"> - </fileset> - </copy> - </target> + <target name="bigint" depends="init"> + <copy todir="${build}"> + <fileset dir="../NativeBigInteger/lib" includes="net/**" /> + </copy> + </target> - <target name="bigint" depends="init"> - <copy todir="${build}"> - <fileset dir="../NativeBigInteger/lib" includes="net/**"> - </fileset> - </copy> - </target> + <target name="clean" depends="distclean"/> - <target name="clean" depends="distclean"> - </target> + <target name="distclean" description="Delete the build directory and archives"> + <delete dir="${build}"/> + <delete file="${jar.location}"/> + </target> - <target name="distclean" - description="Delete the build directory and archives"> - <delete dir="${build}"/> - <delete file="${jar.location}"/> - </target> - - <target name="jar" depends="fec,jcpuid,bigint" - description="Create a .jar"> - <jar jarfile="${jar.location}" basedir="${build}" includes="**"> - <zipfileset src="../onion-common.jar"/> - <zipfileset src="../fec-native.jar"/> - <zipfileset src="../je-2.0.90.jar"/> - </jar> - </target> + <target name="jar" depends="fec,jcpuid,bigint" description="Create a .jar"> + <jar jarfile="${jar.location}" basedir="${build}" includes="**"> + <zipfileset src="../onion-common.jar"/> + <zipfileset src="../fec-native.jar"/> + <zipfileset src="../je-2.0.90.jar"/> + </jar> + </target> </project> Deleted: trunk/contrib/onion-fec.jar =================================================================== (Binary files differ)
