-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed migration for no identifier module name.
- Loading branch information
Showing
13 changed files
with
172 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
tests/org.eclipse.acceleo.aql.migration.tests.acceleo3/src/misc/My-Other-Module.mtl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[module My-Other-Module('http://www.eclipse.org/emf/2002/Ecore')/] |
1 change: 1 addition & 0 deletions
1
...leoAqlTests/language/module/withExtendsNotJavaIdentifier/withExtendsNotJavaIdentifier.mtl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[module withExtendsNotJavaIdentifier('http://www.eclipse.org/emf/2002/Ecore') extends misc::My-Other-Module/] |
3 changes: 3 additions & 0 deletions
3
...celeoAqlTests/language/module/withImportNotJavaIdentifier/withImportNotJavaIdentifier.mtl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[module withImportNotJavaIdentifier('http://www.eclipse.org/emf/2002/Ecore')/] | ||
|
||
[import misc::My-Other-Module/] |
1 change: 1 addition & 0 deletions
1
...ts/language/module/withExtendsNotJavaIdentifier/withExtendsNotJavaIdentifier-expected.mtl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[module withExtendsNotJavaIdentifier('http://www.eclipse.org/emf/2002/Ecore') extends misc::My_Other_Module/] |
1 change: 1 addition & 0 deletions
1
...ests/language/module/withExtendsNotJavaIdentifier/withExtendsNotJavaIdentifier-origin.mtl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[module withExtendsNotJavaIdentifier('http://www.eclipse.org/emf/2002/Ecore') extends misc::My-Other-Module/] |
55 changes: 55 additions & 0 deletions
55
...eoAqlTests/language/module/withExtendsNotJavaIdentifier/withExtendsNotJavaIdentifier.emtl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:mtl="http://www.eclipse.org/acceleo/mtl/3.0" xmlns:ocl.ecore="http://www.eclipse.org/ocl/1.1.0/Ecore"> | ||
<mtl:Module name="withExtendsNotJavaIdentifier" nsURI="resources::acceleoAqlTests::language::module::withExtendsNotJavaIdentifier::withExtendsNotJavaIdentifier" endHeaderPosition="107"> | ||
<input> | ||
<takesTypesFrom href="http://www.eclipse.org/emf/2002/Ecore#/"/> | ||
</input> | ||
<extends href="../../../../../misc/My-Other-Module.emtl#/0"/> | ||
</mtl:Module> | ||
<ecore:EPackage name="additions"> | ||
<eClassifiers xsi:type="ecore:EClass" name="oclstdlib_String_Class"> | ||
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | ||
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | ||
</eAnnotations> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="oclstdlib_Integer_Class"> | ||
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | ||
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> | ||
</eAnnotations> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="oclstdlib_Real_Class"> | ||
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | ||
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Real"/> | ||
</eAnnotations> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="ecore_EObject_Class"> | ||
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | ||
<references href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> | ||
</eAnnotations> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="oclstdlib_OclAny_Class"> | ||
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | ||
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> | ||
</eAnnotations> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="oclstdlib_Collection(T)_Class"> | ||
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | ||
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Collection(T)"/> | ||
</eAnnotations> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="oclstdlib_Sequence(T)_Class"> | ||
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | ||
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)"/> | ||
</eAnnotations> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="oclstdlib_OrderedSet(T)_Class"> | ||
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | ||
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OrderedSet(T)"/> | ||
</eAnnotations> | ||
</eClassifiers> | ||
</ecore:EPackage> | ||
<ocl.ecore:Variable name="self"> | ||
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> | ||
</ocl.ecore:Variable> | ||
<ecore:EAnnotation source="positions"/> | ||
</xmi:XMI> |
1 change: 1 addition & 0 deletions
1
...leoAqlTests/language/module/withExtendsNotJavaIdentifier/withExtendsNotJavaIdentifier.mtl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[module withExtendsNotJavaIdentifier('http://www.eclipse.org/emf/2002/Ecore') extends misc::My_Other_Module/] |
3 changes: 3 additions & 0 deletions
3
...ests/language/module/withImportNotJavaIdentifier/withImportNotJavaIdentifier-expected.mtl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[module withImportNotJavaIdentifier('http://www.eclipse.org/emf/2002/Ecore')/] | ||
|
||
[import misc::My_Other_Module/] |
3 changes: 3 additions & 0 deletions
3
...lTests/language/module/withImportNotJavaIdentifier/withImportNotJavaIdentifier-origin.mtl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[module withImportNotJavaIdentifier('http://www.eclipse.org/emf/2002/Ecore')/] | ||
|
||
[import misc::My-Other-Module/] |
55 changes: 55 additions & 0 deletions
55
...eleoAqlTests/language/module/withImportNotJavaIdentifier/withImportNotJavaIdentifier.emtl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:mtl="http://www.eclipse.org/acceleo/mtl/3.0" xmlns:ocl.ecore="http://www.eclipse.org/ocl/1.1.0/Ecore"> | ||
<mtl:Module name="withImportNotJavaIdentifier" nsURI="resources::acceleoAqlTests::language::module::withImportNotJavaIdentifier::withImportNotJavaIdentifier" endHeaderPosition="76"> | ||
<input> | ||
<takesTypesFrom href="http://www.eclipse.org/emf/2002/Ecore#/"/> | ||
</input> | ||
<imports href="../../../../../misc/My-Other-Module.emtl#/0"/> | ||
</mtl:Module> | ||
<ecore:EPackage name="additions"> | ||
<eClassifiers xsi:type="ecore:EClass" name="oclstdlib_String_Class"> | ||
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | ||
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | ||
</eAnnotations> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="oclstdlib_Integer_Class"> | ||
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | ||
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> | ||
</eAnnotations> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="oclstdlib_Real_Class"> | ||
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | ||
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Real"/> | ||
</eAnnotations> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="ecore_EObject_Class"> | ||
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | ||
<references href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> | ||
</eAnnotations> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="oclstdlib_OclAny_Class"> | ||
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | ||
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> | ||
</eAnnotations> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="oclstdlib_Collection(T)_Class"> | ||
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | ||
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Collection(T)"/> | ||
</eAnnotations> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="oclstdlib_Sequence(T)_Class"> | ||
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | ||
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)"/> | ||
</eAnnotations> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="oclstdlib_OrderedSet(T)_Class"> | ||
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | ||
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OrderedSet(T)"/> | ||
</eAnnotations> | ||
</eClassifiers> | ||
</ecore:EPackage> | ||
<ocl.ecore:Variable name="self"> | ||
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> | ||
</ocl.ecore:Variable> | ||
<ecore:EAnnotation source="positions"/> | ||
</xmi:XMI> |
3 changes: 3 additions & 0 deletions
3
...celeoAqlTests/language/module/withImportNotJavaIdentifier/withImportNotJavaIdentifier.mtl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[module withImportNotJavaIdentifier('http://www.eclipse.org/emf/2002/Ecore')/] | ||
|
||
[import misc::My_Other_Module/] |