geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paul.newp...@targetgroup.net
Subject Re: how to access a properties file in geronimo
Date Tue, 04 Jul 2006 15:37:38 GMT
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
Mime
View raw message