From user-return-15214-apmail-geronimo-user-archive=geronimo.apache.org@geronimo.apache.org Tue Dec 14 09:00:21 2010 Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 42111 invoked from network); 14 Dec 2010 09:00:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Dec 2010 09:00:21 -0000 Received: (qmail 18768 invoked by uid 500); 14 Dec 2010 09:00:21 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 18624 invoked by uid 500); 14 Dec 2010 09:00:18 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 18617 invoked by uid 99); 14 Dec 2010 09:00:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Dec 2010 09:00:17 +0000 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of hanhongfang@gmail.com designates 209.85.216.54 as permitted sender) Received: from [209.85.216.54] (HELO mail-qw0-f54.google.com) (209.85.216.54) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Dec 2010 09:00:11 +0000 Received: by qwj9 with SMTP id 9so486502qwj.13 for ; Tue, 14 Dec 2010 00:59:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=gI4IDCIhtGj50M60ALCp1MuRKyDonFttmKgnuwM3KB4=; b=dG2bBiANNNWVm122/8OczxgnoLZYry2b+1bUvDIxCgEiUcfe/9rjanffRn32IOOGaF s4mLUolOxIgaB1beSyj1UoFDM3htaIjh2bl3ZTi+TD8KfDLMhYYOuMqjQiKGqtB9I5x4 o0modxurd0nXGUc/rDK5w6Fbtfj0Quoi9hSYU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Ur1UIAIQMDgAOfcFODvgkj0SvUcYEtGN7sJOBoq3SzsSDZsrDA4PJoraG3LIQizUfn rDRm43KD9n9V6PdCcW6cq9V66oLjMm2waogSf5oD2orbZih0m+oKB4kQ39RSrmoTs1Q4 zvyRaGeoK3RfugQlkquAAajKZGOYhV31UVAqs= MIME-Version: 1.0 Received: by 10.224.54.134 with SMTP id q6mr4885684qag.393.1292317189430; Tue, 14 Dec 2010 00:59:49 -0800 (PST) Received: by 10.224.45.149 with HTTP; Tue, 14 Dec 2010 00:59:49 -0800 (PST) In-Reply-To: <4D072A22.2050004@guh-software.de> References: <4D05E21E.6070809@guh-software.de> <4D0619ED.4040001@guh-software.de> <4D063357.7040503@guh-software.de> <4D072A22.2050004@guh-software.de> Date: Tue, 14 Dec 2010 16:59:49 +0800 Message-ID: Subject: Re: NullPointerException when publishing with Geronimo Eclipse Plugin v2.1.7 From: han hongfang To: user@geronimo.apache.org Content-Type: multipart/alternative; boundary=0015175cdfb6035cf604975b0b95 X-Virus-Checked: Checked by ClamAV on apache.org --0015175cdfb6035cf604975b0b95 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Dec 14, 2010 at 4:26 PM, Martin Hejl wrote: > Hi Janet, > > thank you for creating the JIRAs. > > > For Utility project, the solution is >> 1. In SampleUtility project, export the project into a jar, e.g., >> SampleUtility.jar >> 2. In SampleEAR project, create a lib folder under EarContent folder, >> and then copy SampleUtility.jar into lib folder >> 3. In SampleEJB project, add SampleUtility.jar as external JARs in >> Libraries tab of java build path panel >> With above changes, the SampleEAR project can be published successfully >> in eclipse. >> > is that a workaround, or the proposed solution? > Yeah, this should be a workaround before https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-690 is fixed. > > Replacing a Utility Project with a static jar sounds very much like the > discussion brought up in > > http://apache-geronimo.328035.n3.nabble.com/Eclipse-Utility-Projects-with-2-1-2-td339278.html > and > https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-513 > > I guess my question is - has support for Utility Projects been dropped with > 2.1.7 (since it it's packaged as a static jar, one could just use a plain > old Java project as well)? > I don't see the intention to drop the support for Utility Project in 2.1.7. There should be a bug somewhere broken this function. For statis jar, I agree plain old java project is enough. > > Best regards, > Martin > -- Best regards, Han Hong Fang (Janet) hanhongfang AT apache.org --0015175cdfb6035cf604975b0b95 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Tue, Dec 14, 2010 at 4:26 PM, Martin Hejl <martin.he= jl@guh-software.de> wrote:
Hi Janet,

thank you for c= reating the JIRAs.=20


For Utility project, the solutio= n is
1. In SampleUtility project, export the project into a jar, e.g., SampleUtility.jar
2. In SampleEAR project, create a lib folder under Ear= Content folder,
and then copy SampleUtility.jar into lib folder
3. In= SampleEJB project, add SampleUtility.jar as external JARs in
Libraries = tab of java build path panel
With above changes, the SampleEAR project can be published successfully
= in eclipse.
is that a workaround, or the proposed sol= ution?
=A0
Yeah, this should be a workaround before https://issues.apache.org/jira/br= owse/GERONIMODEVTOOLS-690=A0is fixed.
=A0

Replacing a Utility Project = with a static jar sounds very much like the discussion brought up in
http://apache-geronimo.328035= .n3.nabble.com/Eclipse-Utility-Projects-with-2-1-2-td339278.html
and
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS= -513

I guess my question is - has support for Utility Projects b= een dropped with 2.1.7 (since it it's packaged as a static jar, one cou= ld just use a plain old Java project as well)?
=A0
I don't see the intention to drop the support for Utility Project = in 2.1.7. There=A0should be a bug somewhere broken this function. For stati= s jar, I agree plain old java project is enough.
=A0

Best regards,
Martin



= --
Best regards,

Han Hong Fang (Janet)
hanhongfang=A0AT apac= he.org
=A0

--0015175cdfb6035cf604975b0b95--