Jason van Zyl wrote:
>
> "Geir Magnusson Jr." wrote:
> >
> > > I confess I do not sympathize with the number suffixes - more editing work
> > > changing the order of a group of properties (ok... some keystrokes more!).
> >
> > Ok. The main advantage is that we don't prevent anyone from using a
> > Properties, Hashtable, Hashmap, Treemap, etc... to hold this stuff. It
> > keeps them unique, and in a easy pattern to parse.
>
> We don't prevent anyone from using anything to configure their
> apps. You can use whatever you want, you just have to adjust it
> to use Runtime.setProperty(). If you want to use a HashMap, or
> Properties that's fine. Do your own processing and use Runtime.setProperty().
Yes. I like the setProperty(). Agreed!
Now, how do I store the two properties
resource.loader = file
resource.loader = classpath
in a Hashtable, Hashmap or Properties?
geir
> >
> >
> > Given the good idea of eliminating the 'integer in the middle' that
> > keeps the loader properties distinct, having them at the end when you
> > mean 'multiple-valued property' is a nice and easy way to do it.
>
> How do you propose we add multiple resource paths using the
> Runtime.setProperty() or Runtime.addProperty()?
>
> >
> >
> > geir
> >
> > --
> > Geir Magnusson Jr. [EMAIL PROTECTED]
> > Developing for the web? See http://jakarta.apache.org/velocity/
>
> --
> jvz.
>
> Jason van Zyl
> [EMAIL PROTECTED]
>
> http://jakarta.apache.org/velocity
> http://jakarta.apache.org/turbine
--
Geir Magnusson Jr. [EMAIL PROTECTED]
Developing for the web? See http://jakarta.apache.org/velocity/