Resource Bundle Dev Tool

Simple Javaagent to change resource bundle values.

Лицензия

Лицензия

Группа

Группа

com.github.rmannibucau
Идентификатор

Идентификатор

resource-bundle-dev
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Resource Bundle Dev Tool
Simple Javaagent to change resource bundle values.
Ссылка на сайт

Ссылка на сайт

https://github.com/rmannibucau/resource-bundle-dev
Система контроля версий

Система контроля версий

https://github.com/rmannibucau/resource-bundle-dev

Скачать resource-bundle-dev

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.rmannibucau/resource-bundle-dev/ -->
<dependency>
    <groupId>com.github.rmannibucau</groupId>
    <artifactId>resource-bundle-dev</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.rmannibucau/resource-bundle-dev/
implementation 'com.github.rmannibucau:resource-bundle-dev:1.0.0'
// https://jarcasting.com/artifacts/com.github.rmannibucau/resource-bundle-dev/
implementation ("com.github.rmannibucau:resource-bundle-dev:1.0.0")
'com.github.rmannibucau:resource-bundle-dev:jar:1.0.0'
<dependency org="com.github.rmannibucau" name="resource-bundle-dev" rev="1.0.0">
  <artifact name="resource-bundle-dev" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.rmannibucau', module='resource-bundle-dev', version='1.0.0')
)
libraryDependencies += "com.github.rmannibucau" % "resource-bundle-dev" % "1.0.0"
[com.github.rmannibucau/resource-bundle-dev "1.0.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

Resource Bundle Dev module

Goal is to provide a Javaagent which can be set on a JVM to debug resource bundle messages changing the values using a pattern.

Configuration is passed to the javaagent and separated by | character. Example:

java .... \
    -javaagent:/path/to/resource-bundle-dev.jar=active=true|includes=com.company

Configuration

Name Default Description

active

false

is the agent active

pattern

[$locale] $value

The pattern to format values. Variables are $value for the original value for the current key, $lang for the locale language, $locale for the complete locale and $base for the bundle name.

includes

-

Bundle names included in the instrumentation (regex).

excludes

-

Bundle names excluded of the instrumentation (regex).

Tip
ensure to configure includes, when using resource bundles to store numbers as done by the JVM in sun.util bundles the fact to modify the string will make it no more valid ([en] 2 is not parseable as an integer for instance).

Версии библиотеки

Версия
1.0.0