|
Re: acceleo .emtl not found exception in jar file [message #729427 is a reply to message #726822] |
Mon, 26 September 2011 07:33  |
|
Hi,
The problem here comes from the "rsrc" protocol : you're not the first one to end up with such a stack trace. We (Acceleo) or EMF do not manage to load resources with the rsrc (jar-in-jar?) protocol.
Could you raise a bugzilla entry with this stack trace and, if you are allowed to, the project (and its dependencies) so that we can try and reproduce this to see if we can help in any way from our side?
In the meantime, you can try and overrides the generated Java class' "createResourceURI" in order to change it to something we can load (though I have to admit that I don't know what the URI should look like. You should probably try something looking like "jar:file://<path_to_jar_file>!/org/metalanguage/translator/impl/Drools/DroolsTranslator.emtl".
Laurent Goubet
Obeo
|
|
|
Powered by
FUDForum. Page generated in 0.01922 seconds