This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Properties
- To: Matt Welsh <mdw AT cs.berkeley dot edu>
- Subject: Re: Properties
- From: Warren Levy <warrenl AT cygnus dot com>
- Date: Mon, 13 Sep 1999 14:37:54 -0700 (PDT)
- cc: Anthony Green <green AT cygnus dot com>, java-discuss AT sourceware.cygnus dot com
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