Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTamas Miklossy2020-05-19 12:28:46 -0400
committerEd Merks2020-06-29 00:47:55 -0400
commit017c8bb9fa4fbc7075818e5261456681e253626f (patch)
treebcb58a18e5e11731f0a1de4f6e5c460144db1ade /releng/org.eclipse.emf.parent/plugins
parent11da171b6d640316919eca6a0168b8de083cfb2c (diff)
downloadorg.eclipse.emf-017c8bb9fa4fbc7075818e5261456681e253626f.tar.gz
org.eclipse.emf-017c8bb9fa4fbc7075818e5261456681e253626f.tar.xz
org.eclipse.emf-017c8bb9fa4fbc7075818e5261456681e253626f.zip
[563042] Migrating to the new Xtext generator workflow.
-------------- I. org.eclipse.emf.ecore.xcore plugin ------------------ 1. Modify the GenerateXcore.mwe2 workflow to use the new Xtext generator workflow (org.eclipse.xtext.xtext.generator.*) packages instead of the old deprecated generator workflow (org.eclipse.xtext.generator.*) packages. 2. Rename XcoreJavaValidator to XcoreValidator. 3. Update generated code in the src-gen folder. -------------- II. org.eclipse.emf.ecore.xcore.ui plugin -------------- 1. Move the content assist infrastructure from the org.eclipse.emf.ecore.xcore.ui package into the org.eclipse.emf.ecore.xcore.ide package. 2. Rename XcoreEditor to CustomXcoreEditor to avoid naming collision with the generated editor. Modify the hand-written CustomXcoreEditor to inherit from the generated XcoreEditor. 3. Update plugin.xml_gen 4. Merge plugin.xml_gen into plugin.xml. -------------- III. org.eclipse.emf.test.ecore.xcore plugin ----------- 1. Move the XcoreInjectorProvider from the org.eclipse.emf.ecore.xcore package to the org.eclipse.emf.ecore.xcore.tests package. 2. Add generated XcoreUiInjectorProvider class. 3. Update META-INF/MANIFEST.MF file. -------------- IV. Versions and Builds -------------------------------- 1. Modify the lower bounds of plugin dependencies because minimally Xtext 2.18 is required 2. Ensure that all plugin dependencies have version ranges. 2. Modify the releng POMs so that the build of Xcore and the site, which depends on Xcore, is disabled for target platforms < 2019-06. Change-Id: I81e446995025832dc2e84decc818cfe533293ff4 Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
Diffstat (limited to 'releng/org.eclipse.emf.parent/plugins')
-rw-r--r--releng/org.eclipse.emf.parent/plugins/pom.xml34
1 files changed, 22 insertions, 12 deletions
diff --git a/releng/org.eclipse.emf.parent/plugins/pom.xml b/releng/org.eclipse.emf.parent/plugins/pom.xml
index 22ffdbcb5..f7fb1e50f 100644
--- a/releng/org.eclipse.emf.parent/plugins/pom.xml
+++ b/releng/org.eclipse.emf.parent/plugins/pom.xml
@@ -98,18 +98,6 @@
<module>../../../plugins/org.eclipse.emf.rap.common.ui</module>
<module>../../../plugins/org.eclipse.emf.rap.edit.ui</module>
- <module>../../../plugins/org.eclipse.emf.codegen.ecore.xtext</module>
- <module>../../../plugins/org.eclipse.emf.codegen.ecore.xtext.ui</module>
- <module>../../../plugins/org.eclipse.emf.ecore.xcore</module>
- <module>../../../plugins/org.eclipse.emf.ecore.xcore.edit</module>
- <module>../../../plugins/org.eclipse.emf.ecore.xcore.exporter</module>
- <module>../../../plugins/org.eclipse.emf.ecore.xcore.importer</module>
- <module>../../../plugins/org.eclipse.emf.ecore.xcore.lib</module>
- <module>../../../plugins/org.eclipse.emf.ecore.xcore.ui</module>
-
- <module>../../../tests//org.eclipse.emf.test.ecore.xcore</module>
- <module>../../../tests//org.eclipse.emf.test.codegen.ecore.xtext</module>
-
<module>../../../../org.eclipse.xsd/examples/org.eclipse.xsd.example</module>
<module>../../../../org.eclipse.xsd/plugins/org.eclipse.emf.mapping.xsd2ecore</module>
@@ -316,6 +304,28 @@
</plugins>
</build>
</profile>
+
+ <profile>
+ <id>xcore</id>
+ <activation>
+ <file>
+ <missing>../tp/${target-platform}-no-xcore</missing>
+ </file>
+ </activation>
+ <modules>
+ <module>../../../plugins/org.eclipse.emf.codegen.ecore.xtext</module>
+ <module>../../../plugins/org.eclipse.emf.codegen.ecore.xtext.ui</module>
+ <module>../../../plugins/org.eclipse.emf.ecore.xcore</module>
+ <module>../../../plugins/org.eclipse.emf.ecore.xcore.edit</module>
+ <module>../../../plugins/org.eclipse.emf.ecore.xcore.exporter</module>
+ <module>../../../plugins/org.eclipse.emf.ecore.xcore.importer</module>
+ <module>../../../plugins/org.eclipse.emf.ecore.xcore.lib</module>
+ <module>../../../plugins/org.eclipse.emf.ecore.xcore.ui</module>
+
+ <module>../../../tests//org.eclipse.emf.test.ecore.xcore</module>
+ <module>../../../tests//org.eclipse.emf.test.codegen.ecore.xtext</module>
+ </modules>
+ </profile>
</profiles>
</project>

Back to the top