On Mon, 20 May 2019 at 14:58, Gary Gregory <garydgreg...@gmail.com> wrote:
>
> On Mon, May 20, 2019 at 9:16 AM Gilles Sadowski <gillese...@gmail.com>
> wrote:
>
> > Le lun. 20 mai 2019 à 14:51, Gary Gregory <garydgreg...@gmail.com> a
> > écrit :
> > >
> > > Hi All:
> > >
> > > Right now, if you uses an 'include' in a properties file and that file is
> > > missing, the rest of the file does not load.
> >
> > IMHO, it seems like a bug.
> >
> > If the contents is required, failure should occur because of that
> > (later, according to code logic), not because the file is missing.
> >
> > > I'd like to add a 'includesoptional' where nothing happens if the file is
> > > missing.
> > >
> > > Any objections or thoughts on a better name?
> >
> > includeifexist
> > (?)
> >
>
> Maybe; with includeoptional, I was imitating
> https://httpd.apache.org/docs/2.4/mod/core.html#includeoptional

I find includeoptional marginally easier to read.
And it avoids having to remember if the spelling is includeifexist or
includeifexists

But I agree with Gilles that it seems like a bug if a missing include
does not throw an error.

> Gary
>
>
> >
> > Gilles
> >
> > >
> > > Gary
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> > For additional commands, e-mail: dev-h...@commons.apache.org
> >
> >

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to