|Maven generate-sources for two grammars [message #1782041]
||Fri, 16 February 2018 12:12
| Márcio Koch
Registered: August 2013
I'm trying to test my two plug-ins locally before release them, SDL and EDL. In SDL the service contracts is defined and some source code are generated. The EDL reads elements defined in SDL and generate Java source code. I installed the two plug-ins in my Eclipse (from our update site) and they are working fine in an example project, generating all the code as expected.
But, our generated sources in Eclipse are not commited on Git, because they are generated calling maven generate-sources during the release process by our CI. So, I'm testing maven generate-sources for my example project locally. But I'm getting an error when the EDL plug-in tries to generate souces through maven. It does not find any classes from the SDL grammar that is used by EDL. I saw that don't have SDL jars in EDL plug-in, should have?
I attacched some files such as the EDL plug-in content, Maven logs, the pom.xml of my example project with the configurations.
I already tryed to initialize the SDLStandaloneSetup.doSetup inside the EDLStandaloneSetup like I done in my unit tests, but here it is not working.
I'm grateful if anyone can give me some tips.
Powered by FUDForum
. Page generated in 0.03152 seconds