import java.io.IOException;\r
import java.nio.file.Files;\r
import java.nio.file.Path;\r
-import java.util.Optional;\r
\r
import org.simantics.Simantics;\r
import org.simantics.db.Resource;\r
\r
private static Resource createModel(WriteGraph graph, Resource type, Resource target, String name, String sclMainContents) throws DatabaseException {\r
Resource model = ModelingUtils.createModel(graph, type, target, name);\r
+ @SuppressWarnings("unused")\r
Resource conf = graph.syncRequest(new Configuration(model));\r
\r
ModelingUtils.addSCLMainToModel(graph, model, "SCLMain", sclMainContents);\r