From: Georgina S. <Geo...@ma...> - 2008-08-17 23:16:17
|
Hi - I created my own build script which im happy to share: -Georgi :) Ps don't forget to download the hamcrest source code too - you'll need this to compile jUnit. <?xml version="1.0"?> <project name="JUnit4.4Change" default="all"> <!-- some common default properties--> <property name="build.dir" value="${basedir}/build" /> <property name="config.dir" value="${basedir}/config" /> <property name="src.dir" value="${basedir}/src" /> <property name="test.dir" value="${basedir}/test" /> <property name="classes.dir" value="${build.dir}/classes" /> <property name="test.classes.dir" value="${build.dir}/classes-test" /> <property name="dist.dir" value="${basedir}/dist" /> <target name="all" depends="clean, init, compile, build-jar"> </target> <path id="src.path.id"> <path location="${src.dir}"/> </path> <target name="clean"> <delete dir="${dist.dir}"/> <delete dir="${build.dir}"/> </target> <target name="init"> <delete dir="${dist.dir}"/> <delete dir="${build.dir}"/> <mkdir dir="${dist.dir}" /> <mkdir dir="${build.dir}" /> <mkdir dir="${classes.dir}" /> </target> <target name="compile"> <javac destdir="${classes.dir}" source="1.5" target="1.5" debug="true"> <src refid="src.path.id" /> </javac> </target> <target name="build-jar" depends="compile"> <jar destfile="${dist.dir}/jUnit-dev.jar"> <fileset dir="${classes.dir}"> <include name="**/*.class" /> </fileset> <fileset dir="${src.dir}"> <exclude name="**/*.java" /> </fileset> </jar> </target> </project> -----Original Message----- From: jun...@li... [mailto:jun...@li...] On Behalf Of Jack Woehr Sent: Saturday, 16 August 2008 1:11 PM To: jun...@li... Subject: [Junit-devel] Building JUnit Itself Totally new to JUnit. Have visited junit.org and sourceforge ... can find no, none, zero documentation on how to build JUnit itself. No build.xml file, no nothing. Any tips, please? -- Jack J. Woehr # "Self-delusion is http://www.well.com/~jax # half the battle!" http://www.softwoehr.com # - Zippy the Pinhead ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Junit-devel mailing list Jun...@li... https://lists.sourceforge.net/lists/listinfo/junit-devel NOTICE This e-mail and any attachments are confidential and may contain copyright material of Macquarie Group Limited or third parties. If you are not the intended recipient of this email you should not read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. Macquarie Group Limited does not guarantee the integrity of any emails or any attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Macquarie Group Limited. |