diff options
author | Christian W. Damus | 2016-02-11 21:38:52 +0000 |
---|---|---|
committer | Christian W. Damus | 2016-02-24 22:26:27 +0000 |
commit | 09fde7a4087685b065b7f1e40375686fb9f19f2a (patch) | |
tree | 36668c0515a08586179a74cefcf1dc6197311d70 /plugins/infra/newchild | |
parent | 2f0dd86c51f8543f56a99cd4371965a01287fcaa (diff) | |
download | org.eclipse.papyrus-09fde7a4087685b065b7f1e40375686fb9f19f2a.tar.gz org.eclipse.papyrus-09fde7a4087685b065b7f1e40375686fb9f19f2a.tar.xz org.eclipse.papyrus-09fde7a4087685b065b7f1e40375686fb9f19f2a.zip |
Bug 485220: [Architecture] Provide a more modular architecture
https://bugs.eclipse.org/bugs/show_bug.cgi?id=485220
Implement version management: PDE API Tooling and Oomph
Version Management.
Introduce two new plug-in projects to manage versioning
using Oomph:
* org.eclipse.papyrus.releng.main.release for the Main
bundles and features
* org.eclipse.papyrus.releng.dev.release for the Dev Tools
Add new menu actions to the Dev Tools:
* main menu bar:
* synchronize POM and manifest versions
* "Configure" context menu on bundle projects and MANIFEST.MF
* optimize bundle dependencies and re-exports
* update dependency version ranges to match current workspace
and PDE target
Remove obsolete menu actions from the Dev Tools:
* main menu bar:
* Set all Papyrus feature versions
* Set all Papyrus plug-in versions
* Set versions of all Papyrus dependencies in Papyrus plug-ins
Fix versioning errors reported by PDE and Oomph. Ensure proper
version ranges consistent with latest build target.
Optimize the dependencies of all Papyrus Main bundles and Dev Tools.
Remove version- and reexport-checking tests in the BundlesTests that
are now not needed because, on the one hand, we now implement discrete
bundle versioning (managed by PDE/Oomph) and on the other, we now use
re-exports properly to ensure classpath consistency in clients of a
bundle's API.
Thorough overhaul of the "project editors" API, including:
* rationalize the API interfaces
* refactor the all-in-one PluginEditor class from the customization
bundle to the project-editors bundle
* update clients in the Customization and DSML Validation components
* fix a bunch of operations that didn't work
* add missing operations required by the new Dev Tools actions
* complete some unimplemented APIs
* add a comprehensive JUnit test suite covering all of the
project-editors API
Change-Id: I6a699d93909f61099226ceb994140f03ea99a70f
Diffstat (limited to 'plugins/infra/newchild')
8 files changed, 90 insertions, 25 deletions
diff --git a/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild.edit/.project b/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild.edit/.project index d776efd909f..22a932f1c3f 100644 --- a/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild.edit/.project +++ b/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild.edit/.project @@ -20,9 +20,33 @@ <arguments> </arguments> </buildCommand> + <buildCommand> + <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.oomph.version.VersionBuilder</name> + <arguments> + <dictionary> + <key>check.maven.pom</key> + <value>true</value> + </dictionary> + <dictionary> + <key>ignore.lower.bound.dependency.ranges</key> + <value>true</value> + </dictionary> + <dictionary> + <key>release.path</key> + <value>/org.eclipse.papyrus.releng.main.release/release.xml</value> + </dictionary> + </arguments> + </buildCommand> </buildSpec> <natures> <nature>org.eclipse.jdt.core.javanature</nature> <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature> + <nature>org.eclipse.oomph.version.VersionNature</nature> </natures> </projectDescription> diff --git a/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild.edit/.settings/.api_filters b/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild.edit/.settings/.api_filters new file mode 100644 index 00000000000..aec9f42e6f1 --- /dev/null +++ b/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild.edit/.settings/.api_filters @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<component id="org.eclipse.papyrus.infra.newchild.edit" version="2"> + <resource path="META-INF/MANIFEST.MF"> + <filter id="927989779"> + <message_arguments> + <message_argument value="1.2.0"/> + <message_argument value="org.eclipse.emf.edit"/> + </message_arguments> + </filter> + </resource> +</component> diff --git a/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild.edit/META-INF/MANIFEST.MF b/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild.edit/META-INF/MANIFEST.MF index 9cd9c5cac4d..d916e0bf467 100644 --- a/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild.edit/META-INF/MANIFEST.MF +++ b/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild.edit/META-INF/MANIFEST.MF @@ -1,12 +1,11 @@ Manifest-Version: 1.0 Export-Package: org.eclipse.papyrus.infra.newchild.elementcreationmenumodel.provider -Require-Bundle: org.eclipse.core.runtime, - org.eclipse.papyrus.infra.newchild;bundle-version="1.2.0";visibility:=reexport, - org.eclipse.emf.edit;visibility:=reexport, - org.eclipse.emf.ecore;visibility:=reexport, - org.eclipse.emf.ecore.edit;visibility:=reexport, - org.eclipse.papyrus.infra.filters;visibility:=reexport, - org.eclipse.papyrus.infra.filters.edit;visibility:=reexport +Require-Bundle: org.eclipse.papyrus.infra.newchild;bundle-version="[1.2.0,2.0.0)";visibility:=reexport, + org.eclipse.emf.edit;bundle-version="[2.12.0,3.0.0)";visibility:=reexport, + org.eclipse.emf.ecore;bundle-version="[2.12.0,3.0.0)";visibility:=reexport, + org.eclipse.emf.ecore.edit;bundle-version="[2.9.0,3.0.0)";visibility:=reexport, + org.eclipse.papyrus.infra.filters;bundle-version="[1.2.0,2.0.0)";visibility:=reexport, + org.eclipse.papyrus.infra.filters.edit;bundle-version="[1.2.0,2.0.0)";visibility:=reexport Bundle-Vendor: %providerName Bundle-ActivationPolicy: lazy Bundle-ClassPath: . diff --git a/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild.editor/.project b/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild.editor/.project index b4bef4c924e..2d6920ec3f1 100644 --- a/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild.editor/.project +++ b/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild.editor/.project @@ -20,9 +20,15 @@ <arguments> </arguments> </buildCommand> + <buildCommand> + <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name> + <arguments> + </arguments> + </buildCommand> </buildSpec> <natures> <nature>org.eclipse.jdt.core.javanature</nature> <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature> </natures> </projectDescription> diff --git a/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild.editor/META-INF/MANIFEST.MF b/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild.editor/META-INF/MANIFEST.MF index 0ddfc7b4246..7c241ffae79 100644 --- a/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild.editor/META-INF/MANIFEST.MF +++ b/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild.editor/META-INF/MANIFEST.MF @@ -1,7 +1,6 @@ Manifest-Version: 1.0 Export-Package: org.eclipse.papyrus.infra.newchild.elementcreationmenumodel.presentation -Require-Bundle: org.eclipse.core.runtime, - org.eclipse.core.resources;visibility:=reexport, +Require-Bundle: org.eclipse.core.resources;visibility:=reexport, org.eclipse.papyrus.infra.newchild.edit;bundle-version="1.2.0";visibility:=reexport, org.eclipse.emf.ecore.xmi;visibility:=reexport, org.eclipse.emf.edit.ui;visibility:=reexport, diff --git a/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild/.project b/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild/.project index 44bea73ce9b..48d5c13d8df 100644 --- a/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild/.project +++ b/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild/.project @@ -20,9 +20,33 @@ <arguments> </arguments> </buildCommand> + <buildCommand> + <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.oomph.version.VersionBuilder</name> + <arguments> + <dictionary> + <key>check.maven.pom</key> + <value>true</value> + </dictionary> + <dictionary> + <key>ignore.lower.bound.dependency.ranges</key> + <value>true</value> + </dictionary> + <dictionary> + <key>release.path</key> + <value>/org.eclipse.papyrus.releng.main.release/release.xml</value> + </dictionary> + </arguments> + </buildCommand> </buildSpec> <natures> <nature>org.eclipse.pde.PluginNature</nature> <nature>org.eclipse.jdt.core.javanature</nature> + <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature> + <nature>org.eclipse.oomph.version.VersionNature</nature> </natures> </projectDescription> diff --git a/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild/.settings/.api_filters b/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild/.settings/.api_filters new file mode 100644 index 00000000000..c8136f913e0 --- /dev/null +++ b/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild/.settings/.api_filters @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<component id="org.eclipse.papyrus.infra.newchild" version="2"> + <resource path="META-INF/MANIFEST.MF"> + <filter id="927989779"> + <message_arguments> + <message_argument value="1.2.0"/> + <message_argument value="org.eclipse.papyrus.infra.filters"/> + </message_arguments> + </filter> + </resource> +</component> diff --git a/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild/META-INF/MANIFEST.MF b/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild/META-INF/MANIFEST.MF index 94d0fdcbcc3..c6532372d66 100644 --- a/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild/META-INF/MANIFEST.MF +++ b/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild/META-INF/MANIFEST.MF @@ -4,22 +4,13 @@ Export-Package: org.eclipse.papyrus.infra.newchild, org.eclipse.papyrus.infra.newchild.elementcreationmenumodel.impl, org.eclipse.papyrus.infra.newchild.elementcreationmenumodel.util, org.eclipse.papyrus.infra.newchild.ui -Require-Bundle: org.eclipse.ui, - org.eclipse.core.runtime, - org.eclipse.papyrus.infra.extendedtypes;bundle-version="1.2.0", - org.eclipse.papyrus.infra.filters;visibility:=reexport, - org.eclipse.gmf.runtime.emf.type.core, - org.eclipse.papyrus.infra.services.labelprovider;bundle-version="1.2.0", - org.eclipse.papyrus.infra.services.edit;bundle-version="1.2.0", - org.eclipse.papyrus.infra.emf.gmf;bundle-version="1.2.0", - org.eclipse.papyrus.infra.core.log;bundle-version="1.2.0", - org.eclipse.papyrus.infra.widgets;bundle-version="1.2.0", - org.eclipse.papyrus.infra.emf;bundle-version="1.2.0", - org.eclipse.papyrus.infra.core;bundle-version="1.2.0", - org.eclipse.papyrus.infra.ui.emf;bundle-version="1.2.0", - org.eclipse.papyrus.infra.services.semantic;bundle-version="1.2.0", - org.eclipse.papyrus.infra.ui;bundle-version="1.2.0", - org.eclipse.papyrus.emf.facet.custom.core;bundle-version="1.2.0" +Require-Bundle: org.eclipse.papyrus.infra.filters;bundle-version="[1.2.0,2.0.0)";visibility:=reexport, + org.eclipse.papyrus.infra.services.edit;bundle-version="[1.2.0,2.0.0)";visibility:=reexport, + org.eclipse.papyrus.infra.emf.gmf;bundle-version="[1.2.0,2.0.0)", + org.eclipse.papyrus.infra.widgets;bundle-version="[2.0.0,3.0.0)";visibility:=reexport, + org.eclipse.papyrus.infra.emf;bundle-version="[2.0.0,3.0.0)", + org.eclipse.papyrus.infra.ui.emf;bundle-version="[1.2.0,2.0.0)", + org.eclipse.papyrus.infra.services.semantic;bundle-version="[1.2.0,2.0.0)" Bundle-Vendor: %providerName Bundle-ActivationPolicy: lazy Bundle-ClassPath: . |