--- a/src/net/timbusproject/context/converter/OWLExportCLI.java
+++ b/src/net/timbusproject/context/converter/OWLExportCLI.java
@@ -59,6 +59,12 @@
// Changed from EditorModelManager#loadModel(File): need register the Archimate package, if that's not done yet
if (!resourceSet.getPackageRegistry().containsKey(IArchimatePackage.eNS_URI)) {
resourceSet.getPackageRegistry().put(IArchimatePackage.eNS_URI, IArchimatePackage.eINSTANCE);
+ }
+
+ // to allow backwards compability, also register the OLD URI
+ String OLD_eNS_URI = "http://www.bolton.ac.uk/archimate";
+ if (!resourceSet.getPackageRegistry().containsKey(OLD_eNS_URI)) {
+ resourceSet.getPackageRegistry().put(OLD_eNS_URI, IArchimatePackage.eINSTANCE);
}
// Ascertain if this is an archive file