diff options
Diffstat (limited to 'plugins/org.eclipse.osee.framework.database.init/src/org/eclipse/osee/framework/database/init/AddCommonBranch.java')
-rw-r--r-- | plugins/org.eclipse.osee.framework.database.init/src/org/eclipse/osee/framework/database/init/AddCommonBranch.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.framework.database.init/src/org/eclipse/osee/framework/database/init/AddCommonBranch.java b/plugins/org.eclipse.osee.framework.database.init/src/org/eclipse/osee/framework/database/init/AddCommonBranch.java index 91222a1da04..b35a80d97d6 100644 --- a/plugins/org.eclipse.osee.framework.database.init/src/org/eclipse/osee/framework/database/init/AddCommonBranch.java +++ b/plugins/org.eclipse.osee.framework.database.init/src/org/eclipse/osee/framework/database/init/AddCommonBranch.java @@ -73,12 +73,11 @@ public abstract class AddCommonBranch implements IDbInitializationTask { Artifact artifact = ArtifactTypeManager.addArtifact(CoreArtifactTypes.OseeTypeDefinition, BranchManager.getCommonBranch(), entry.getKey(), GUID.create(), HumanReadableId.generate()); - artifact.setSoleAttributeFromString(CoreAttributeTypes.Extension, ".osee"); artifact.setSoleAttributeValue(CoreAttributeTypes.Active, true); InputStream inputStream = null; try { inputStream = new BufferedInputStream(entry.getValue().openStream()); - artifact.setSoleAttributeFromStream(CoreAttributeTypes.NativeContent, inputStream); + artifact.setSoleAttributeFromStream(CoreAttributeTypes.UriGeneralStringData, inputStream); } catch (IOException ex) { OseeExceptions.wrap(ex); } finally { |