We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 718a8bc commit 63b4225Copy full SHA for 63b4225
bulk-model-sync-mps/src/main/kotlin/org/modelix/mps/model/sync/bulk/MPSBulkSynchronizer.kt
@@ -97,6 +97,15 @@ object MPSBulkSynchronizer {
97
val includedModules = allModules.filter {
98
isModuleIncluded(it.moduleName!!, includedModuleNames, includedModulePrefixes)
99
}
100
+
101
+ require(includedModules.isNotEmpty()) {
102
+ """
103
+ No module matched the inclusion criteria.
104
+ [includedModules] = $includedModuleNames
105
+ [includedModulePrefixes] = $includedModulePrefixes
106
+ """.trimIndent()
107
+ }
108
109
val numIncludedModules = includedModules.count()
110
val outputPath = System.getProperty("modelix.mps.model.sync.bulk.output.path")
111
val counter = AtomicInteger()
0 commit comments