From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1H3bcm-0007kO-TP for garchives@archives.gentoo.org; Sun, 07 Jan 2007 17:16:01 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l07HEos0000843; Sun, 7 Jan 2007 17:14:50 GMT Received: from smtp-vbr13.xs4all.nl (smtp-vbr13.xs4all.nl [194.109.24.33]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id l07HEnMY023880 for ; Sun, 7 Jan 2007 17:14:49 GMT Received: from kropotkin.xs4all.nl (roosjebb.xs4all.nl [213.84.29.125]) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id l07HENlO049526; Sun, 7 Jan 2007 18:14:23 +0100 (CET) (envelope-from daisy@xs4all.nl) From: David Emmett To: gentoo-java@lists.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 User-Agent: KMail/1.9.5 Cc: Vlastimil Babka References: <200701071724.12361.daisy@xs4all.nl> <200701071741.03526.daisy@xs4all.nl> <45A1275C.1080502@gentoo.org> In-Reply-To: <45A1275C.1080502@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_upSoFgP3FlG5uuL" Message-Id: <200701071814.22774.daisy@xs4all.nl> X-Virus-Scanned: by XS4ALL Virus Scanner X-Archives-Salt: 93175a5f-513f-45d9-b822-dcac9a8c8357 X-Archives-Hash: 53e3b6030cdd27f4883b360c84331df9 --Boundary-00=_upSoFgP3FlG5uuL Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 --Boundary-00=_upSoFgP3FlG5uuL Content-Type: text/x-diff; charset="iso-8859-2"; name="assert.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="assert.patch" --- 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) { --Boundary-00=_upSoFgP3FlG5uuL-- -- gentoo-java@gentoo.org mailing list