Migration
Migrate from Version 2.X to 3.X
Following a list of changes / actions to migration from version 2.x to 3.x.
Translation file locations
In 2.x the default location of the translation resource files was nls/translation
. With Version 3.x the default location has change to the package the class calls the init()
-method of an adapter. So all used
translation files must be moved from nls
to the package.
Example:
package com.example.app;
// ... Some includes ...
public class ThisUi extends BaseUI {
private static final NilsFactory NLS_FACTORY =
NilsFactory.init(ResourceBundleAdapterConfig.init(ThisUi.class));
// ... More logic
}
The old location of translation files was nls
. The new location is com.example.app
.
Core
The following classes / interfaces has been removed:
Class/Interface |
Hint |
|
The exception was inherited from |
The following methods were changes / removed:
Old method |
New method |
Hint |
|
|
The owning class is used for some name resolving. So change from Module to Class. |
|
|
- |
|
|
- |
|
|
Consolidation that all file based adapter uses the same config API. |
|
|
Consolidation that all file based adapter uses the same config API. |
Migrate from Version 1.x to 2.x
Following a list of changes / actions to migration from version 1.x to 2.x.
Core
The following classes / interfaces has been moved and / or renamed:
Version 1.x |
Version 2.x |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The following classes / interfaces has been removed:
Class/Interface |
Hint |
|
The interface definition was merged with |
The following methods were changes / removed:
Method |
Hint |
|
The method has changed its signature to |
|
The default include tag has changed from |
Jackson Adapter
The following classes / interfaces has been removed:
Class/Interface |
Hint |
|
The class is now a parent interface for |