| Summary: | Properties files cannot be used consistently | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Acceleo | Reporter: | Laurent Goubet <laurent.goubet> | ||||
| Component: | Core | Assignee: | Project Inbox <acceleo-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | critical | ||||||
| Priority: | P3 | ||||||
| Version: | 3.0.0 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Laurent Goubet
Created attachment 166509 [details]
Patch fixing the properties issue
The attached patch changes the whole properties support to make use of the "ResourceBundle" Java provides (java.util.ResourceBundle) instead of the custom implementations Acceleo uses for now.
This breaks behavior as the generated launchers previously asked for a path (be it relative or absolute) to be returned from the "addProperties" method. This method now asks for the qualified name to the properties file.
For example, what previously was "platform:/plugin/bundle.id/package/to/properties/my.properties" is now "package.to.properties.my".
This fix has been commited on HEAD and will be accessible in the M7 build. |