Create the updatesite [message #1674599] |
Sat, 14 March 2015 20:37  |
Eclipse User |
|
|
|
Hi Bob,
I made changes to the metamodel, but it does not know how to reference these changes in the modeler.
How do I modify the pom.xml to grab my bpmn2 metamodel jars instead of the ones from the bpmn2 update site?
best regards
[Updated on: Tue, 17 March 2015 12:38] by Moderator Report message to a moderator
|
|
|
Re: Create the updatesite [message #1689529 is a reply to message #1674599] |
Mon, 23 March 2015 20:07   |
Eclipse User |
|
|
|
I'm assuming that you want to build your own update site for downloading BPMN2 Modeler, is that correct? In that case, you'll need to edit the parent pom.xml and change the <url> for the eclipse-bpmn2 repository to point to your own bpmn2 metamodel update site, here:
<repositories>
...
<repository>
<id>eclipse-bpmn2</id>
<url>http://my.bpmn2.metamodel.update.site/</url>
<layout>p2</layout>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
HTH,
Bob
|
|
|
|
Re: Create the updatesite [message #1689850 is a reply to message #1689827] |
Tue, 24 March 2015 13:42   |
Eclipse User |
|
|
|
Ah, right. I forgot that there's an ant build step that adds dependent repository URIs for the metamodel and BPEL to the generated content.xml file of the update site (see the content.jar file in your update site).
You'll need to edit the <platform>-sites.properties file in org.eclipse.bpmn2.modeler.updatesite for the platform version you are building. I'm guessing that you're targeting Eclipse Kepler, so edit the kepler-sites.properties, and change the line
associate.sites=http://download.eclipse.org/modeling/mdt/bpmn2/updates/milestones/S20130822/,http://download.eclipse.org/bpel/site/
to this:
associate.sites=http://dl.bintray.com/ledes/bpl-framework,http://download.eclipse.org/bpel/site/
and you should be good to go 
Cheers,
Bob
|
|
|
|
|
|
Re: Create the updatesite [message #1690081 is a reply to message #1690065] |
Wed, 25 March 2015 07:17  |
Eclipse User |
|
|
|
Hi Marcelo,
The ecore looks OK to me, clearly there's something more going on here than I can see without having your entire plugin in front of me. I'm afraid you'll have to debug into the code to figure out what's going on. Start with the performFinish() method of your new file wizard and see where it leads.
Bob
|
|
|
Powered by
FUDForum. Page generated in 0.03841 seconds