Commit 6f9018ba authored by Philip Makedonski's avatar Philip Makedonski
Browse files

+ added support for other formats as well (TX / TXi)

parent f1972474
......@@ -69,7 +69,10 @@ public class TransformationHandler extends AbstractHandler {
URI uri = URI.createPlatformResourceURI(file.getFullPath().toString(), true);
XtextResourceSet rs = injector.getInstance(XtextResourceSet.class);
Resource r = rs.getResource(uri, true);
if (file.getName().endsWith(".tdl") || file.getName().endsWith(".tdlan2")) {
if (file.getName().endsWith(".tdl")
|| file.getName().endsWith(".tdlan2")
|| file.getName().endsWith(".tdltx")
|| file.getName().endsWith(".tdltxi")) {
Transform transformer = new Transform();
URI interimURI = URI.createURI(uri.toString()+"-generated.ttcn3m");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment