From: villberg Date: Tue, 9 Sep 2014 05:04:35 +0000 (+0000) Subject: Import published shared ontologies as immutable X-Git-Tag: v1.29.0~186 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=4c2ad67e0c0dbde88f84b67e059abe02b675a452;p=simantics%2Fsysdyn.git Import published shared ontologies as immutable refs #5278 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@30233 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.sysdyn/src/org/simantics/sysdyn/utils/imports/ImportUtils.java b/org.simantics.sysdyn/src/org/simantics/sysdyn/utils/imports/ImportUtils.java index ceeff8aa..18be49f7 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/utils/imports/ImportUtils.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/utils/imports/ImportUtils.java @@ -173,7 +173,7 @@ public class ImportUtils { for(ModelDependency dependency : dependenciesBean.dependencies) { Resource existing = session.sync(new PossibleResource(dependency.uri)); if(existing == null) { - MigrationUtils.importSharedOntology(session, dependency.tg); + MigrationUtils.importSharedOntology(session, dependency.tg, false); } } }