Skip to content

JBTIS-1078 - updates for Oxygen compatibility#658

Merged
bfitzpat merged 1 commit intojboss-switchyard:masterfrom
bfitzpat:JBTIS-1078
Apr 11, 2017
Merged

JBTIS-1078 - updates for Oxygen compatibility#658
bfitzpat merged 1 commit intojboss-switchyard:masterfrom
bfitzpat:JBTIS-1078

Conversation

@bfitzpat
Copy link
Copy Markdown
Member

@bfitzpat bfitzpat commented Apr 7, 2017

DO NOT MERGE THIS YET

@pleacu I need some help figuring out why the TP is not picking up the right Graphiti version for the BPMN2 modeler - is it possible you haven't updated it to the 0.14 version of graphiti?

I'm seeing this:

[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: org.switchyard.tools.ui.bpmn2 2.4.0.qualifier
[ERROR] Missing requirement: org.eclipse.bpmn2.modeler.core 1.3.1.Final-v20160831-1132-B55 requires 'bundle org.eclipse.graphiti [0.12.0,0.14.0)' but it could not be found
[ERROR] Cannot satisfy dependency: org.switchyard.tools.ui.bpmn2 2.4.0.qualifier depends on: bundle org.eclipse.bpmn2.modeler.core [1.1.0,1.5.0)

Copy link
Copy Markdown
Contributor

@pleacu pleacu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bfitzpat - add this to your eclipse/pom.xml

bpmn2-editor-update-site - http://download.jboss.org/jbosstools/updates/requirements/bpmn2-modeler/1.3.1.Final_1.3.0.Final_neon/ + http://download.jboss.org/jbosstools/updates/requirements/bpmn2-modeler/oxygen/1.4.0.Final_1.3.1.Final_oxygen/ p2 true

@bfitzpat
Copy link
Copy Markdown
Member Author

@pleacu I don't understand what you're asking me to add here. Do you have an example?

@bfitzpat
Copy link
Copy Markdown
Member Author

Thanks for the assistance @pleacu . I missed one reference to the Neon update site for BPMN2 that needed to be updated. Builds locally, now we see if it builds upstream.

Copy link
Copy Markdown
Contributor

@pleacu pleacu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

org.eclipse.bpmn2.modeler.core;bundle-version="[1.1.0,1.4.0)",
org.eclipse.bpmn2.modeler.ui;bundle-version="[1.1.0,1.4.0)",
org.eclipse.bpmn2.modeler.runtime.jboss.jbpm;bundle-version="[1.2.3,1.4.0)",
org.eclipse.bpmn2.modeler.core;bundle-version="[1.1.0,1.5.0)",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any specific reason to put an upperbound for the dependency?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. We hit some issues using the 1.4.0) version we had set before. Apparently "1.4.0.Final-v20170331-1748-B11" exceeds the 1.4.0 version, which meant we had to set it higher.

Copy link
Copy Markdown
Collaborator

@apupier apupier Apr 11, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes 1.4.0) means that we don't want to use higher version than 1.4.0 included.
my question was not about that. it was why we put an upper restriction for the bpmn2 modeler plugins? We had some issues with these plugins previously? They were breaking APIs often?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usually a particular version is only going to work with a particular release of Eclipse, so it's more to keep in line with the version range we know will support Oxygen or Neon or whatever is next I suspect. @pleacu do you have a better answer?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's standard when changing major versions, not minor between 1.19 and 1.20 there should be no API break in theory.
but anyway I think that we are using specific target platform to avoid this kind of issue. That's fine.

@bfitzpat bfitzpat merged commit 366eecc into jboss-switchyard:master Apr 11, 2017
@pleacu
Copy link
Copy Markdown
Contributor

pleacu commented Apr 11, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants