|
Re: [Acceleo] - Problem with types invoking Java Wrappers [message #686589 is a reply to message #686425] |
Wed, 22 June 2011 14:49   |
|
Jesus,
Please post the stack trace of the exceptions you get, that will allow us to better understand what's happening behind the scene.
Without the exception traces, I can only guess that what you are missing might be the registration of your Package. You should have a generated ".java" class along your "main" template (the class you use in order to launch the generation). In that class is the method "registerPackages(ResourceSet)". Make sure that this method has a line for your CSPPackage; something of the sort :
resourceSet.getPackageRegistry().put(csp.CSPPackage.eINSTANCE.getNsURI(), csp.CSPPackage.eINSTANCE);
If that does not help, we'll need the exception traces .
Laurent Goubet
Obeo
|
|
|
|
Powered by
FUDForum. Page generated in 0.02881 seconds