From: David Emmett <daisy@xs4all.nl>
To: gentoo-java@lists.gentoo.org
Cc: Vlastimil Babka <caster@gentoo.org>
Subject: Re: [gentoo-java] mockobjects-0.09-r1 won't build against junit-3.8.2
Date: Sun, 7 Jan 2007 18:14:22 +0100 [thread overview]
Message-ID: <200701071814.22774.daisy@xs4all.nl> (raw)
In-Reply-To: <45A1275C.1080502@gentoo.org>
[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]
On Sunday 07 January 2007 18:01, Vlastimil Babka wrote:
> Looks like they already closed it wontfix, because the project is dead.
> Kinda what I expected.
Which rather begs the question: why do we need mockobjects to emerge groovy?
>
> > ------------------------------------------------------------------------
> >
> > --- AssertMo.java 2007-01-07 17:33:53.000000000 +0100
> > +++ AssertMo.java.orig 2007-01-07 17:35:10.000000000 +0100
>
> You made the patch the other way around, do it like "diff -u file.orig
> file". Also, to be directly usable in the ebuild, it must contain full
> path relative to WORKDIR (which is usually inside the directory you get
> after unpacking the sources). So, in this case it's "diff -u
> src/core/com/.../....orig src/core/com/.../...java"
Yes, I think I just ran into that problem, as I was playing around with making
an ebuild myself (learning how to patch). I wanted a fix so I can install
groovy, and had put it in an overlay dir.
Thanks for the tips, though, as it now works. I have attached a working
patch...
Cheers,
David
--
----
http://www.motogpmatters.com/ - MotoGP News and Race Reports
[-- Attachment #2: assert.patch --]
[-- Type: text/x-diff, Size: 423 bytes --]
--- src/core/com/mockobjects/util/AssertMo.java.orig 2007-01-07 17:35:10.000000000 +0100
+++ src/core/com/mockobjects/util/AssertMo.java 2007-01-07 17:33:53.000000000 +0100
@@ -77,7 +77,7 @@
assertTrue("Should not have verified", threwException);
}
- static protected void failNotEquals(
+ public static void failNotEquals(
String message,
Object expected,
Object actual) {
next prev parent reply other threads:[~2007-01-07 17:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-07 16:24 [gentoo-java] mockobjects-0.09-r1 won't build against junit-3.8.2 David Emmett
2007-01-07 16:41 ` David Emmett
2007-01-07 17:01 ` Vlastimil Babka
2007-01-07 17:14 ` David Emmett [this message]
2007-01-07 17:25 ` Joshua Nichols
2007-01-07 17:40 ` David Emmett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200701071814.22774.daisy@xs4all.nl \
--to=daisy@xs4all.nl \
--cc=caster@gentoo.org \
--cc=gentoo-java@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox