]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Import published shared ontologies as immutable
authorvillberg <villberg@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 9 Sep 2014 05:04:35 +0000 (05:04 +0000)
committervillberg <villberg@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 9 Sep 2014 05:04:35 +0000 (05:04 +0000)
refs #5278

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@30233 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn/src/org/simantics/sysdyn/utils/imports/ImportUtils.java

index ceeff8aaefb53262cfa14a45a6e3a15a99e42fac..18be49f708d1ef6ce3624aea23e6f4351c295af7 100644 (file)
@@ -173,7 +173,7 @@ public class ImportUtils {
             for(ModelDependency dependency : dependenciesBean.dependencies) {\r
                 Resource existing = session.sync(new PossibleResource(dependency.uri));\r
                 if(existing == null) {\r
-                    MigrationUtils.importSharedOntology(session, dependency.tg);\r
+                    MigrationUtils.importSharedOntology(session, dependency.tg, false);\r
                 }\r
             }\r
         }\r