|
|
|
Re: Create a new Setup Task: can see it in model but task is not triggered during installation proce [message #1704079 is a reply to message #1703497] |
Fri, 07 August 2015 08:25 |
|
Hi Ed,
thanks for these information.
it seems that we can't put several Enablement annotations. When I reload the genmodel, only the first Enablement is kept, the other ones are removed.
In fact my use case is that I have several installableUnits but that are hosted on 3 differents Update site. it seems that the enablement supports a single repository.
Should I create a composite update site? or would it better to implement support of several repositories? Would it be easy?
regards,
Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
|
|
|
|
Re: Create a new Setup Task: can see it in model but task is not triggered during installation proce [message #1704140 is a reply to message #1704101] |
Fri, 07 August 2015 15:32 |
|
Hi Ed,
thanks for your answer.
I found under which circumstances the Enablement annotations were removed. It is because I had two ecore file for the same model. Now why, I have these two files for the same model? it is because the genmodel was generating an ecore file which was different from the one it is based on. It seems to be the "Public Location" attribute.
I tried to put to the same value and the generation was failing, it said that "The package ... has the same namespace URI .. as package ..". I wasn't able able to get rid of this error. SO I recreated the model from scratch and regenrate the genmodel and it works... almost.
A part of the generation is not the same. Some specific parts to Oomph is generated.
for instance this kind of code
<extension
point="org.eclipse.emf.edit.childCreationExtenders">
<extender
class="org.eclipse.oomph.smart.importer.provider.ImporterItemProviderAdapterFactory$BaseChildCreationExtender"
uri="http://www.eclipse.org/oomph/base/1.0">
</extender>
<extender
class="org.eclipse.oomph.smart.importer.provider.ImporterItemProviderAdapterFactory$SetupChildCreationExtender"
uri="http://www.eclipse.org/oomph/setup/1.0">
</extender>
</extension>
I didn't find why by comparing to others ecore and genmodel. How can I activate the correct generation?
Regards,
Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
|
|
|
|
Powered by
FUDForum. Page generated in 0.03510 seconds