This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Properties


On Mon, 13 Sep 1999, Matt Welsh wrote:

> > The trick with 3 is to come up with some standard variable names.
> > Unfortunately, you can't use `.' in environment variables on some
> > systems.  What to do?  Replace them with `_' so, maybe, GCJ_java_home
> > maps to java.home?
> 
> How about a single env var which has the format
> 
> 	property.name=value property.name=value ...
> 
> so we can avoid cluttering the env var namespace? Call it GCJ_PROPERTIES.

I like this.  Besides keeping things simple & avoiding clutter it has the 
advantage of using the most natural style of specifying the properties,
e.g. java.home instead things with '_', prefixes, etc.

One minor note:  should the property/value pairs have some kind of 
separator other than a ' '?

Warren Levy
Cygnus Solutions, Sunnyvale, CA  USA

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]