Skip to content

Commit

Permalink
feat(mps-model-adapters): full support for recreating an MPS project
Browse files Browse the repository at this point in the history
The bulk sync so far could only synchronize existing models, but not create new ones.
  • Loading branch information
slisson committed Jan 22, 2025
1 parent 58df43a commit 3d57f9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ abstract class ExportFromModelServer : DefaultTask() {
val nameRole = BuiltinLanguages.jetbrains_mps_lang_core.INamedConcept.name

return root.allChildren.filter {
val isModule = it.concept?.getUID() == BuiltinLanguages.MPSRepositoryConcepts.Module.getUID()
val isModule = it.concept?.isSubConceptOf(BuiltinLanguages.MPSRepositoryConcepts.Module) == true
val moduleName = it.getPropertyValue(nameRole) ?: return@filter false
val isIncluded = isModuleIncluded(
moduleName,
Expand Down

0 comments on commit 3d57f9a

Please sign in to comment.