| Summary: | Add properties when launching a generator | ||
|---|---|---|---|
| Product: | [Modeling] Acceleo | Reporter: | Yvan Lussaud <yvan.lussaud> |
| Component: | Core | Assignee: | Project Inbox <acceleo-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | stephane.begaudeau |
| Version: | 3.0.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Yvan Lussaud
The changes to the properties files loading system now allow you to override "getPropertiesLoaderService(AcceleoService acceleoService)" in the Java launcher class generated by Acceleo. By overriding this method you can load your properties files by yourself or you can even programmatically add properties. Have a look at org.eclipse.acceleo.engine.service.properties.BundleAcceleoPropertiesLoaderService for example to see an example of a properties loader service that will look into the current bundle to find the properties files. |