Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2017-08-29 15:07:49 +0000
committerHenrik Rentz-Reichert2017-08-29 15:13:10 +0000
commit04647080b992f0e78286475c0d079b90728e2e6c (patch)
tree3e94896764d04aee6b724dacee1ca6e441c88f6a /plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend
parente8aed4ad25ee7451045ddb0f3b6ec12eccee238e (diff)
downloadorg.eclipse.etrice-04647080b992f0e78286475c0d079b90728e2e6c.tar.gz
org.eclipse.etrice-04647080b992f0e78286475c0d079b90728e2e6c.tar.xz
org.eclipse.etrice-04647080b992f0e78286475c0d079b90728e2e6c.zip
Bug 521498 - [genmodel, generators] gen. only explicitly passed models
* generate only models that are passed on the command line * also in non-lib mode generate all ROOM classes Change-Id: Ib0766d77ba9de3c1b4de4d9b97c0a301241603a2
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend')
-rw-r--r--plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend b/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend
index 6bdb49beb..9bb517b43 100644
--- a/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend
+++ b/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend
@@ -42,7 +42,7 @@ class ProtocolClassGen extends GenericProtocolClassGenerator {
@Inject ILogger logger
def doGenerate(Root root) {
- for (pc: root.usedProtocolClasses.filter(cl|cl.isValidGenerationLocation)) {
+ for (pc: root.protocolClasses.filter(cl|cl.isValidGenerationLocation)) {
val path = pc.generationTargetPath+pc.getPath
val infopath = pc.generationInfoPath+pc.getPath
val file = pc.getJavaFileName

Back to the top