Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 2863 invoked from network); 14 Jul 2008 07:49:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jul 2008 07:49:27 -0000 Received: (qmail 39718 invoked by uid 500); 14 Jul 2008 07:49:26 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 39684 invoked by uid 500); 14 Jul 2008 07:49:26 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 39673 invoked by uid 99); 14 Jul 2008 07:49:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 00:49:26 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of donald.brown@gmail.com designates 216.239.58.188 as permitted sender) Received: from [216.239.58.188] (HELO gv-out-0910.google.com) (216.239.58.188) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 07:48:34 +0000 Received: by gv-out-0910.google.com with SMTP id c6so768349gvd.25 for ; Mon, 14 Jul 2008 00:48:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=bNJofn2HT7SK0RMFpVn9wEjxjd//5D6IKyIBt/7GdeY=; b=vxAbN6ry1qIwaVamm+zV9IsNcvK3BN8d3OsEwt4tlzFtZGDRtMA7yKEdjfkLXGc1m+ YRcib1g1w1fQNfiv+PG/nB+Vbn2LJKXyBG33FMhbfu0vZJgsW4Iyt9kcrscHlW/2fec8 NNmW468xQWZ+Vx8Tm3r7qsIV2tK6pVAz10ur8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=wEGg2sW2Oh55G5KbJAj5lr4lxFAI9McaptoZQpket6mJconcsg/V4VY5jgUAFReilT fgF/Xvokrj0TAeKOeUeCWKT/bMeiBqK7AOKo2inIlwfadvVWg/LEdWhNomZ8sq0tGliV zvA4I0xijtckz+VYS/1gDSEtT9GBrRIk17T8g= Received: by 10.103.246.17 with SMTP id y17mr7583452mur.55.1216021736941; Mon, 14 Jul 2008 00:48:56 -0700 (PDT) Received: by 10.103.22.17 with HTTP; Mon, 14 Jul 2008 00:48:56 -0700 (PDT) Message-ID: <1c661f2f0807140048x5a3fffeci94362ca3a7faeb43@mail.gmail.com> Date: Mon, 14 Jul 2008 17:48:56 +1000 From: "Don Brown" To: "Struts Developers List" Subject: Re: [s2] Struts 2 OSGi Plugin In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <436d9a250707290742i4d4aaa67ibbd991f4140591eb@mail.gmail.com> <436d9a250707291702p6ee3b0ake72cc85ea47ba6c4@mail.gmail.com> <18415829.post@talk.nabble.com> <1c661f2f0807112351n6eef6ebduba97439c80009658@mail.gmail.com> <18435680.post@talk.nabble.com> <436d9a250807132245l25ac3e54vfeeea4283ae289b@mail.gmail.com> <1c661f2f0807140035g213d17a6kccc86f114c86282@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Well, at least in my experience so far, for libraries, it is usually enough to take the default manifest, if there is a version of the jar available that has one, but for frameworks, you may want to customize exactly what packages are depended upon and, more importantly, what dependencies are bundled in the jar. For example, for the Struts 2 bundle, I wanted XWork, OGNL, Freemarker, and several Struts 2 plugins in the bundle, so I ended up constructing my own bundle with its own OSGi headers. Freemarker just wasn't working, for whatever reason, when deployed as its own bundle, and packaging the rest of the deps into the struts bundle made deployment a lot easier. I've found if you can reduce the number of bundles you deploy, the less complicated your life will become. That said, adding OSGi manifest entries to your library would certainly be appreciated. Don On Mon, Jul 14, 2008 at 5:42 PM, Antonio Petrelli wrote: > 2008/7/14 Don Brown : >> Actually, that bit isn't a problem - we could bundle the tiles jars in >> the struts 2 tiles plugin and generate the manifest for both >> automatically. > > Sorry for the dumb question, but does "bundling" mean "decompress and > recompress together"? IMHO it's easier to add a bunch of lines in the > manifest of Tiles jars than decompressing and recompressing jars. > I suppose it's not difficult, so probably it could be added in Tiles > 2.0.7 (the latest version is 2.0.6). > > Antonio > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org > For additional commands, e-mail: dev-help@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org