Skip to content

Commit

Permalink
fix: Add TeamForCapella flags for stable xmi:ids
Browse files Browse the repository at this point in the history
In the default configuration, `xmi:id`s are not stable.
This leads to a huge diff in Git in each commit.
With the added flags, the CDO IDs are used as xmi:id.
  • Loading branch information
MoritzWeber0 committed Sep 20, 2023
1 parent aa46088 commit 954142c
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions t4c/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# syntax=docker/dockerfile:1.4

# SPDX-FileCopyrightText: Copyright DB Netz AG and the capella-collab-manager contributors
# SPDX-License-Identifier: Apache-2.0

Expand Down Expand Up @@ -53,9 +55,13 @@ USER root

COPY setup_workspace.py /opt/setup/setup_t4c_client.py

RUN chown techuser /opt/capella/capella.ini && \
echo '-DOBEO_LICENSE_SERVER_CONFIGURATION=$T4C_LICENCE_SECRET' >> /opt/capella/capella.ini && \
echo '-Duser.name=$T4C_USERNAME' >> /opt/capella/capella.ini
RUN cat >> /opt/capella/capella.ini <<EOT && chown techuser /opt/capella/capella.ini
-DOBEO_LICENSE_SERVER_CONFIGURATION=\$T4C_LICENCE_SECRET
-Duser.name=\$T4C_USERNAME
-Dfr.obeo.dsl.viewpoint.collab.import.gmf.notation.keep.cdoid.as.xmiid=true
-Dfr.obeo.dsl.viewpoint.collab.import.other.elements.keep.cdoid.as.xmiid=true
EOT


WORKDIR /opt
ENV BASE_TYPE=t4c
Expand Down

0 comments on commit 954142c

Please sign in to comment.