--
You received this message because you are subscribed to the Google Groups "bazel-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-dev+unsubscribe@googlegroups.com.
To post to this group, send email to baze...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-dev/718a9b72-f10e-46ac-8ed5-bbdecec69839%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-dev/CALS-RZKNOdCMsCpb4ue%3DW%2BK1BM%3DK%2B5vJNQtmOjVF3YAz0yk4zg%40mail.gmail.com.
Please note that we have a newer implementation of SingleJar written in C++, which is used everywhere except on Windows (but will be used there, once #2241 is fixed):https://github.com/bazelbuild/bazel/tree/master/src/tools/singlejarCould you add the feature there, too?On Thu, Jul 27, 2017 at 12:01 PM, 'Ulf Adams' via bazel-dev <baze...@googlegroups.com> wrote:
Well, it's unfortunate that we have to parse a bunch of disparate formats to support jar merging, but I don't really see any other option, unless Spring Boots wants to migrate to the META-INF/services/ 'standard' format?
On Thu, Jul 27, 2017 at 2:29 AM, <ben.n...@gmail.com> wrote:
Spring Boot loads a number of factories (primarily, auto-configuration classes) from META-INF/spring.factories. Currently, that file doesn't get merged when building a deployment jar, so Spring Boot apps built with Bazel won't start up. Currently, DefaultJarEntryFilter has cases for other Spring configuration files, so I think Spring Boot support is reasonable.I'd like to add a SpringFactoriesStrategy custom merge strategy that would parse the spring.factories property files and merge them all together. The format is just a properties file where keys are the factory interface class and values are comma-separated classes implementing the interface. I think I've seen other libraries use the same format, so maybe it could be generalized beyond Spring.Any objections or thoughts? I can do some prototyping and submit a PR :)
--
You received this message because you are subscribed to the Google Groups "bazel-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-dev+...@googlegroups.com.
To post to this group, send email to baze...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-dev/718a9b72-f10e-46ac-8ed5-bbdecec69839%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "bazel-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-dev/CALS-RZKNOdCMsCpb4ue%3DW%2BK1BM%3DK%2B5vJNQtmOjVF3YAz0yk4zg%40mail.gmail.com.
--Google Germany GmbH
Erika-Mann-Straße 33
80636 München
Geschäftsführer: Matthew Scott Sucherman, Paul Terrence Manicle
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
--
You received this message because you are subscribed to a topic in the Google Groups "bazel-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bazel-dev/lOMq99O68d4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bazel-dev+...@googlegroups.com.
To post to this group, send email to baze...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-dev/CA%2BAhZogS%3Dg51qJOxrGxaWkiv7JHDe5Bgtiy2nUd9yCW%3DfrxcfQ%40mail.gmail.com.
Yeah, I can give it a shot. Offhand, do you know if bazel has any C++ utilities for properties file parsing?
--
You received this message because you are subscribed to a topic in the Google Groups "bazel-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bazel-dev/lOMq99O68d4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bazel-dev+...@googlegroups.com.
To post to this group, send email to baze...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-dev/750b6c0a-4ae5-4dcc-a094-23135a2ac699%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "bazel-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bazel-dev/lOMq99O68d4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bazel-dev+...@googlegroups.com.
To post to this group, send email to baze...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-dev/5298ee0f-8709-42ad-9e86-7a3a25b68156%40googlegroups.com.