diff --git a/CIMToolPlugin/src/au/com/langdale/cimtoole/builder/CIMBuilder.java b/CIMToolPlugin/src/au/com/langdale/cimtoole/builder/CIMBuilder.java index f45901b2..6c3f5e66 100644 --- a/CIMToolPlugin/src/au/com/langdale/cimtoole/builder/CIMBuilder.java +++ b/CIMToolPlugin/src/au/com/langdale/cimtoole/builder/CIMBuilder.java @@ -25,7 +25,6 @@ import au.com.langdale.cimtoole.builder.ConsistencyChecks.ProfileChecker; import au.com.langdale.cimtoole.builder.ProfileBuildlets.CopyBuildlet; -import au.com.langdale.cimtoole.builder.ProfileBuildlets.LegacyRDFSBuildlet; import au.com.langdale.cimtoole.builder.ProfileBuildlets.ProfileBuildlet; import au.com.langdale.cimtoole.builder.ProfileBuildlets.SimpleOWLBuildlet; import au.com.langdale.cimtoole.builder.ProfileBuildlets.TransformBuildlet; @@ -55,10 +54,10 @@ public Buildlet[] createBuildlets() { new TransformBuildlet(null, "xml"), // new SimpleOWLBuildlet(Format.RDF_XML.toFormat(), "simple-flat-owl", false), // new SimpleOWLBuildlet(Format.RDF_XML_ABBREV.toFormat(), "simple-owl", false), // - new LegacyRDFSBuildlet(Format.RDF_XML.toFormat(), "legacy-rdfs", false), // + //new LegacyRDFSBuildlet(Format.RDF_XML.toFormat(), "legacy-rdfs", false), // Replaced by an XSLT equivalent new SimpleOWLBuildlet(Format.RDF_XML.toFormat(), "simple-flat-owl-augmented", true), // new SimpleOWLBuildlet(Format.RDF_XML_ABBREV.toFormat(), "simple-owl-augmented", true), // - new LegacyRDFSBuildlet(Format.RDF_XML.toFormat(), "legacy-rdfs-augmented", true), // + //new LegacyRDFSBuildlet(Format.RDF_XML.toFormat(), "legacy-rdfs-augmented", true), // Replaced by an XSLT equivalent new CopyBuildlet(Format.TURTLE.toFormat(), "ttl"), // new ValidationBuildlet(), // new SplitValidationBuildlet(), // diff --git a/CIMToolPlugin/src/au/com/langdale/cimtoole/builder/ProfileBuildlets.java b/CIMToolPlugin/src/au/com/langdale/cimtoole/builder/ProfileBuildlets.java index 8135aa1a..b1d79a87 100644 --- a/CIMToolPlugin/src/au/com/langdale/cimtoole/builder/ProfileBuildlets.java +++ b/CIMToolPlugin/src/au/com/langdale/cimtoole/builder/ProfileBuildlets.java @@ -4,6 +4,7 @@ */ package au.com.langdale.cimtoole.builder; +import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.util.Collection; @@ -205,6 +206,7 @@ protected void build(IFile result, IProgressMonitor monitor) throws CoreExceptio ProfileSerializer serializer = new ProfileSerializer(tree); try { serializer.setBaseURI(tree.getNamespace()); + serializer.setOntologyURI(tree.getOntologyNamespace()); // Set available copyright headers for use during profile generation. serializer.setCopyrightMultiLine(Info.getMultiLineCopyrightText(file.getProject())); @@ -448,10 +450,10 @@ private static ProfileBuildlet[] getAvailable() { new TransformBuildlet(null, "xml"), // new SimpleOWLBuildlet(Format.RDF_XML.toFormat(), "simple-flat-owl", false), // new SimpleOWLBuildlet(Format.RDF_XML_ABBREV.toFormat(), "simple-owl", false), // - new LegacyRDFSBuildlet(Format.RDF_XML.toFormat(), "legacy-rdfs", false), // + //new LegacyRDFSBuildlet(Format.RDF_XML.toFormat(), "legacy-rdfs", false), // Replaced by an XSLT equivalent new SimpleOWLBuildlet(Format.RDF_XML.toFormat(), "simple-flat-owl-augmented", true), // new SimpleOWLBuildlet(Format.RDF_XML_ABBREV.toFormat(), "simple-owl-augmented", true), // - new LegacyRDFSBuildlet(Format.RDF_XML.toFormat(), "legacy-rdfs-augmented", true), // + //new LegacyRDFSBuildlet(Format.RDF_XML.toFormat(), "legacy-rdfs-augmented", true), // Replaced by an XSLT equivalent new CopyBuildlet(Format.TURTLE.toFormat(), "ttl") // };