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.54) id 1F2SCk-0002cM-Oy for garchives@archives.gentoo.org; Fri, 27 Jan 2006 11:55:51 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k0RBs6YA004952; Fri, 27 Jan 2006 11:54:06 GMT Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.202]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k0RBs5YZ020912 for ; Fri, 27 Jan 2006 11:54:06 GMT Received: by zproxy.gmail.com with SMTP id z31so580674nzd for ; Fri, 27 Jan 2006 03:55:17 -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:references; b=bRSP6M+EEJ6dQw7LRnwiwXf2HbBGeoPINUqC7d5qCvN8t95LPsAT8YidjB0WagD+NCGVxFckHAaaWsxv0z5vxskTfLhB3MXEZw/9tbu0Y0N0NHjEBQ7YJ2sNvAuxAYV/UcaSEQuhKE903LhZxoUy6aCDxU6FvFcp6abf59A88Xk= Received: by 10.64.180.17 with SMTP id c17mr166755qbf; Fri, 27 Jan 2006 03:55:17 -0800 (PST) Received: by 10.64.201.11 with HTTP; Fri, 27 Jan 2006 03:55:17 -0800 (PST) Message-ID: <306bf010601270355o901310ei@mail.gmail.com> Date: Fri, 27 Jan 2006 12:55:17 +0100 From: Jose Gonzalez Gomez To: gentoo-java@lists.gentoo.org Subject: Fwd: [gentoo-java] webapp-config & Java In-Reply-To: <306bf010601270354i6be394cct@mail.gmail.com> 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/alternative; boundary="----=_Part_533_25594040.1138362917295" References: <20060125205026.GF4249@toucan.gentoo.org> <306bf010601260130w7c2740f4o@mail.gmail.com> <20060126205422.GI4249@toucan.gentoo.org> <43D94573.6070500@gentoo.org> <1138324764.29596.28.camel@procyon.operationaldynamics.com> <306bf010601270354i6be394cct@mail.gmail.com> X-Archives-Salt: 7a6382fa-2114-4a8c-9b3c-ffa1c5520b3a X-Archives-Hash: f2b26fbe19ab86a4167d5f26cb40f1a2 ------=_Part_533_25594040.1138362917295 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline ---------- Forwarded message ---------- From: Jose Gonzalez Gomez Date: 27-ene-2006 12:54 Subject: Re: [gentoo-java] webapp-config & Java To: Andrew Cowie 2006/1/27, Andrew Cowie : > > On Thu, 2006-26-01 at 16:56 -0500, Joshua Nichols wrote: > > > Following the spirit of not using bundled jars for building, this leads > > me to think that it would be better to explode the wars, and replace th= e > > > jars contained within with symlinks to the jars on the system. > > Note that some app-servers can't/won't deal with an exploded war/ear. > I think this issue has more to do with solving the issues with java builds based in ant or maven than finding bundled jars... currently almost every Java package out there is built using either ant or maven (please, some Jav= a Gentoo developer correct me if I'm wrong). In the case of maven, jar dependencies are not bundled with source files, they are specified as dependencies in the project descriptors. In the case of web applications, those dependencies are downloaded from binary repositories, and bundled in the WEB-INF/lib directory of the war file at build time. The obvious solution (don't know if easy to implement, I remember some discussion here regarding this) is to intercept in some way the maven dependency resolution mechanism and instead of downloading binary jars, take jars from the java packages already installed by Gentoo. In case you still want to go the explode/replace way, as Andrew tells, you won't be able to use symlinks, as some app-servers can't deal with exploded archives. You should replace those jars with jars present on the system, an= d then repackage and deploy the archive. I see this more unnatural than the previous solution, although maybe easier to do. Best regads Jose Arghh... hadn't this list activated the reply-to-list option some time ago?= ? ------=_Part_533_25594040.1138362917295 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline ---------- Forwarded message ----------
From= : Jose Gonzalez Gomez <jgonzalez.openinput@gmail.com>
= Date: 27-ene-2006 12:54
Subject: Re: [gentoo-java] webapp-config & Java
To: Andrew Cowie= <andrew@operationaldy= namics.com>

2006/1/27, Andrew Cowie < andrew@operationaldynamics.com>:
On Thu, 2006-26-01 at 16:56 -0500, Joshua Nichols wrote:

> Follow= ing the spirit of not using bundled jars for building, this leads
> m= e to think that it would be better to explode the wars, and replace the
> jars contained within with symlinks to the jars on the system.
=
Note that some app-servers can't/won't deal with an exploded war/ear.

I think this issue has more to do with solv= ing the issues with java builds based in ant or maven than finding bundled = jars... currently almost every Java package out there is built using either= ant or maven (please, some Java Gentoo developer correct me if I'm wrong).= In the case of maven, jar dependencies are not bundled with source files, = they are specified as dependencies in the project descriptors. In the case = of web applications, those dependencies are downloaded from binary reposito= ries, and bundled in the WEB-INF/lib directory of the war file at build tim= e. The obvious solution (don't know if easy to implement, I remember some d= iscussion here regarding this) is to intercept in some way the maven depend= ency resolution mechanism and instead of downloading binary jars, take jars= from the java packages already installed by Gentoo.=20

In case you still want to go the explode/replace way, as Andrew tel= ls, you won't be able to use symlinks, as some app-servers can't deal with = exploded archives. You should replace those jars with jars present on the s= ystem, and then repackage and deploy the archive. I see this more unnatural= than the previous solution, although maybe easier to do.

Best regads
Jose

Arghh... hadn't this = list activated the reply-to-list option some time ago??
------=_Part_533_25594040.1138362917295-- -- gentoo-java@gentoo.org mailing list