You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by Mike Beckerle <mb...@apache.org> on 2024/03/09 19:59:44 UTC
M.services vs META-INF/services directories
Does anyone know why Daffodil searches for the files that advertise SPI
services for layers, charsets, and validators under resources/M.services
instead of the standard resources/META-INF/services directory, as is used
by the UDF SPI services?
The code base doesn't contain the string "M.services" as far as I can tell.
My new layer stuff only works for the layers built into Daffodil if the
services file is under M.services, but for a separate layer project I have
that is defined outside of daffodil, the services file needs to be under
META-INF/services or it is not found.
Google searching for SPI info suggests "M.services" would have to be
configured somehow, but I cannot find any such configuration.
Mike Beckerle
Apache Daffodil PMC | daffodil.apache.org
OGF DFDL Workgroup Co-Chair | www.ogf.org/ogf/doku.php/standards/dfdl/dfdl
Owl Cyber Defense | www.owlcyberdefense.com
Re: M.services vs META-INF/services directories
Posted by Mike Beckerle <mb...@apache.org>.
Egad.
Yes, that is it.
On Sat, Mar 9, 2024 at 5:11 PM Steve Lawrence <sl...@apache.org> wrote:
> Could this be some kind of IDE display thing, like it's shortening
> META-INF/services to M.services in a display to save a few characters, but
> behind the scenes it's still META-INF/services?
>
> On 2024-03-09 02:59 PM, Mike Beckerle wrote:
> > Does anyone know why Daffodil searches for the files that advertise SPI
> > services for layers, charsets, and validators under resources/M.services
> > instead of the standard resources/META-INF/services directory, as is used
> > by the UDF SPI services?
> >
> > The code base doesn't contain the string "M.services" as far as I can
> tell.
> >
> > My new layer stuff only works for the layers built into Daffodil if the
> > services file is under M.services, but for a separate layer project I
> have
> > that is defined outside of daffodil, the services file needs to be under
> > META-INF/services or it is not found.
> >
> > Google searching for SPI info suggests "M.services" would have to be
> > configured somehow, but I cannot find any such configuration.
> >
> > Mike Beckerle
> > Apache Daffodil PMC | daffodil.apache.org
> > OGF DFDL Workgroup Co-Chair |
> www.ogf.org/ogf/doku.php/standards/dfdl/dfdl
> > Owl Cyber Defense | www.owlcyberdefense.com
> >
>
>
Re: M.services vs META-INF/services directories
Posted by Steve Lawrence <sl...@apache.org>.
Could this be some kind of IDE display thing, like it's shortening
META-INF/services to M.services in a display to save a few characters, but
behind the scenes it's still META-INF/services?
On 2024-03-09 02:59 PM, Mike Beckerle wrote:
> Does anyone know why Daffodil searches for the files that advertise SPI
> services for layers, charsets, and validators under resources/M.services
> instead of the standard resources/META-INF/services directory, as is used
> by the UDF SPI services?
>
> The code base doesn't contain the string "M.services" as far as I can tell.
>
> My new layer stuff only works for the layers built into Daffodil if the
> services file is under M.services, but for a separate layer project I have
> that is defined outside of daffodil, the services file needs to be under
> META-INF/services or it is not found.
>
> Google searching for SPI info suggests "M.services" would have to be
> configured somehow, but I cannot find any such configuration.
>
> Mike Beckerle
> Apache Daffodil PMC | daffodil.apache.org
> OGF DFDL Workgroup Co-Chair | www.ogf.org/ogf/doku.php/standards/dfdl/dfdl
> Owl Cyber Defense | www.owlcyberdefense.com
>