|
a/src/net/timbusproject/context/converter/OWLExportCLI.java |
|
b/src/net/timbusproject/context/converter/OWLExportCLI.java |
|
... |
|
... |
153 |
OWLExport.exportToOwl(model, outputFile, ontologyIRI);
|
153 |
OWLExport.exportToOwl(model, outputFile, ontologyIRI);
|
154 |
System.out.println("Wrote converted file to " + outputFile.getAbsolutePath());
|
154 |
System.out.println("Wrote converted file to " + outputFile.getAbsolutePath());
|
155 |
|
155 |
|
156 |
// also export the layout
|
156 |
// also export the layout
|
157 |
File layoutFile = OWLExport.getDefaultLayoutFile(outputFile);
|
157 |
File layoutFile = OWLExport.getDefaultLayoutFile(outputFile);
|
158 |
if (OWLExport.exportLayout(model, layoutFile, OWLExport.getDefaultIRI(outputFile), cmd.getOptionValue("view"))) {
|
158 |
if (OWLExport.exportLayout(model, layoutFile, ontologyIRI, cmd.getOptionValue("view"))) {
|
159 |
System.out.println("Wrote layout file to " + layoutFile.getAbsolutePath());
|
159 |
System.out.println("Wrote layout file to " + layoutFile.getAbsolutePath());
|
160 |
} else {
|
160 |
} else {
|
161 |
System.out.println("Didn't export layout.");
|
161 |
System.out.println("Didn't export layout.");
|
162 |
}
|
162 |
}
|
163 |
|
163 |
|