Hi Gunnar,
I skimmed your post briefly and will read it in detail later -- though I
wonder
whether my over 4 years old SO question is answered as a side-effect by
your findings.
https://stackoverflow.com/questions/44167502/how-to-configure-resourcebundle-no-fallback-control-in-java-9
Cheers,
Hi all,
I've written a quick blog post about my experiences with
ResourceBundleProvider et al.:
https://www.morling.dev/blog/resource-bundle-lookups-in-modular-java-applications/
The scenario I'm describing is that of a "well-structured monolith", with
each module contributing its own
On 7/23/21 4:17 AM, Gunnar Morling wrote:
Thanks a lot for your replies, Mandy and Alan!
> I assume the class path is running on JDK <= 8, right? Otherwise
Is there something missing after "Otherwise"?
It was a typo (I should have taken it out).
In fact, I'm looking for a way to run
On 23/07/2021 18:23, Gunnar Morling wrote:
:
Yes, I'm quite sure, unless I'm doing something really stupid :)
Here's the steps for reproducing:
git clone g...@github.com:gunnarmorling/resource-bundle-test.git
git checkout split-package
cd resource-bundle-test
mvn clean install
jar -tf
> Are you sure this always puts
dev/morling/greeter/fr/GreetingMessages_de.properties into
> resourceloading-test-german-1.0-SNAPSHOT.jar? I'm quite sure the JAR file
above doesn't
> have the fr resource but the JAR file in your previous mail seems to
include it.
Yes, I'm quite sure, unless I'm
On 23/07/2021 16:58, Gunnar Morling wrote:
:
Yes, there is such resource which I had created for demo purposes (see
the jar -tf output above):
dev/morling/greeter/fr/GreetingMessages_de.properties
Here's the output you requested:
jar --describe-module --file
Am Fr., 23. Juli 2021 um 15:05 Uhr schrieb Alan Bateman <
alan.bate...@oracle.com>:
> On 23/07/2021 12:17, Gunnar Morling wrote:
> > :
> >
> > > For the migration scenario where the resources are in .properties
> > format then the simplest may be to just deploy the JAR files on the
> > module
On 23/07/2021 12:17, Gunnar Morling wrote:
:
> For the migration scenario where the resources are in .properties
format then the simplest may be to just deploy the JAR files on the
module path where they will be treated as automatic modules.
In the scenario I have in mind (for educational
Thanks a lot for your replies, Mandy and Alan!
> I assume the class path is running on JDK <= 8, right? Otherwise
Is there something missing after "Otherwise"? In fact, I'm looking for a
way to run this
- Java 1.8 on classpath
- Java 9+ on classpath
- Java 9+ on module path
As I've learned by
On 22/07/2021 23:30, Mandy Chung wrote:
I assume the class path is running on JDK <= 8, right? Otherwise
This is a reasonable approach for the resource bundles to load from
both class path and module path when the resource bundles of a given
name is packaged in multiple modules/JARs.
We
On 7/22/21 12:23 PM, Gunnar Morling wrote:
Hi all,
I'm trying to figure out how a modular application should handle
cross-module resource bundle look-ups, supporting running on both the
module path and the class path. At a first look, resource bundle semantics
in the two modes are at odds
Hi all,
I'm trying to figure out how a modular application should handle
cross-module resource bundle look-ups, supporting running on both the
module path and the class path. At a first look, resource bundle semantics
in the two modes are at odds with each other:
* When running on the classpath,
12 matches
Mail list logo