From 64725c9937f31a7c31cec6e6577b93e7d7f99442 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Boschet?= Date: Fri, 28 Aug 2015 11:48:51 +0200 Subject: [PATCH] BUGFIX: from.name in languagebuilder --- .../fr/inria/diverse/melange/processors/LanguageBuilder.xtend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/fr.inria.diverse.melange/src/main/java/fr/inria/diverse/melange/processors/LanguageBuilder.xtend b/plugins/fr.inria.diverse.melange/src/main/java/fr/inria/diverse/melange/processors/LanguageBuilder.xtend index 220b1ae87..98dc8a64c 100644 --- a/plugins/fr.inria.diverse.melange/src/main/java/fr/inria/diverse/melange/processors/LanguageBuilder.xtend +++ b/plugins/fr.inria.diverse.melange/src/main/java/fr/inria/diverse/melange/processors/LanguageBuilder.xtend @@ -356,7 +356,7 @@ class LanguageBuilder extends DispatchMelangeProcessor{ return; mappingRules.forEach[ packageRule | - val sourcePack = if(modelRoot.name == packageRule.from) modelRoot else modelRoot.findSubPackage(packageRule.from.name.substring(packageRule.from.name.indexOf(".")+1)) + val sourcePack = if(modelRoot.name == packageRule.from.name) modelRoot else modelRoot.findSubPackage(packageRule.from.name.substring(packageRule.from.name.indexOf(".")+1)) packageRule.classes.forEach[classRule | sourcePack.EClassifiers.filter(EClass).filter[name == classRule.from].forEach[ clazz |