Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/EnumerationTypeGen.xtend')
-rw-r--r--plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/EnumerationTypeGen.xtend5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/EnumerationTypeGen.xtend b/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/EnumerationTypeGen.xtend
index 6ca3186b2..9bdfa987b 100644
--- a/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/EnumerationTypeGen.xtend
+++ b/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/EnumerationTypeGen.xtend
@@ -35,10 +35,9 @@ class EnumerationTypeGen {
def doGenerate(Root root) {
for (et: root.enumClasses.filter(cl|cl.isValidGenerationLocation)) {
- var path = et.generationTargetPath+et.getPath
- var infopath = et.generationInfoPath+et.getPath
+ var path = et.getPath
var file = et.getJavaFileName
- fileIO.generateFile("generating Enumeration implementation", path, infopath, file, root.generate(et))
+ fileIO.generateFile("generating Enumeration implementation", path + file, root.generate(et))
}
}

Back to the top