From useraaron59@example.net Wed Nov 01 13:59:00 2006 Return-Path: <useraaron59@example.net> Delivered-To: aaron59@example.net Received: (qmail 5167 invoked from network); 1 Nov 2006 13:58:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 13:58:39 -0000 Received: (qmail 30441 invoked by uid 500); 1 Nov 2006 13:58:49 -0000 Delivered-To: aaron59@example.net Received: (qmail 30434 invoked by uid 500); 1 Nov 2006 13:58:49 -0000 Mailing-List: contact aaron59@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron59@example.net> List-Unsubscribe: <mailto:aaron59@example.net> List-Post: <mailto:aaron59@example.net> List-Id: <user.hivemind.apache.org> Reply-To: aaron59@example.net Delivered-To: mailing list aaron59@example.net Received: (qmail 30421 invoked by uid 99); 1 Nov 2006 13:58:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 05:58:49 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aaron59@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nz-out-0102.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 05:58:36 -0800 Received: by nz-out-0102.google.com with SMTP id f1so393193nzc for <aaron59@example.net>; Wed, 01 Nov 2006 05:58:15 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jCaGyn4Axw+OWMoWJNhJOTav3cbvQhFoKMAkIuNnHZAls4+a7MWmATOxeFd2pEcXNT/49KKdb6ORuCD7GhGqKOtJWsE2jwKPIBB5k04tTUq+HRgEKNcHfXWDraS8pxc78IcoxxQsP2p/jhBa/v8sysJ1ybhjkPjcT0OmCrm4Tdg= Received: by 83.161.120.155 with SMTP id y6mr9036339pyj; Wed, 01 Nov 2006 05:58:14 -0800 (PST) Received: by 83.161.120.155 with HTTP; Wed, 1 Nov 2006 05:58:14 -0800 (PST) Message-ID: <aaron59@example.net> Date: Wed, 1 Nov 2006 14:58:14 +0100 From: "=?UTF-8?Q?Stefan_H=C3=BCbner?=" <aaron59@example.net> To: aaron59@example.net Subject: Re: maven2 plugin In-Reply-To: <003e01c6a929$09e2ce50$6401a8c0@CARMANI9300> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 Content-Disposition: inline References: <aaron59@example.net> <003e01c6a929$09e2ce50$6401a8c0@CARMANI9300> X-Virus-Checked: Checked by ClamAV on apache.org SGkgYWxsLAoKSSdtIGNvbWluZyBiYWNrIHRvIHRoaXMgdG9waWMsIHdvbmRlcmluZyBpZiBzb21l b25lIGNvdWxkIHByb3ZpZGUgYW4KZXhhbXBsZSBob3cgdG8gY3JlYXRlIEhpdmVEb2NzIHVzaW5n IE1hdmVuMj8KCkJlbiBHaWRsZXkgcHVibGlzaGVkIGEgbWF2ZW4gcGx1Z2luCihodHRwczovL2lz c3Vlcy5hcGFjaGUub3JnL2ppcmEvYnJvd3NlL0hJVkVNSU5ELTE2NCkgd2hpY2ggbG9va3MKcHJv bWlzaW5nLiBXaGF0J3MgdGhlIHN0YXR1cyBvZiB0aGF0IHBsdWdpbj8KCmFueSBoaW50cyBtdWNo IGFwcHJlY2lhdGVkIQoKQ2hlZXJzLApTdGVmYW4KCjIwMDYvNy8xNiwgSmFtZXMgQ2FybWFuIDxq YW1lc0BjYXJtYW5jb25zdWx0aW5nLmNvbT46Cj4gU3VyZS4gIFRoZXJlJ3MgYW4gYW50IHBsdWdp biBmb3IgbWF2ZW4uICBJdCBzaG91bGQgYmUgcXVpdGUgZWFzeSB0byBydW4gaXQKPiB1c2luZyBh bnQuCj4KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQo+IEZyb206IEFjaGltIEjDvGdlbiBb bWFpbHRvOmFjaGltLmh1ZWdlbkBnbXguZGVdCj4gU2VudDogU3VuZGF5LCBKdWx5IDE2LCAyMDA2 IDU6MDMgQU0KPiBUbzogdXNlckBoaXZlbWluZC5hcGFjaGUub3JnCj4gU3ViamVjdDogUmU6IG1h dmVuMiBwbHVnaW4KPgo+IFRoZXJlIGlzIG5vIHN1Y2ggcGx1Z2luLiBXb3VsZG4ndCBpdCBiZSBw b3NzaWJsZQo+IHRvIHRvIGNhbGwgdGhlIGhpdmVkb2MgYW50IHRhcmdldCBmcm9tIG1hdmVuMj8K Pgo+IEFjaGltCj4KPiBBbSBXZWQsIDEyIEp1bCAyMDA2IDE1OjI1OjA5ICswMjAwIHNjaHJpZWIg Tm9yYmVydCBTw6FuZG9yCj4gPGRldmVsb3BlckBlcmlub3JzLmNvbT46Cj4KPiA+IEhpIQo+ID4K PiA+IElzIHRoZXJlIGFuIG9mZmljaWFsIG1hdmVuMiBwbHVnaW4gZm9yIGhpdmVkb2M/Cj4gPgo+ ID4gUmVnYXJkcywKPiA+IE5vcmJpCj4gPgo+Cj4KPgo= From useraaron59@example.net Wed Nov 01 15:45:18 2006 Return-Path: <useraaron59@example.net> Delivered-To: aaron59@example.net Received: (qmail 49220 invoked from network); 1 Nov 2006 15:45:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 15:45:17 -0000 Received: (qmail 62287 invoked by uid 500); 1 Nov 2006 15:45:28 -0000 Delivered-To: aaron59@example.net Received: (qmail 62279 invoked by uid 500); 1 Nov 2006 15:45:27 -0000 Mailing-List: contact aaron59@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron59@example.net> List-Unsubscribe: <mailto:aaron59@example.net> List-Post: <mailto:aaron59@example.net> List-Id: <user.hivemind.apache.org> Reply-To: aaron59@example.net Delivered-To: mailing list aaron59@example.net Received: (qmail 62270 invoked by uid 99); 1 Nov 2006 15:45:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 07:45:27 -0800 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aaron59@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nz-out-0102.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 07:45:11 -0800 Received: by nz-out-0102.google.com with SMTP id f1so418264nzc for <aaron59@example.net>; Wed, 01 Nov 2006 07:44:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=Z2yzaA7zOncP0dqtQYo1uvB4UzAesuLqhnug7twdXFNECAF0/wVt6idXRkZ0tvs5o6xGMFvPv/dsTQG/ulXrkly8rWDsh20eLvsmOPWB2pK/dootfxQPRKd9JQMYzNG7/TkVSW3tpiBQD3LseloftUK/MKbWrFh5K9lTRaxjtUU= Received: by 83.161.120.155 with SMTP id v17mr9128366qbj; Wed, 01 Nov 2006 07:44:48 -0800 (PST) Received: by 83.161.120.155 with HTTP; Wed, 1 Nov 2006 07:44:47 -0800 (PST) Message-ID: <aaron59@example.net> Date: Wed, 1 Nov 2006 15:44:47 +0000 From: "Ben Gidley" <aaron59@example.net> Sender: aaron59@example.net To: aaron59@example.net Subject: Re: maven2 plugin In-Reply-To: <aaron59@example.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_29072_31346777.1162395887944" References: <aaron59@example.net> <003e01c6a929$09e2ce50$6401a8c0@CARMANI9300> <aaron59@example.net> X-Google-Sender-Auth: edd5fe517bb1d704 X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_29072_31346777.1162395887944 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline It has been updated and is available from cvs on zebra.berlios.de. I have tried a couple of times to see if anyone is interested in having it added to Apache and or MOJO, but MOJO suggested it it is better placed with hivemind and the hivemind dev list don't seem particually interested. It will need rewriting for Hivemind 2.0, as it depends on the raw hivemodules XML files. Ben On 11/1/06, Stefan H=FCbner <aaron59@example.net> wrote: > > Hi all, > > I'm coming back to this topic, wondering if someone could provide an > example how to create HiveDocs using Maven2? > > Ben Gidley published a maven plugin > (https://issues.apache.org/jira/browse/HIVEMIND-164) which looks > promising. What's the status of that plugin? > > any hints much appreciated! > > Cheers, > Stefan > > 2006/7/16, James Carman <aaron59@example.net>: > > Sure. There's an ant plugin for maven. It should be quite easy to run > it > > using ant. > > > > -----Original Message----- > > From: Achim H=FCgen [mailto:aaron59@example.net] > > Sent: Sunday, July 16, 2006 5:03 AM > > To: aaron59@example.net > > Subject: Re: maven2 plugin > > > > There is no such plugin. Wouldn't it be possible > > to to call the hivedoc ant target from maven2? > > > > Achim > > > > Am Wed, 12 Jul 2006 15:25:09 +0200 schrieb Norbert S=E1ndor > > <aaron59@example.net>: > > > > > Hi! > > > > > > Is there an official maven2 plugin for hivedoc? > > > > > > Regards, > > > Norbi > > > > > > > > > > ------=_Part_29072_31346777.1162395887944 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline It has been updated and is available from cvs on <a href=3D"http://zebra.be= rlios.de">zebra.berlios.de</a>.<br><br>I have tried a couple of times to se= e if anyone is interested in having it added to Apache and or MOJO, but MOJ= O suggested it it is better placed with hivemind and the hivemind dev list = don't seem particually interested. <br><br>It will need rewriting for Hivemind 2.0, as it depends on the raw h= ivemodules XML files.<br><br>Ben<br><br><div><span class=3D"gmail_quote">On= 11/1/06, <b class=3D"gmail_sendername">Stefan H=FCbner</b> &lt;<a href=3D"= mailto:aaron59@example.net"> aaron59@example.net</a>&gt; wrote:</span><blockquote class=3D"gmail_qu= ote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0p= t 0.8ex; padding-left: 1ex;">Hi all,<br><br>I'm coming back to this topic, = wondering if someone could provide an <br>example how to create HiveDocs using Maven2?<br><br>Ben Gidley publishe= d a maven plugin<br>(<a href=3D"https://issues.apache.org/jira/browse/HIVEM= IND-164">https://issues.apache.org/jira/browse/HIVEMIND-164</a>) which look= s <br>promising. What's the status of that plugin?<br><br>any hints much appr= eciated!<br><br>Cheers,<br>Stefan<br><br>2006/7/16, James Carman &lt;<a hre= f=3D"mailto:aaron59@example.net">aaron59@example.net</a>&gt;: <br>&gt; Sure.&nbsp;&nbsp;There's an ant plugin for maven.&nbsp;&nbsp;It sh= ould be quite easy to run it<br>&gt; using ant.<br>&gt;<br>&gt; -----Origin= al Message-----<br>&gt; From: Achim H=FCgen [mailto:<a href=3D"mailto:achim= .aaron59@example.net">aaron59@example.net </a>]<br>&gt; Sent: Sunday, July 16, 2006 5:03 AM<br>&gt; To: <a href=3D"ma= ilto:aaron59@example.net">aaron59@example.net</a><br>&gt; Subject= : Re: maven2 plugin<br>&gt;<br>&gt; There is no such plugin. Wouldn't it be= possible <br>&gt; to to call the hivedoc ant target from maven2?<br>&gt;<br>&gt; Ach= im<br>&gt;<br>&gt; Am Wed, 12 Jul 2006 15:25:09 +0200 schrieb Norbert S=E1n= dor<br>&gt; &lt;<a href=3D"mailto:aaron59@example.net">aaron59@example.net.= com </a>&gt;:<br>&gt;<br>&gt; &gt; Hi!<br>&gt; &gt;<br>&gt; &gt; Is there an of= ficial maven2 plugin for hivedoc?<br>&gt; &gt;<br>&gt; &gt; Regards,<br>&gt= ; &gt; Norbi<br>&gt; &gt;<br>&gt;<br>&gt;<br>&gt;<br></blockquote></div> <br> ------=_Part_29072_31346777.1162395887944-- From useraaron59@example.net Wed Nov 01 16:24:56 2006 Return-Path: <useraaron59@example.net> Delivered-To: aaron59@example.net Received: (qmail 61754 invoked from network); 1 Nov 2006 16:24:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 16:24:55 -0000 Received: (qmail 35479 invoked by uid 500); 1 Nov 2006 16:24:58 -0000 Delivered-To: aaron59@example.net Received: (qmail 35466 invoked by uid 500); 1 Nov 2006 16:24:58 -0000 Mailing-List: contact aaron59@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron59@example.net> List-Unsubscribe: <mailto:aaron59@example.net> List-Post: <mailto:aaron59@example.net> List-Id: <user.hivemind.apache.org> Reply-To: aaron59@example.net Delivered-To: mailing list aaron59@example.net Received: (qmail 35435 invoked by uid 99); 1 Nov 2006 16:24:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 08:24:58 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aaron59@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO py-out-1112.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 08:24:42 -0800 Received: by py-out-1112.google.com with SMTP id v53so171385pyh for <aaron59@example.net>; Wed, 01 Nov 2006 08:24:21 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=S1efHt1XACa9cx5+d+z8SvjD9ds3NUmVBmgBr3e3m/uaPUJLQ7nWEb8z9gPgHECQytHwawKHK2Uc79p5T7CYa7g/bDv8EZDXYEgSEDgl6B8LNfLc5zClE6MMfVHC0+RTMgiIBZfWw+sG4Ds3zqtefqGjJYMz7cfspEl4QF4hWsU= Received: by 83.161.120.155 with SMTP id c1mr9153378pyl; Wed, 01 Nov 2006 08:24:20 -0800 (PST) Received: by 83.161.120.155 with HTTP; Wed, 1 Nov 2006 08:24:20 -0800 (PST) Message-ID: <aaron59@example.net> Date: Wed, 1 Nov 2006 17:24:20 +0100 From: "=?UTF-8?Q?Stefan_H=C3=BCbner?=" <aaron59@example.net> To: aaron59@example.net Subject: Re: maven2 plugin In-Reply-To: <aaron59@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <aaron59@example.net> <003e01c6a929$09e2ce50$6401a8c0@CARMANI9300> <aaron59@example.net> <aaron59@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Hi Ben, 2006/11/1, Ben Gidley <aaron59@example.net>: > It has been updated and is available from cvs on zebra.berlios.de. > unfortunately, I'm behind a firewall and can't get access to that CVS repository. would you mind zipping up the sources and update that patch you provided in http://issues.apache.org/jira/browse/HIVEMIND-164 ? Thanks for bothering, Stefan From useraaron59@example.net Wed Nov 01 16:34:46 2006 Return-Path: <useraaron59@example.net> Delivered-To: aaron59@example.net Received: (qmail 64262 invoked from network); 1 Nov 2006 16:34:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 16:34:46 -0000 Received: (qmail 60912 invoked by uid 500); 1 Nov 2006 16:34:56 -0000 Delivered-To: aaron59@example.net Received: (qmail 60904 invoked by uid 500); 1 Nov 2006 16:34:56 -0000 Mailing-List: contact aaron59@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron59@example.net> List-Unsubscribe: <mailto:aaron59@example.net> List-Post: <mailto:aaron59@example.net> List-Id: <user.hivemind.apache.org> Reply-To: aaron59@example.net Delivered-To: mailing list aaron59@example.net Received: (qmail 60895 invoked by uid 99); 1 Nov 2006 16:34:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 08:34:56 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aaron59@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO py-out-1112.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 08:34:41 -0800 Received: by py-out-1112.google.com with SMTP id d32so66326pye for <aaron59@example.net>; Wed, 01 Nov 2006 08:34:21 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=S1efHt1XACa9cx5+d+z8SvjD9ds3NUmVBmgBr3e3m/uaPUJLQ7nWEb8z9gPgHECQytHwawKHK2Uc79p5T7CYa7g/bDv8EZDXYEgSEDgl6B8LNfLc5zClE6MMfVHC0+RTMgiIBZfWw+sG4Ds3zqtefqGjJYMz7cfspEl4QF4hWsU= Received: by 83.161.120.155 with SMTP id c1mr9153378pyl; Wed, 01 Nov 2006 08:24:20 -0800 (PST) Received: by 83.161.120.155 with HTTP; Wed, 1 Nov 2006 08:24:20 -0800 (PST) Message-ID: <aaron59@example.net> Date: Wed, 1 Nov 2006 17:24:20 +0100 From: "=?UTF-8?Q?Stefan_H=C3=BCbner?=" <aaron59@example.net> To: aaron59@example.net Subject: Re: maven2 plugin In-Reply-To: <aaron59@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <aaron59@example.net> <003e01c6a929$09e2ce50$6401a8c0@CARMANI9300> <aaron59@example.net> <aaron59@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Hi Ben, 2006/11/1, Ben Gidley <aaron59@example.net>: > It has been updated and is available from cvs on zebra.berlios.de. > unfortunately, I'm behind a firewall and can't get access to that CVS repository. would you mind zipping up the sources and update that patch you provided in http://issues.apache.org/jira/browse/HIVEMIND-164 ? Thanks for bothering, Stefan From useraaron59@example.net Wed Nov 01 16:50:14 2006 Return-Path: <useraaron59@example.net> Delivered-To: aaron59@example.net Received: (qmail 68592 invoked from network); 1 Nov 2006 16:50:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 16:50:14 -0000 Received: (qmail 83710 invoked by uid 500); 1 Nov 2006 16:50:24 -0000 Delivered-To: aaron59@example.net Received: (qmail 83700 invoked by uid 500); 1 Nov 2006 16:50:24 -0000 Mailing-List: contact aaron59@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron59@example.net> List-Unsubscribe: <mailto:aaron59@example.net> List-Post: <mailto:aaron59@example.net> List-Id: <user.hivemind.apache.org> Reply-To: aaron59@example.net Delivered-To: mailing list aaron59@example.net Received: (qmail 83691 invoked by uid 99); 1 Nov 2006 16:50:24 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 08:50:24 -0800 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aaron59@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wr-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 08:50:10 -0800 Received: by wr-out-0506.google.com with SMTP id i2so563998wra for <aaron59@example.net>; Wed, 01 Nov 2006 08:49:49 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=QZHvkJim+ChHQC1Cr47wTqOW1ykzvvnOXbat7Y8AJnZLJ5CqsLZHjzf8+1LB8uYWmCQv4RLkRBaS7178fmQ4JJHf1r0x2Dlj/g9M+UW5a9vFmSg5Qt66KA0/wBcmxiLidd3CYpqEGmCgnJEQTd6MyNoh62dNfWVZFZghKad/5lg= Received: by 83.161.120.155 with SMTP id o15mr9256340qbr; Wed, 01 Nov 2006 08:49:48 -0800 (PST) Received: by 83.161.120.155 with HTTP; Wed, 1 Nov 2006 08:49:48 -0800 (PST) Message-ID: <aaron59@example.net> Date: Wed, 1 Nov 2006 16:49:48 +0000 From: "Ben Gidley" <aaron59@example.net> Sender: aaron59@example.net To: aaron59@example.net Subject: Re: maven2 plugin In-Reply-To: <aaron59@example.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_30444_17469464.1162399788467" References: <aaron59@example.net> <003e01c6a929$09e2ce50$6401a8c0@CARMANI9300> <aaron59@example.net> <aaron59@example.net> <aaron59@example.net> X-Google-Sender-Auth: 5bd302d5263bf3fd X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_30444_17469464.1162399788467 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I have updated it, if you want it. There is still a glitch whereby in multiproject builds the report doesn't get generated on the site goal. BTW in doing this I have changed a bit of the original code, as it generate= s errors in some XML parsers. Ben On 11/1/06, Stefan H=FCbner <aaron59@example.net> wrote: > > Hi Ben, > > 2006/11/1, Ben Gidley <aaron59@example.net>: > > It has been updated and is available from cvs on zebra.berlios.de. > > > unfortunately, I'm behind a firewall and can't get access to that CVS > repository. would you mind zipping up the sources and update that > patch you provided in > http://issues.apache.org/jira/browse/HIVEMIND-164 ? > > Thanks for bothering, > Stefan > ------=_Part_30444_17469464.1162399788467 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I have updated it, if you want it.<br><br>There is still a glitch whereby i= n multiproject builds the report doesn't get generated on the site goal.<br= ><br>BTW in doing this I have changed a bit of the original code, as it gen= erates errors in some XML parsers. <br><br>Ben<br><br><div><span class=3D"gmail_quote">On 11/1/06, <b class=3D= "gmail_sendername">Stefan H=FCbner</b> &lt;<a href=3D"mailto:sthuebner@goog= lemail.com">aaron59@example.net</a>&gt; wrote:</span><blockquote class= =3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin= : 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hi Ben,<br><br>2006/11/1, Ben Gidley &lt;<a href=3D"mailto:aaron59@example.net= ">aaron59@example.net</a>&gt;:<br>&gt; It has been updated and is available fr= om cvs on <a href=3D"http://zebra.berlios.de">zebra.berlios.de</a>.<br>&gt; <br>unfortunately, I'm behind a firewall and can't get access to that CVS<b= r>repository. would you mind zipping up the sources and update that<br>patc= h you provided in<br><a href=3D"http://issues.apache.org/jira/browse/HIVEMI= ND-164"> http://issues.apache.org/jira/browse/HIVEMIND-164</a> ?<br><br>Thanks for b= othering,<br>Stefan<br></blockquote></div><br> ------=_Part_30444_17469464.1162399788467-- From useraaron59@example.net Wed Nov 01 17:25:18 2006 Return-Path: <useraaron59@example.net> Delivered-To: aaron59@example.net Received: (qmail 85204 invoked from network); 1 Nov 2006 17:25:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 17:25:18 -0000 Received: (qmail 54470 invoked by uid 500); 1 Nov 2006 17:25:29 -0000 Delivered-To: aaron59@example.net Received: (qmail 54456 invoked by uid 500); 1 Nov 2006 17:25:29 -0000 Mailing-List: contact aaron59@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron59@example.net> List-Unsubscribe: <mailto:aaron59@example.net> List-Post: <mailto:aaron59@example.net> List-Id: <user.hivemind.apache.org> Reply-To: aaron59@example.net Delivered-To: mailing list aaron59@example.net Received: (qmail 54447 invoked by uid 99); 1 Nov 2006 17:25:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 09:25:29 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aaron59@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO py-out-1112.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 09:25:15 -0800 Received: by py-out-1112.google.com with SMTP id d32so73730pye for <aaron59@example.net>; Wed, 01 Nov 2006 09:24:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nExQeiUxkA7BitMRLtDOh4+GwqjpNr2m7Am6+vwLLDolq0YdVVnI5ghcnjCZgHZ/F17lIIWsEc3hX1Yn5YUf5tiG21ZPlEtTVogBVoXnXt0hCYXXr2F9OvPhl1KeezfMohlMQJVV3JBpKt21T+u6TSEtk8Wr2wxz34OIm4iM7ZU= Received: by 83.161.120.155 with SMTP id j20mr9254839pyn; Wed, 01 Nov 2006 09:24:52 -0800 (PST) Received: by 83.161.120.155 with HTTP; Wed, 1 Nov 2006 09:24:52 -0800 (PST) Message-ID: <aaron59@example.net> Date: Wed, 1 Nov 2006 18:24:52 +0100 From: "=?UTF-8?Q?Stefan_H=C3=BCbner?=" <aaron59@example.net> To: aaron59@example.net Subject: Re: maven2 plugin In-Reply-To: <aaron59@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <aaron59@example.net> <003e01c6a929$09e2ce50$6401a8c0@CARMANI9300> <aaron59@example.net> <aaron59@example.net> <aaron59@example.net> <aaron59@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Thanks Ben, the current version works perfectly. Nice job! I experienced that, in order to get hivedocs for my own descriptors in a clean project I needed to run "mvn compile" before invocation of "mvn site". Probably, because of the plugin looking for modules only in the classpath. I would very much appreciate seeing this plugin in some public maven repository! Thanks again Stefan 2006/11/1, Ben Gidley <aaron59@example.net>: > I have updated it, if you want it. > > There is still a glitch whereby in multiproject builds the report doesn't > get generated on the site goal. > > BTW in doing this I have changed a bit of the original code, as it generates > errors in some XML parsers. > > Ben > From useraaron59@example.net Thu Nov 02 03:39:43 2006 Return-Path: <useraaron59@example.net> Delivered-To: aaron59@example.net Received: (qmail 94311 invoked from network); 2 Nov 2006 03:39:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 03:39:42 -0000 Received: (qmail 5907 invoked by uid 500); 2 Nov 2006 03:39:53 -0000 Delivered-To: aaron59@example.net Received: (qmail 5899 invoked by uid 500); 2 Nov 2006 03:39:53 -0000 Mailing-List: contact aaron59@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron59@example.net> List-Unsubscribe: <mailto:aaron59@example.net> List-Post: <mailto:aaron59@example.net> List-Id: <user.hivemind.apache.org> Reply-To: aaron59@example.net Delivered-To: mailing list aaron59@example.net Received: (qmail 5883 invoked by uid 99); 2 Nov 2006 03:39:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 19:39:53 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO st75.startlogic.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 01 Nov 2006 19:39:39 -0800 Received: (qmail 35065 invoked from network); 2 Nov 2006 03:37:11 -0000 Received: from unknown (HELO ?83.161.120.155?) (83.161.120.155) by st75.startlogic.com with SMTP; 2 Nov 2006 03:37:11 -0000 Message-ID: <aaron59@example.net> Date: Wed, 01 Nov 2006 20:40:59 -0700 From: "aaron59@example.net" <aaron59@example.net> User-Agent: Thunderbird 83.161.120.155 (Windows/20060909) MIME-Version: 1.0 To: aaron59@example.net Subject: Re: setting list parameters References: <aaron59@example.net> In-Reply-To: <aaron59@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org $25 Amazon Gift Certificate to the person that helps me solve this. I've got one right here. aaron59@example.net wrote: > I have a service that has method like "setMyCustomServices(List > services)" but I can't figure out how to set this in the hivemind > module descriptor. This is what I tried: > > <service-point id="SomeService" interface="SomeServiceInterface"> > <invoke-factory> > <construct class="SomeServiceImpl" > > <set-service property="myCustomServices"> > <list> > <service-id>service.MyCustomServiceX</service-id> > <service-id>service.MyCustomServiceY</service-id> > <service-id>service.MyCustomServiceZ</service-id> > </list> > </set-service> > </construct> > </invoke-factory> > </service-point> > > I looked at using configuration points, but that seems like more > complexity than is necessary. > > Anyone know the best way to do this? > > Thanks > > From useraaron59@example.net Thu Nov 02 07:40:58 2006 Return-Path: <useraaron59@example.net> Delivered-To: aaron59@example.net Received: (qmail 54466 invoked from network); 2 Nov 2006 07:40:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 07:40:58 -0000 Received: (qmail 57131 invoked by uid 500); 2 Nov 2006 07:41:08 -0000 Delivered-To: aaron59@example.net Received: (qmail 57110 invoked by uid 500); 2 Nov 2006 07:41:08 -0000 Mailing-List: contact aaron59@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron59@example.net> List-Unsubscribe: <mailto:aaron59@example.net> List-Post: <mailto:aaron59@example.net> List-Id: <user.hivemind.apache.org> Reply-To: aaron59@example.net Delivered-To: mailing list aaron59@example.net Received: (qmail 57099 invoked by uid 99); 2 Nov 2006 07:41:08 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 23:41:08 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aaron59@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nf-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 23:40:55 -0800 Received: by nf-out-0910.google.com with SMTP id l35so944516nfa for <aaron59@example.net>; Wed, 01 Nov 2006 23:40:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=H0LrVWZpCPTzoUi5ZD4rinkyEQXJfIY5BbBsGpGnRRysdw7R890wMepn0Ydt0It65UXyPOtdCw8TdEPnHqT/f1mL8ULQlPie03MJslgXpczWYda42vZ7OEeoPCpdzRB9eqCI8e8SSgoQBKftCgHlkRVw9CQ1YY+HaoedyojeUOo= Received: by 83.161.120.155 with SMTP id z6mr163102huc.1162453233779; Wed, 01 Nov 2006 23:40:33 -0800 (PST) Received: by 83.161.120.155 with HTTP; Wed, 1 Nov 2006 23:40:33 -0800 (PST) Message-ID: <aaron59@example.net> Date: Thu, 2 Nov 2006 09:40:33 +0200 From: "Knut Wannheden" <aaron59@example.net> To: aaron59@example.net Subject: Re: setting list parameters In-Reply-To: <aaron59@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <aaron59@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Ryan, Using a configuration point would probably be the most natural way to do this. But if you prefer there are other possibilities. But these would require you to write some Java code. One alternative would be to implement an object provider. With that (let's call it service-list) you'd set the property as follows: <set-object property="myCustomServices" value="service-list:service.MyCustomServiceX,service.MyCustomServiceY,service.MyCustomServiceZ"/> You contribute this object provider as a service to the configuration hivemind.ObjectProviders: <service-point id="ServiceListObjectProvider" interface="org.apache.hivemind.service.ObjectProvider" visibility="private"> <create-instance class="service.impl.ServiceListObjectProvider"/> </service-point> <contribution configuration-id="hivemind.ObjectProviders"> <provider prefix="service" service-id="ServiceListObjectProvider"/> </contribution> Now it's just a matter of implementing the ServiceListObjectProvider class which should be straight forward. This is all of course more work than a simple configuration. But if it's a common pattern in your code it might make sense. HTH, --knut BTW Don't worry about the gift certificate :-) On 10/31/06, aaron59@example.net <aaron59@example.net> wrote: > I have a service that has method like "setMyCustomServices(List > services)" but I can't figure out how to set this in the hivemind module > descriptor. This is what I tried: > > <service-point id="SomeService" interface="SomeServiceInterface"> > <invoke-factory> > <construct class="SomeServiceImpl" > > <set-service property="myCustomServices"> > <list> > <service-id>service.MyCustomServiceX</service-id> > <service-id>service.MyCustomServiceY</service-id> > <service-id>service.MyCustomServiceZ</service-id> > </list> > </set-service> > </construct> > </invoke-factory> > </service-point> > > I looked at using configuration points, but that seems like more > complexity than is necessary. > > Anyone know the best way to do this? > > Thanks > From useraaron59@example.net Thu Nov 02 08:15:17 2006 Return-Path: <useraaron59@example.net> Delivered-To: aaron59@example.net Received: (qmail 62723 invoked from network); 2 Nov 2006 08:15:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 08:15:17 -0000 Received: (qmail 88670 invoked by uid 500); 2 Nov 2006 08:15:28 -0000 Delivered-To: aaron59@example.net Received: (qmail 88659 invoked by uid 500); 2 Nov 2006 08:15:28 -0000 Mailing-List: contact aaron59@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron59@example.net> List-Unsubscribe: <mailto:aaron59@example.net> List-Post: <mailto:aaron59@example.net> List-Id: <user.hivemind.apache.org> Reply-To: aaron59@example.net Delivered-To: mailing list aaron59@example.net Received: (qmail 88650 invoked by uid 99); 2 Nov 2006 08:15:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 00:15:28 -0800 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aaron59@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nz-out-0102.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 00:15:15 -0800 Received: by nz-out-0102.google.com with SMTP id f1so45734nzc for <aaron59@example.net>; Thu, 02 Nov 2006 00:14:55 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=Aq+blcoDXwKYuOUCSCQq0TiKcO3mv9u70NopSbgygxGqxtlfRcHuszKm//yhH8TXcHgRXLcAsZIi+zRvb8TyHIdoQh4vNRA9ArSSdCxDIyugEPNB39GJ1Cv5zYt6yXoT3kV3Sbku3UoKqmbOj8OK8kdk3DNUkhcqqeryzBLylJ4= Received: by 83.161.120.155 with SMTP id v8mr306834qbd.1162455295117; Thu, 02 Nov 2006 00:14:55 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 2 Nov 2006 00:14:55 -0800 (PST) Message-ID: <aaron59@example.net> Date: Thu, 2 Nov 2006 08:14:55 +0000 From: "Ben Gidley" <aaron59@example.net> Sender: aaron59@example.net To: aaron59@example.net Subject: Re: maven2 plugin In-Reply-To: <aaron59@example.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2059_19320757.1162455295077" References: <aaron59@example.net> <003e01c6a929$09e2ce50$6401a8c0@CARMANI9300> <aaron59@example.net> <aaron59@example.net> <aaron59@example.net> <aaron59@example.net> <aaron59@example.net> X-Google-Sender-Auth: 041f14f1b1c54bb7 X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_2059_19320757.1162455295077 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline James - I know you are a commiter - are you interested in having Hivedoc as a maven 2 plugin? On 11/1/06, Stefan H=FCbner <aaron59@example.net> wrote: > > Thanks Ben, the current version works perfectly. Nice job! > > I experienced that, in order to get hivedocs for my own descriptors in > a clean project I needed to run "mvn compile" before invocation of > "mvn site". Probably, because of the plugin looking for modules only > in the classpath. > > I would very much appreciate seeing this plugin in some public maven > repository! > > Thanks again > Stefan > > 2006/11/1, Ben Gidley <aaron59@example.net>: > > I have updated it, if you want it. > > > > There is still a glitch whereby in multiproject builds the report > doesn't > > get generated on the site goal. > > > > BTW in doing this I have changed a bit of the original code, as it > generates > > errors in some XML parsers. > > > > Ben > > > ------=_Part_2059_19320757.1162455295077 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline James - I know you are a commiter - are you interested in having Hivedoc as= a maven 2 plugin?<br><br><div><span class=3D"gmail_quote">On 11/1/06, <b c= lass=3D"gmail_sendername">Stefan H=FCbner</b> &lt;<a href=3D"mailto:sthuebn= aaron59@example.net"> aaron59@example.net</a>&gt; wrote:</span><blockquote class=3D"gmail_qu= ote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0p= t 0.8ex; padding-left: 1ex;">Thanks Ben, the current version works perfectl= y. Nice job! <br><br>I experienced that, in order to get hivedocs for my own descriptors= in<br>a clean project I needed to run &quot;mvn compile&quot; before invoc= ation of<br>&quot;mvn site&quot;. Probably, because of the plugin looking f= or modules only <br>in the classpath.<br><br>I would very much appreciate seeing this plugi= n in some public maven repository!<br><br>Thanks again<br>Stefan<br><br>200= 6/11/1, Ben Gidley &lt;<a href=3D"mailto:aaron59@example.net">aaron59@example.net </a>&gt;:<br>&gt; I have updated it, if you want it.<br>&gt;<br>&gt; There = is still a glitch whereby in multiproject builds the report doesn't<br>&gt;= get generated on the site goal.<br>&gt;<br>&gt; BTW in doing this I have c= hanged a bit of the original code, as it generates <br>&gt; errors in some XML parsers.<br>&gt;<br>&gt; Ben<br>&gt;<br></block= quote></div><br> ------=_Part_2059_19320757.1162455295077-- From useraaron59@example.net Thu Nov 02 11:10:23 2006 Return-Path: <useraaron59@example.net> Delivered-To: aaron59@example.net Received: (qmail 23814 invoked from network); 2 Nov 2006 11:10:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 11:10:23 -0000 Received: (qmail 98782 invoked by uid 500); 2 Nov 2006 11:10:33 -0000 Delivered-To: aaron59@example.net Received: (qmail 98767 invoked by uid 500); 2 Nov 2006 11:10:33 -0000 Mailing-List: contact aaron59@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron59@example.net> List-Unsubscribe: <mailto:aaron59@example.net> List-Post: <mailto:aaron59@example.net> List-Id: <user.hivemind.apache.org> Reply-To: aaron59@example.net Delivered-To: mailing list aaron59@example.net Received: (qmail 98753 invoked by uid 99); 2 Nov 2006 11:10:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 03:10:32 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aaron59@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nz-out-0102.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 03:10:17 -0800 Received: by nz-out-0102.google.com with SMTP id f1so70597nzc for <aaron59@example.net>; Thu, 02 Nov 2006 03:09:54 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=s2A9h8C5yKvu921Ul9gQrlZx8ugPq3KZwrr/7w0qIsj0t3e6iYkFk6a0NU9JiClndMFCM1dUH7dnQvaPMWRpO/QpnxMJj2ap6q5P5ny7fqoI/FUXrXTBdIXbJ+yKbtUAoCG3/1gPykNeMzN9LQBepJ059a9FwQhrgt/9G21vRNU= Received: by 83.161.120.155 with SMTP id w1mr488474qbq.1162465794178; Thu, 02 Nov 2006 03:09:54 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 2 Nov 2006 03:09:54 -0800 (PST) Message-ID: <aaron59@example.net> Date: Thu, 2 Nov 2006 06:09:54 -0500 From: "James Carman" <aaron59@example.net> Sender: aaron59@example.net To: aaron59@example.net Subject: Re: maven2 plugin In-Reply-To: <aaron59@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <aaron59@example.net> <003e01c6a929$09e2ce50$6401a8c0@CARMANI9300> <aaron59@example.net> <aaron59@example.net> <aaron59@example.net> <aaron59@example.net> <aaron59@example.net> <aaron59@example.net> X-Google-Sender-Auth: e553ec32e636cc15 X-Virus-Checked: Checked by ClamAV on apache.org Sure. What we should probably do is make this a subproject. We'll have to put it to a vote before the HiveMind PMC to see if they approve also. On 11/2/06, Ben Gidley <aaron59@example.net> wrote: > James - I know you are a commiter - are you interested in having Hivedoc = as > a maven 2 plugin? > > On 11/1/06, Stefan H=FCbner < aaron59@example.net> wrote: > > Thanks Ben, the current version works perfectly. Nice job! > > > > I experienced that, in order to get hivedocs for my own descriptors in > > a clean project I needed to run "mvn compile" before invocation of > > "mvn site". Probably, because of the plugin looking for modules only > > in the classpath. > > > > I would very much appreciate seeing this plugin in some public maven > repository! > > > > Thanks again > > Stefan > > > > 2006/11/1, Ben Gidley <aaron59@example.net >: > > > I have updated it, if you want it. > > > > > > There is still a glitch whereby in multiproject builds the report > doesn't > > > get generated on the site goal. > > > > > > BTW in doing this I have changed a bit of the original code, as it > generates > > > errors in some XML parsers. > > > > > > Ben > > > > > > > From useraaron59@example.net Thu Nov 02 14:43:00 2006 Return-Path: <useraaron59@example.net> Delivered-To: aaron59@example.net Received: (qmail 891 invoked from network); 2 Nov 2006 14:42:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 14:42:59 -0000 Received: (qmail 21201 invoked by uid 500); 2 Nov 2006 14:43:09 -0000 Delivered-To: aaron59@example.net Received: (qmail 21178 invoked by uid 500); 2 Nov 2006 14:43:09 -0000 Mailing-List: contact aaron59@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron59@example.net> List-Unsubscribe: <mailto:aaron59@example.net> List-Post: <mailto:aaron59@example.net> List-Id: <user.hivemind.apache.org> Reply-To: aaron59@example.net Delivered-To: mailing list aaron59@example.net Received: (qmail 21168 invoked by uid 99); 2 Nov 2006 14:43:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 06:43:09 -0800 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=PLING_QUERY,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aaron59@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO talk.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 06:42:53 -0800 Received: from [83.161.120.155] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1Gfdm4-0003w3-Sv for aaron59@example.net; Thu, 02 Nov 2006 06:42:32 -0800 Message-ID: <aaron59@example.net> Date: Thu, 2 Nov 2006 06:42:32 -0800 (PST) From: spot_ <aaron59@example.net> To: aaron59@example.net Subject: Singleton is no singleton!? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: aaron59@example.net X-Virus-Checked: Checked by ClamAV on apache.org Hi I want to make use of the dependendy injection feature of hivemind. My application needs to have two services: public interface ServiceInterface1 {... public interface ServiceInterface2 {... that are both implemented in one service implementation class: public class ServiceImpl implements ServiceInterface1, ServiceInterface2 {... My hivemind.xml looks like this: <service-point id="service1" interface="ServiceInterface1"/> <service-point id="service2" interface="ServiceInterface1"/> <implementation service-id="service1"> <invoke-factory model="singleton"> <construct class="ServiceImpl"/> </invoke-factory> </implementation> <implementation service-id="service2"> <invoke-factory model="singleton"> <construct class="ServiceImpl"/> </invoke-factory> </implementation> The class that wants to make use of the service has the following constructor: public class ServiceConsumer { private ServiceInterface1 service1; private ServiceInterface2 service2; public ServiceConsumer(ServiceInterface1 service1, ServiceInterface2 service2) { this.service1 = service1; this.service2 = service2; ... That looks strange for the first moment, but I need that for design purpose. My expectation is, that both parameters ('service1' and 'service2') that are injected into the constructor are the same instances of 'ServiceImpl', because this is defined as singleton. But it is not! I get 2 different 'ServiceImpl' instances... in my opinion that should be impossible for a singleton implementation! Did I miss something? Do you have a solution? Thanks for any help. Regards Christoph. By the way, changing the 'model' attribute to 'primitive' does not fix the problem! -- View this message in context: http://www.nabble.com/Singleton-is-no-singleton%21--tf2560168.html#a7134820 Sent from the Hivemind - User mailing list aaron59@example.net. From useraaron59@example.net Thu Nov 02 14:47:06 2006 Return-Path: <useraaron59@example.net> Delivered-To: aaron59@example.net Received: (qmail 2424 invoked from network); 2 Nov 2006 14:47:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 14:47:06 -0000 Received: (qmail 38325 invoked by uid 500); 2 Nov 2006 14:47:16 -0000 Delivered-To: aaron59@example.net Received: (qmail 38315 invoked by uid 500); 2 Nov 2006 14:47:16 -0000 Mailing-List: contact aaron59@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron59@example.net> List-Unsubscribe: <mailto:aaron59@example.net> List-Post: <mailto:aaron59@example.net> List-Id: <user.hivemind.apache.org> Reply-To: aaron59@example.net Delivered-To: mailing list aaron59@example.net Received: (qmail 38306 invoked by uid 99); 2 Nov 2006 14:47:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 06:47:16 -0800 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,PLING_QUERY,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aaron59@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wr-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 06:47:00 -0800 Received: by wr-out-0506.google.com with SMTP id i2so6524wra for <aaron59@example.net>; Thu, 02 Nov 2006 06:46:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=poE4r7wwGKjGU3jJ+pGDRQ0vZDwIRuAuVJscSQpa1ti5BJ9dTYlrDSwS2UXvvDU4CJXGF/5IMMpfrm4OPJwdHPyG7JYfdJ9yT3ueLOOTjylyqjOELshSHYsiTJRqC1q8u7yryDmLLPfYHTBm2bEpUrDgzGHAAx3zOpInIs9Xt7s= Received: by 83.161.120.155 with SMTP id q13mr860984qbj.1162478798117; Thu, 02 Nov 2006 06:46:38 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 2 Nov 2006 06:46:38 -0800 (PST) Message-ID: <aaron59@example.net> Date: Thu, 2 Nov 2006 09:46:38 -0500 From: "James Carman" <aaron59@example.net> Sender: aaron59@example.net To: aaron59@example.net Subject: Re: Singleton is no singleton!? In-Reply-To: <aaron59@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <aaron59@example.net> X-Google-Sender-Auth: 31b231597bf53296 X-Virus-Checked: Checked by ClamAV on apache.org The singleton part only applies to that particular service point. The service point will only have exactly one instance instantiated for its implementation. Since you have two service points using exactly the same implementation class, it will be instantiated twice. On 11/2/06, spot_ <aaron59@example.net> wrote: > > Hi > > I want to make use of the dependendy injection feature of hivemind. My > application needs to have two services: > > public interface ServiceInterface1 {... > > public interface ServiceInterface2 {... > > that are both implemented in one service implementation class: > > public class ServiceImpl implements ServiceInterface1, ServiceInterface2 > {... > > My hivemind.xml looks like this: > > <service-point id="service1" interface="ServiceInterface1"/> > <service-point id="service2" interface="ServiceInterface1"/> > > <implementation service-id="service1"> > <invoke-factory model="singleton"> > <construct class="ServiceImpl"/> > </invoke-factory> > </implementation> > <implementation service-id="service2"> > <invoke-factory model="singleton"> > <construct class="ServiceImpl"/> > </invoke-factory> > </implementation> > > The class that wants to make use of the service has the following > constructor: > > public class ServiceConsumer { > private ServiceInterface1 service1; > private ServiceInterface2 service2; > > public ServiceConsumer(ServiceInterface1 service1, ServiceInterface2 > service2) { > this.service1 = service1; > this.service2 = service2; > ... > > That looks strange for the first moment, but I need that for design purpose. > My expectation is, that both parameters ('service1' and 'service2') that are > injected into the constructor are the same instances of 'ServiceImpl', > because this is defined as singleton. But it is not! I get 2 different > 'ServiceImpl' instances... in my opinion that should be impossible for a > singleton implementation! > > Did I miss something? Do you have a solution? > > Thanks for any help. > Regards > Christoph. > > By the way, changing the 'model' attribute to 'primitive' does not fix the > problem! > -- > View this message in context: http://www.nabble.com/Singleton-is-no-singleton%21--tf2560168.html#a7134820 > Sent from the Hivemind - User mailing list aaron59@example.net. > > From useraaron59@example.net Mon Nov 06 23:31:33 2006 Return-Path: <useraaron59@example.net> Delivered-To: aaron59@example.net Received: (qmail 16305 invoked from network); 6 Nov 2006 23:31:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Nov 2006 23:31:32 -0000 Received: (qmail 10433 invoked by uid 500); 6 Nov 2006 23:31:43 -0000 Delivered-To: aaron59@example.net Received: (qmail 10424 invoked by uid 500); 6 Nov 2006 23:31:43 -0000 Mailing-List: contact aaron59@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron59@example.net> List-Unsubscribe: <mailto:aaron59@example.net> List-Post: <mailto:aaron59@example.net> List-Id: <user.hivemind.apache.org> Reply-To: aaron59@example.net Delivered-To: mailing list aaron59@example.net Received: (qmail 10415 invoked by uid 99); 6 Nov 2006 23:31:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 15:31:43 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aaron59@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 15:31:29 -0800 Received: by ug-out-1314.google.com with SMTP id t39so1057841ugd for <aaron59@example.net>; Mon, 06 Nov 2006 15:31:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=rP9i6ChsT80tMgyoRzjC1tXMXo2hLby0bof+QcaPbWbflE2qfkLWfEpYIMo3nvGTHnRWRgR8N1J4S2SlgbwSrB6Bz3BnF6SWiIIheNAplbBWRUTVGqVw9xEXU8UIhEqHy+Ji/DcyHtgYKD3ufk+1VLUZdYsWhNO69C5m8kPbA+Q= Received: by 83.161.120.155 with SMTP id z2mr8177376ugi.1162855863045; Mon, 06 Nov 2006 15:31:03 -0800 (PST) Received: by 83.161.120.155 with HTTP; Mon, 6 Nov 2006 15:31:02 -0800 (PST) Message-ID: <aaron59@example.net> Date: Tue, 7 Nov 2006 00:31:02 +0100 From: "Simon Willnauer" <aaron59@example.net> Reply-To: aaron59@example.net To: aaron59@example.net Subject: Hivemind best practice MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hello Hiveminds, I do have a servlet which forwards the reqeusts to a specific handler which implements a simple interface with one method "public void handleRequest(request, response)" The actual implementation is accessed via a Factory definded as a hivemind service. The servlet gets the registry via the HivemindFilter and requests the HandlerFactory. The Factory has several methodes for each specific handler getHandlerX getHandlerY ... I configured the handler using a org.apache.hivemind.lib.BeanFactory but this approach does not work because I need some other service to be injected to the handler. the BeanFactory does not support any injection as it creates plain beans by invoking the constructor eg. some reflection methodes. I'm actually looking for a nice approach to achive that goal. I would appreciate any ideas / help. best regards simon From useraaron59@example.net Tue Nov 07 13:39:59 2006 Return-Path: <useraaron59@example.net> Delivered-To: aaron59@example.net Received: (qmail 79081 invoked from network); 7 Nov 2006 13:39:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Nov 2006 13:39:57 -0000 Received: (qmail 97955 invoked by uid 500); 7 Nov 2006 13:40:03 -0000 Delivered-To: aaron59@example.net Received: (qmail 97912 invoked by uid 500); 7 Nov 2006 13:40:03 -0000 Mailing-List: contact aaron59@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron59@example.net> List-Unsubscribe: <mailto:aaron59@example.net> List-Post: <mailto:aaron59@example.net> List-Id: <user.hivemind.apache.org> Reply-To: aaron59@example.net Delivered-To: mailing list aaron59@example.net Received: (qmail 97886 invoked by uid 99); 7 Nov 2006 13:40:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Nov 2006 05:40:03 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aaron59@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail.gmx.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 07 Nov 2006 05:39:49 -0800 Received: (qmail invoked by alias); 07 Nov 2006 13:39:27 -0000 Received: from unknown (EHLO [83.161.120.155]) [83.161.120.155] by mail.gmx.net (mp038) with SMTP; 07 Nov 2006 14:39:27 +0100 X-Authenticated: #18751065 Message-ID: <aaron59@example.net> Date: Tue, 07 Nov 2006 14:44:22 +0100 From: =?UTF-8?B?QWNoaW0gSMO8Z2Vu?= <aaron59@example.net> User-Agent: Thunderbird 83.161.120.155 (Windows/20060909) MIME-Version: 1.0 To: aaron59@example.net Subject: Re: Hivemind best practice References: <aaron59@example.net> In-Reply-To: <aaron59@example.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org Do the getHandlerX methods create new instances on each call? Achim Simon Willnauer schrieb: > Hello Hiveminds, > I do have a servlet which forwards the reqeusts to a specific handler > which implements a simple interface with one method "public void > handleRequest(request, response)" > The actual implementation is accessed via a Factory definded as a > hivemind service. The servlet gets the registry via the HivemindFilter > and requests the HandlerFactory. The Factory has several methodes for > each specific handler getHandlerX getHandlerY ... > I configured the handler using a org.apache.hivemind.lib.BeanFactory > but this approach does not work because I need some other service to > be injected to the handler. the BeanFactory does not support any > injection as it creates plain beans by invoking the constructor eg. > some reflection methodes. > > I'm actually looking for a nice approach to achive that goal. I would > appreciate any ideas / help. > > best regards simon > > From useraaron59@example.net Tue Nov 07 14:18:07 2006 Return-Path: <useraaron59@example.net> Delivered-To: aaron59@example.net Received: (qmail 92070 invoked from network); 7 Nov 2006 14:17:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Nov 2006 14:17:56 -0000 Received: (qmail 86174 invoked by uid 500); 7 Nov 2006 14:18:06 -0000 Delivered-To: aaron59@example.net Received: (qmail 86164 invoked by uid 500); 7 Nov 2006 14:18:06 -0000 Mailing-List: contact aaron59@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron59@example.net> List-Unsubscribe: <mailto:aaron59@example.net> List-Post: <mailto:aaron59@example.net> List-Id: <user.hivemind.apache.org> Reply-To: aaron59@example.net Delivered-To: mailing list aaron59@example.net Received: (qmail 86155 invoked by uid 99); 7 Nov 2006 14:18:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Nov 2006 06:18:06 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aaron59@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Nov 2006 06:17:52 -0800 Received: by ug-out-1314.google.com with SMTP id t39so1229990ugd for <aaron59@example.net>; Tue, 07 Nov 2006 06:17:31 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=N8hMS0xWRu/GokmZthqM+m0xZZmV/rNivPOzV6261oioe16ZqlYYc/t1786mEFJPV3UZUcg6DFrEOcdkKfkVNgc2bJv2kjiRVuYvodNHIHUWZW91WzTp2Dcos8lnPG3OaSiYh/EToiwpx24OBVsZC/tXDggtcW5wr1w1s8ndZ4E= Received: by 83.161.120.155 with SMTP id w13mr9167767ugm.1162909050285; Tue, 07 Nov 2006 06:17:30 -0800 (PST) Received: by 83.161.120.155 with HTTP; Tue, 7 Nov 2006 06:17:29 -0800 (PST) Message-ID: <aaron59@example.net> Date: Tue, 7 Nov 2006 15:17:29 +0100 From: "Simon Willnauer" <aaron59@example.net> Reply-To: aaron59@example.net To: aaron59@example.net Subject: Re: Hivemind best practice In-Reply-To: <aaron59@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 Content-Disposition: inline References: <aaron59@example.net> <aaron59@example.net> X-Virus-Checked: Checked by ClamAV on apache.org WWVzIQoKc2ltb24KCk9uIDExLzcvMDYsIEFjaGltIEjDvGdlbiA8YWNoaW0uaHVlZ2VuQGdteC5k ZT4gd3JvdGU6Cj4gRG8gdGhlIGdldEhhbmRsZXJYIG1ldGhvZHMgY3JlYXRlIG5ldyBpbnN0YW5j ZXMgb24gZWFjaCBjYWxsPwo+Cj4gQWNoaW0KPgo+IFNpbW9uIFdpbGxuYXVlciBzY2hyaWViOgo+ ID4gSGVsbG8gSGl2ZW1pbmRzLAo+ID4gSSBkbyBoYXZlIGEgc2VydmxldCB3aGljaCBmb3J3YXJk cyB0aGUgcmVxZXVzdHMgdG8gYSBzcGVjaWZpYyBoYW5kbGVyCj4gPiB3aGljaCBpbXBsZW1lbnRz IGEgc2ltcGxlIGludGVyZmFjZSB3aXRoIG9uZSBtZXRob2QgInB1YmxpYyB2b2lkCj4gPiBoYW5k bGVSZXF1ZXN0KHJlcXVlc3QsIHJlc3BvbnNlKSIKPiA+IFRoZSBhY3R1YWwgaW1wbGVtZW50YXRp b24gaXMgYWNjZXNzZWQgdmlhIGEgRmFjdG9yeSBkZWZpbmRlZCBhcyBhCj4gPiBoaXZlbWluZCBz ZXJ2aWNlLiBUaGUgc2VydmxldCBnZXRzIHRoZSByZWdpc3RyeSB2aWEgdGhlIEhpdmVtaW5kRmls dGVyCj4gPiBhbmQgcmVxdWVzdHMgdGhlIEhhbmRsZXJGYWN0b3J5LiBUaGUgRmFjdG9yeSBoYXMg c2V2ZXJhbCBtZXRob2RlcyBmb3IKPiA+IGVhY2ggc3BlY2lmaWMgaGFuZGxlciBnZXRIYW5kbGVy WCBnZXRIYW5kbGVyWSAuLi4KPiA+IEkgY29uZmlndXJlZCB0aGUgaGFuZGxlciB1c2luZyBhIG9y Zy5hcGFjaGUuaGl2ZW1pbmQubGliLkJlYW5GYWN0b3J5Cj4gPiBidXQgdGhpcyBhcHByb2FjaCBk b2VzIG5vdCB3b3JrIGJlY2F1c2UgSSBuZWVkIHNvbWUgb3RoZXIgc2VydmljZSB0bwo+ID4gYmUg aW5qZWN0ZWQgdG8gdGhlIGhhbmRsZXIuIHRoZSBCZWFuRmFjdG9yeSBkb2VzIG5vdCBzdXBwb3J0 IGFueQo+ID4gaW5qZWN0aW9uIGFzIGl0IGNyZWF0ZXMgcGxhaW4gYmVhbnMgYnkgaW52b2tpbmcg dGhlIGNvbnN0cnVjdG9yIGVnLgo+ID4gc29tZSByZWZsZWN0aW9uIG1ldGhvZGVzLgo+ID4KPiA+ IEknbSBhY3R1YWxseSBsb29raW5nIGZvciBhIG5pY2UgYXBwcm9hY2ggdG8gYWNoaXZlIHRoYXQg Z29hbC4gSSB3b3VsZAo+ID4gYXBwcmVjaWF0ZSBhbnkgaWRlYXMgLyBoZWxwLgo+ID4KPiA+IGJl c3QgcmVnYXJkcyBzaW1vbgo+ID4KPiA+Cj4KPgo= From useraaron59@example.net Tue Nov 07 14:27:59 2006 Return-Path: <useraaron59@example.net> Delivered-To: aaron59@example.net Received: (qmail 737 invoked from network); 7 Nov 2006 14:27:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Nov 2006 14:27:59 -0000 Received: (qmail 5804 invoked by uid 500); 7 Nov 2006 14:28:10 -0000 Delivered-To: aaron59@example.net Received: (qmail 5566 invoked by uid 500); 7 Nov 2006 14:28:09 -0000 Mailing-List: contact aaron59@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron59@example.net> List-Unsubscribe: <mailto:aaron59@example.net> List-Post: <mailto:aaron59@example.net> List-Id: <user.hivemind.apache.org> Reply-To: aaron59@example.net Delivered-To: mailing list aaron59@example.net Received: (qmail 5557 invoked by uid 99); 7 Nov 2006 14:28:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Nov 2006 06:28:09 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aaron59@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wr-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Nov 2006 06:27:56 -0800 Received: by wr-out-0506.google.com with SMTP id i2so247661wra for <aaron59@example.net>; Tue, 07 Nov 2006 06:27:35 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Ez9btljHj1Rl+3RdLf8Pg2Rj0mVEIPPp2SMSc9lH6mdPm/rjkEOUARAXagvOmadTUM3EfztzBb9g/q4Vx2LutR+3hWZ6uvlt+WHKfn32TFhiqY0N7QLrFP1MdPGm5xhT6i0I6AC0RV2DqaBdFJT1NjuEF4P4yTtM1AOUl/pAq2A= Received: by 83.161.120.155 with SMTP id w16mr7833922qbq.1162909655142; Tue, 07 Nov 2006 06:27:35 -0800 (PST) Received: by 83.161.120.155 with HTTP; Tue, 7 Nov 2006 06:27:34 -0800 (PST) Message-ID: <aaron59@example.net> Date: Tue, 7 Nov 2006 09:27:34 -0500 From: "James Carman" <aaron59@example.net> Sender: aaron59@example.net To: aaron59@example.net, aaron59@example.net Subject: Re: Hivemind best practice In-Reply-To: <aaron59@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <aaron59@example.net> <aaron59@example.net> <aaron59@example.net> X-Google-Sender-Auth: 3e6ec8276eb7084c X-Virus-Checked: Checked by ClamAV on apache.org You might want to create a configuration point to "register" your handler objects with the HandlerFactory (and give them an id or name). On 11/7/06, Simon Willnauer <aaron59@example.net> wrote: > Yes! > > simon > > On 11/7/06, Achim H=FCgen <aaron59@example.net> wrote: > > Do the getHandlerX methods create new instances on each call? > > > > Achim > > > > Simon Willnauer schrieb: > > > Hello Hiveminds, > > > I do have a servlet which forwards the reqeusts to a specific handler > > > which implements a simple interface with one method "public void > > > handleRequest(request, response)" > > > The actual implementation is accessed via a Factory definded as a > > > hivemind service. The servlet gets the registry via the HivemindFilte= r > > > and requests the HandlerFactory. The Factory has several methodes for > > > each specific handler getHandlerX getHandlerY ... > > > I configured the handler using a org.apache.hivemind.lib.BeanFactory > > > but this approach does not work because I need some other service to > > > be injected to the handler. the BeanFactory does not support any > > > injection as it creates plain beans by invoking the constructor eg. > > > some reflection methodes. > > > > > > I'm actually looking for a nice approach to achive that goal. I would > > > appreciate any ideas / help. > > > > > > best regards simon > > > > > > > > > > > From useraaron59@example.net Wed Nov 15 06:49:14 2006 Return-Path: <useraaron59@example.net> Delivered-To: aaron59@example.net Received: (qmail 16710 invoked from network); 15 Nov 2006 06:49:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 15 Nov 2006 06:49:13 -0000 Received: (qmail 92134 invoked by uid 500); 15 Nov 2006 06:49:23 -0000 Delivered-To: aaron59@example.net Received: (qmail 92125 invoked by uid 500); 15 Nov 2006 06:49:23 -0000 Mailing-List: contact aaron59@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron59@example.net> List-Unsubscribe: <mailto:aaron59@example.net> List-Post: <mailto:aaron59@example.net> List-Id: <user.hivemind.apache.org> Reply-To: aaron59@example.net Delivered-To: mailing list aaron59@example.net Received: (qmail 92108 invoked by uid 99); 15 Nov 2006 06:49:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Nov 2006 22:49:23 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aaron59@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO talk.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Nov 2006 22:49:09 -0800 Received: from [83.161.120.155] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GkEZk-0006MI-GP for aaron59@example.net; Tue, 14 Nov 2006 22:48:48 -0800 Message-ID: <aaron59@example.net> Date: Tue, 14 Nov 2006 22:48:48 -0800 (PST) From: xVik <aaron59@example.net> To: aaron59@example.net Subject: how much getService coast? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: aaron59@example.net X-Virus-Checked: Checked by ClamAV on apache.org how much getService(..) coast and does hivemind cashes these calls i mean should i cashe by myself service getter: private ISomeInterface someservice; public ISomeInterface getSomeservice(){ if (someservice==null) someservice=registry.getService(ISomeInterface.class); return someservice; } or its redundant and hivemind do these work for me? and the other question: these is web application so on each request i have to perform registry.setupThread(); and object with service getter stored in session.. so "cashed" service instance would be old one So im askng is it bad for threaded environment (and i should somehow clean my "cash" to perform getService on each request) or its ok and all be fine -- View this message in context: http://www.nabble.com/how-much-getService-coast--tf2634343.html#a7352824 Sent from the Hivemind - User mailing list aaron59@example.net. From useraaron59@example.net Thu Nov 16 20:42:04 2006 Return-Path: <useraaron59@example.net> Delivered-To: aaron59@example.net Received: (qmail 60977 invoked from network); 16 Nov 2006 20:42:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 16 Nov 2006 20:42:04 -0000 Received: (qmail 94583 invoked by uid 500); 16 Nov 2006 20:42:14 -0000 Delivered-To: aaron59@example.net Received: (qmail 94570 invoked by uid 500); 16 Nov 2006 20:42:13 -0000 Mailing-List: contact aaron59@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron59@example.net> List-Unsubscribe: <mailto:aaron59@example.net> List-Post: <mailto:aaron59@example.net> List-Id: <user.hivemind.apache.org> Reply-To: aaron59@example.net Delivered-To: mailing list aaron59@example.net Received: (qmail 94561 invoked by uid 99); 16 Nov 2006 20:42:13 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Nov 2006 12:42:13 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aaron59@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail.gmx.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 16 Nov 2006 12:41:58 -0800 Received: (qmail invoked by alias); 16 Nov 2006 20:41:36 -0000 Received: from xdsl-574-683-6629.netcologne.de (EHLO mail.gmx.de) [83.161.120.155] by mail.gmx.net (mp017) with SMTP; 16 Nov 2006 21:41:36 +0100 X-Authenticated: #18751065 To: aaron59@example.net Subject: Re: how much getService coast? References: <aaron59@example.net> Message-ID: <aaron59@example.net> Date: Thu, 16 Nov 2006 21:41:48 +0100 From: =?iso-8859-15?Q?Achim_H=FCgen?= <aaron59@example.net> Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: <aaron59@example.net> User-Agent: Opera M2/8.50 (Win32, build 7700) X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org Hi, > > how much getService(..) coast and does hivemind cashes these calls > i mean should i cashe by myself service getter: > > private ISomeInterface someservice; > > public ISomeInterface getSomeservice(){ > if (someservice==null) > someservice=registry.getService(ISomeInterface.class); > return someservice; > } > > or its redundant and hivemind do these work for me? A getService is pretty cheap, it's just a lookup in a map. > > and the other question: > these is web application so on each request i have to perform > registry.setupThread(); > and object with service getter stored in session.. so "cashed" service > instance would be old one > > So im askng is it bad for threaded environment (and i should somehow > clean > my "cash" to perform getService on each request) or its ok and all be > fine > I don't expect any problems with the cached service instances. Your objects are referencing proxies only which handle thread related issues in the case of a pooled or threaded service model. Achim From useraaron59@example.net Fri Nov 17 05:10:07 2006 Return-Path: <useraaron59@example.net> Delivered-To: aaron59@example.net Received: (qmail 84249 invoked from network); 17 Nov 2006 05:10:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 17 Nov 2006 05:10:06 -0000 Received: (qmail 26224 invoked by uid 500); 17 Nov 2006 05:10:15 -0000 Delivered-To: aaron59@example.net Received: (qmail 25990 invoked by uid 500); 17 Nov 2006 05:10:14 -0000 Mailing-List: contact aaron59@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron59@example.net> List-Unsubscribe: <mailto:aaron59@example.net> List-Post: <mailto:aaron59@example.net> List-Id: <user.hivemind.apache.org> Reply-To: aaron59@example.net Delivered-To: mailing list aaron59@example.net Received: (qmail 25981 invoked by uid 99); 17 Nov 2006 05:10:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Nov 2006 21:10:14 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aaron59@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO talk.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Nov 2006 21:10:00 -0800 Received: from [83.161.120.155] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1Gkvyu-0005Zl-G2 for aaron59@example.net; Thu, 16 Nov 2006 21:09:40 -0800 Message-ID: <aaron59@example.net> Date: Thu, 16 Nov 2006 21:09:40 -0800 (PST) From: xVik <aaron59@example.net> To: aaron59@example.net Subject: Re: how much getService coast? In-Reply-To: <aaron59@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: aaron59@example.net References: <aaron59@example.net> <aaron59@example.net> X-Virus-Checked: Checked by ClamAV on apache.org thanks for comment :) Achim H=C3=BCgen wrote: >=20 > Hi, >=20 >> >> how much getService(..) coast and does hivemind cashes these calls >> i mean should i cashe by myself service getter: >> >> private ISomeInterface someservice; >> >> public ISomeInterface getSomeservice(){ >> if (someservice=3D=3Dnull) >> someservice=3Dregistry.getService(ISomeInterface.class); >> return someservice; >> } >> >> or its redundant and hivemind do these work for me? >=20 > A getService is pretty cheap, it's just a lookup in a map. >=20 >> >> and the other question: >> these is web application so on each request i have to perform >> registry.setupThread(); >> and object with service getter stored in session.. so "cashed" service >> instance would be old one >> >> So im askng is it bad for threaded environment (and i should somehow =20 >> clean >> my "cash" to perform getService on each request) or its ok and all be = =20 >> fine >> >=20 > I don't expect any problems with the cached service instances. > Your objects are referencing proxies only which handle thread related > issues in the case of a pooled or threaded service model. >=20 > Achim >=20 >=20 >=20 >=20 >=20 >=20 --=20 View this message in context: http://www.nabble.com/how-much-getService-cos= t--tf2634343.html#a7393972 Sent from the Hivemind - User mailing list aaron59@example.net. From useraaron59@example.net Sun Nov 26 19:34:54 2006 Return-Path: <useraaron59@example.net> Delivered-To: aaron59@example.net Received: (qmail 61787 invoked from network); 26 Nov 2006 19:34:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 26 Nov 2006 19:34:54 -0000 Received: (qmail 74121 invoked by uid 500); 26 Nov 2006 19:35:02 -0000 Delivered-To: aaron59@example.net Received: (qmail 74105 invoked by uid 500); 26 Nov 2006 19:35:02 -0000 Mailing-List: contact aaron59@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:aaron59@example.net> List-Unsubscribe: <mailto:aaron59@example.net> List-Post: <mailto:aaron59@example.net> List-Id: <user.hivemind.apache.org> Reply-To: aaron59@example.net Delivered-To: mailing list aaron59@example.net Received: (qmail 74096 invoked by uid 99); 26 Nov 2006 19:35:02 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Nov 2006 11:35:02 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO stanczakgroup.com)
{'source': 'Apache Software Foundation Public Mail Archives'}