users@glassfish.java.net

Putting a configuraiton file on classpath

From: Jürgen Link <juergen.link_at_freenet.de>
Date: Mon, 11 Jan 2010 10:32:01 +0100

Hi all,
we are using spring framework where it's convenient to inject
environment-specific properties via classpath.
We are thus facing the challenge to put a simple text file on the system
classpath (putting them inside an ear of course is easy, but not
feasible for system-dependent properties).
I tried to place it in domain/lid directory, but that's obviously not
enough. What is the preferred way of specifiying such a file?

Cheers
Jürgen