|
From: Jack W. <ja...@we...> - 2008-08-16 03:19:43
|
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 |
|
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.
|
|
From: Jack W. <ja...@we...> - 2008-08-18 02:16:19
|
Georgina Symes wrote: > 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. > Thank you very much Georgina for the script and the advice. -- Jack J. Woehr # "Self-delusion is http://www.well.com/~jax # half the battle!" http://www.softwoehr.com # - Zippy the Pinhead |
|
From: David S. <da...@sa...> - 2008-08-18 13:42:13
|
Jack, Did you download the src jar or zip from SourceForge? There should be a build.xml file in the root of the archive. David On Fri, Aug 15, 2008 at 11:11 PM, Jack Woehr <ja...@we...> wrote: > 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 > |
|
From: Jack W. <ja...@we...> - 2008-08-18 14:33:29
|
David Saff wrote: > Jack, > > Did you download the src jar or zip from SourceForge? There should be > a build.xml file in the root of the archive. > Yeah, one would think there would be, but there's not. junit-4.5-src.jar contains no build file, no instructions. The website, to the best of my perusal, offers no info on building it. Weird, or I'm just blind. -- Jack J. Woehr # "Self-delusion is http://www.well.com/~jax # half the battle!" http://www.softwoehr.com # - Zippy the Pinhead |
|
From: David S. <da...@sa...> - 2008-08-18 14:44:36
|
Sorry, it's in the zip. The src jar is only to provide source backing for IDE browsing. Can you raise a tracker bug for the website issue? The website seems to have lost 2/3rds of its navigation, so I'm going to ping ObjectMentor for what's going on. Thanks, David Saff On Mon, Aug 18, 2008 at 10:24 AM, Jack Woehr <ja...@we...> wrote: > David Saff wrote: >> >> Jack, >> >> Did you download the src jar or zip from SourceForge? There should be >> a build.xml file in the root of the archive. >> > > Yeah, one would think there would be, but there's not. junit-4.5-src.jar > contains > no build file, no instructions. The website, to the best of my perusal, > offers no > info on building it. Weird, or I'm just blind. > > -- > Jack J. Woehr # "Self-delusion is > http://www.well.com/~jax # half the battle!" > http://www.softwoehr.com # - Zippy the Pinhead > > |
|
From: Jack W. <ja...@we...> - 2008-08-18 15:05:48
|
David Saff wrote: > Sorry, it's in the zip. Hmm .. just downloaded http://downloads.sourceforge.net/junit/junit4.5.zip and there's no build.xml in that, either. Again, unless I'm blind :-) -- Jack J. Woehr # "Self-delusion is http://www.well.com/~jax # half the battle!" http://www.softwoehr.com # - Zippy the Pinhead |
|
From: David S. <da...@sa...> - 2008-08-19 14:58:42
|
Sacre bleu! You're right. Looks like it's only in CVS for now. I think it makes sense to put it in the zip, however. Stay tuned. David Saff On Mon, Aug 18, 2008 at 10:57 AM, Jack Woehr <ja...@we...> wrote: > David Saff wrote: >> >> Sorry, it's in the zip. > > Hmm .. just downloaded http://downloads.sourceforge.net/junit/junit4.5.zip > and there's > no build.xml in that, either. Again, unless I'm blind :-) > > -- > Jack J. Woehr # "Self-delusion is > http://www.well.com/~jax # half the battle!" > http://www.softwoehr.com # - Zippy the Pinhead > > |
|
From: David S. <da...@sa...> - 2008-08-19 15:27:17
|
Jack, Can you also open a bug for the missing build.xml issue? Thanks, David On Tue, Aug 19, 2008 at 10:58 AM, David Saff <da...@sa...> wrote: > Sacre bleu! You're right. Looks like it's only in CVS for now. I > think it makes sense to put it in the zip, however. Stay tuned. > > David Saff > > On Mon, Aug 18, 2008 at 10:57 AM, Jack Woehr <ja...@we...> wrote: >> David Saff wrote: >>> >>> Sorry, it's in the zip. >> >> Hmm .. just downloaded http://downloads.sourceforge.net/junit/junit4.5.zip >> and there's >> no build.xml in that, either. Again, unless I'm blind :-) >> >> -- >> Jack J. Woehr # "Self-delusion is >> http://www.well.com/~jax # half the battle!" >> http://www.softwoehr.com # - Zippy the Pinhead >> >> > |
|
From: Jack W. <ja...@we...> - 2008-08-19 16:20:36
|
David Saff wrote: > Jack, > > Can you also open a bug for the missing build.xml issue? Thanks, > Done, thanks! -- Jack J. Woehr # "Self-delusion is http://www.well.com/~jax # half the battle!" http://www.softwoehr.com # - Zippy the Pinhead |