Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 19265 invoked from network); 4 Jul 2006 15:38:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Jul 2006 15:38:01 -0000 Received: (qmail 18992 invoked by uid 500); 4 Jul 2006 15:37:58 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 18956 invoked by uid 500); 4 Jul 2006 15:37:58 -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 18945 invoked by uid 99); 4 Jul 2006 15:37:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jul 2006 08:37:58 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=HTML_MESSAGE,NO_REAL_NAME,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [193.109.254.3] (HELO mail19.messagelabs.com) (193.109.254.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 04 Jul 2006 08:37:57 -0700 X-VirusChecked: Checked X-Env-Sender: paul.newport@targetgroup.net X-Msg-Ref: server-5.tower-19.messagelabs.com!1152027454!37608382!1 X-StarScan-Version: 5.5.10.7; banners=targetgroup.net,-,- X-Originating-IP: [62.190.46.15] Received: (qmail 31788 invoked from network); 4 Jul 2006 15:37:34 -0000 Received: from unknown (HELO pc03.targetgroup.net) (62.190.46.15) by server-5.tower-19.messagelabs.com with SMTP; 4 Jul 2006 15:37:34 -0000 Received: from domino4 (DOMINO4) by pc03.targetgroup.net (Clearswift SMTPRS 5.2.5) with ESMTP id for ; Tue, 4 Jul 2006 16:24:13 +0100 In-Reply-To: <4690875E336998438DF43A78B8E38CF2E4F67E@BLRKECMSG01.ad.infosys.com> To: user@geronimo.apache.org Subject: Re: how to access a properties file in geronimo MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.1 January 21, 2004 Message-ID: From: paul.newport@targetgroup.net Date: Tue, 4 Jul 2006 16:37:38 +0100 X-MIMETrack: Serialize by Router on DOMINO4/CARDIFF/TARGET(Release 6.5.1|January 21, 2004) at 07/04/2006 04:35:00 PM, Serialize complete at 07/04/2006 04:35:00 PM Content-Type: multipart/alternative; boundary="=_alternative 0055D816802571A1_=" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multipart message in MIME format. --=_alternative 0055D816802571A1_= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit See here: http://www.mail-archive.com/user@geronimo.apache.org/msg03535.html so, to add in a properties file that must be in the root of a jar file, stick this in your deployment plan example/properties/1.1/jar and stick this is in your geronimo repository: ..........repository/example/jars/testproperties-1.1.jar where testproperties-1.1.jar is a jar that contains your properties file. This is for 1.0. Same idea for 1.1 but the dir structure has changes, see here: http://www.mail-archive.com/user%40geronimo.apache.org/msg03795.html Target www.targetgroup.net ********************************************************************** DISCLAIMER. This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient you must not copy, distribute or take any action or reliance upon it. The content of this message may also contain personal views of an employee of this company and does not necessarily represent the view of the company. ********************************************************************** This message has been scanned by Norton Anti-Virus. It has also been scanned by MAILsweeper to enforce our e-mail policy. If you have any concerns or comments about the content of this message, please e-mail support@targetgroup.net. ********************************************************************** _____________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com --=_alternative 0055D816802571A1_= Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit
See here:

http://www.mail-archive.com/user@geronimo.apache.org/msg03535.html

so, to add in a properties file that must be in the root of a jar file, stick this in your deployment plan

  <dependency>
      <uri>example/properties/1.1/jar</uri>
    </dependency>

and stick this is in your geronimo repository:

..........repository/example/jars/testproperties-1.1.jar

where testproperties-1.1.jar is a jar that contains your properties file.

This is for 1.0.

Same idea for 1.1 but the dir structure has changes, see here:

http://www.mail-archive.com/user%40geronimo.apache.org/msg03795.html



Target

www.targetgroup.net

**********************************************************************

DISCLAIMER.

This message is intended only for the use of the Addressee and may

contain information that is PRIVILEGED and CONFIDENTIAL.

If you are not the intended recipient you must not copy,

distribute or take any action or reliance upon it.

The content of this message may also contain personal

views of an employee of this company and does

not necessarily represent the view of the company.

**********************************************************************

This message has been scanned by Norton Anti-Virus.

It has also been scanned by MAILsweeper to enforce our e-mail

policy. If you have any concerns or comments about the content

of this message, please e-mail support@targetgroup.net.

**********************************************************************


_____________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
--=_alternative 0055D816802571A1_=--