Loading de.ugoe.cs.swe.T3Q/src/de/ugoe/cs/swe/T3Q/T3Q.java +2 −0 Original line number Diff line number Diff line Loading @@ -166,6 +166,7 @@ public class T3Q { //TODO: spaces and special characters in paths? JsonSchemaBridge bridge = new JsonSchemaBridge(); if (!asn1Paths.isEmpty()) { Stopwatch stopwatch = Stopwatch.createUnstarted(); stopwatch.start(); System.out.println("Converting "+asn1Paths+" ASN.1 files to JSON Schema..."); bridge.convertASN1toJSONSchema(activeProfile.getTitanCompilerPath(), asn1Paths, activeProfile.getJsonSchemaPath()+schemaFile); Loading @@ -180,6 +181,7 @@ public class T3Q { JsonSchemaBridge bridge = new JsonSchemaBridge(); //TODO: handle other schemas? -> need to add result in input files.. ArrayList<String> processedSchemas = new ArrayList<>(); Stopwatch stopwatch = Stopwatch.createUnstarted(); for (String path : inputPaths) { File file = new File(path); if (file.isFile()) { Loading Loading
de.ugoe.cs.swe.T3Q/src/de/ugoe/cs/swe/T3Q/T3Q.java +2 −0 Original line number Diff line number Diff line Loading @@ -166,6 +166,7 @@ public class T3Q { //TODO: spaces and special characters in paths? JsonSchemaBridge bridge = new JsonSchemaBridge(); if (!asn1Paths.isEmpty()) { Stopwatch stopwatch = Stopwatch.createUnstarted(); stopwatch.start(); System.out.println("Converting "+asn1Paths+" ASN.1 files to JSON Schema..."); bridge.convertASN1toJSONSchema(activeProfile.getTitanCompilerPath(), asn1Paths, activeProfile.getJsonSchemaPath()+schemaFile); Loading @@ -180,6 +181,7 @@ public class T3Q { JsonSchemaBridge bridge = new JsonSchemaBridge(); //TODO: handle other schemas? -> need to add result in input files.. ArrayList<String> processedSchemas = new ArrayList<>(); Stopwatch stopwatch = Stopwatch.createUnstarted(); for (String path : inputPaths) { File file = new File(path); if (file.isFile()) { Loading