|
Re: [Acceleo] Java Services classpath [message #1011802 is a reply to message #1009681] |
Wed, 20 February 2013 09:26 |
|
Nicola,
Quote:Running the generation, Acceleo asks to AcceleoServicesEclipseUtil.registerService(URI uri, String qualifiedName) to find the class. The provided url is like "c:/sources_repository/path/plugin_a/...emtl" and it does not offers to acceleo any clue about where the bundle is located:
* it is not a platform plugin
* it is not in the workspace (the generator runs in the runtime one !)
* plugin_a is not the plugin symbolic name
plugin_a is the plugin that contains your acceleo module. We use its classpath to find the service class. You do not have to worry about that as long as : a) the java class you use as a service is exported by its containing plugin, and b) plugin_a has a dependency towards the plugin that contains the java class.
Laurent Goubet
Obeo
|
|
|
|
Powered by
FUDForum. Page generated in 0.03492 seconds