Team for Capella - Releases 1.2

Team for Capella 1.2.2 (2019-02-01)

CompatibilityCapella 1.2.2

 

What's new

The Team for Capella 1.2.2 maintenance release brings four major changes compared to Team for Capella 1.2.1:

  • The cleanup phase done by the export wizard before the export of the model to the server has been completed with an additional pattern for invalid representation (RepresentationDescriptors without target representation). This avoids to export representations or representation shortcuts whose cannot be opened by the users.
  • A new "Repository Information" properties page is available for .aird files in the dialog displayed by the Properties action of the contextual menu. It displays repository information (location, port, name) and the list of users connected to the repository.
  • It is now possible to hide lock and permission decorations during the export of representation as images thanks to a new system property ( -Dorg.eclipse.sirius.diagam.ui.hidePrintingOfPermissionAuthorityDecoration=true)
  • The Scheduler configuration has been updated to
    • Trigger the "Start server" and "Start License Server" with a sixty seconds delay after Jenkins start
    • Create the Scheduler temporary files in a temp subfolder instead of the Temp folder of Windows. The "Winstone jar cleanup" job has been added to cleanup this folder and avoid a disk space leak with Jenkins 2.46.2. 

 

Important note

If you move from 1.1.x or from 1.2.0 to this new version, it is recommended to use a new workspace: durable locks have been disabled by default but older versions used to activate this feature as a user choice. It is also possible to clean the old workspace by removing the PREF_ENABLE_DURABLE_LOCKING=true preference value from the workspace metadata located in: .metadata\.plugins\ org.eclipse.core.runtime\.settings\fr.obeo.dsl.viewpoint.collab.prefs file of your workspace.

Important note related to Java 8:

Since Java 8 U161, some mechanisms used by CDO for the authentication have been deactivated by default for security reasons (JDK-8185292). To ensure that authentication properly works with latest Java releases, the previous behavior is activated with the use of the system property -Djdk.crypto.KeyAgreement.legacyKDF (in the client, the server and the importer).

 

Fixed Issues

This version also introduces several fixes:

  • The "Discard remote changes" action now releases the corresponding locks.
  • Permissions can now work with models whose path contains spaces.
  • The "override existing resource" capability checks done by the Export wizard have been corrected to support servers configured with user profiles.
  • Better Folder hierarchy conservation while exporting models to the server.
  • A few other minor fixes around collaborative features or the compatibility between Capella features and the collaborative add-on.
  • Documentation minor fixes and improvements

Team for Capella 1.2.1 (2018-06-11)

Compatibility: Capella 1.2.1

 

What's new

The Team for Capella 1.2.1 maintenance release brings four major changes compared to Team for Capella 1.2.0:

  • Save protection by a lock on the shared resource: allows to display a "Save canceled, retry later" popup to other users who try to save while a save is already in progress. This allows to avoid several kind of Save Failed errors or CommitConflict exceptions. It can be disabled with the system property -Dfr.obeo.dsl.viewpoint.collab.disableSaveProtectionByRemoteAirdLocking=true
  • Durable locks are now disabled by default, ie. locks are released when a user closes its connected Capella project. The durable locks feature can be enabled using the plugin_customization.ini mechanism: in capella/eclipse/plugin_customization.ini just add fr.obeo.dsl.viewpoint.collab/PREF_ENABLE_DURABLE_LOCKING=true
  • XmiIds synchronization is now disabled by default. This allows several performance and stability improvements on models with many (and/or) big representations but this also disables the diff-merge capabilities for local vs distant models and the identification of representation data between each import (Importer, import wizard). XmiIds synchronization can be enabled with the system property: -Dcom.thalesgroup.mde.cdo.emf.transaction.disableXmiidsSynchronization=false.
  • The Export model to remote repository wizard has been completed with an optional page. It brings new capabilities:
    • Override existing resources: if the repository already contains the same resources, they will be overridden. This is done only if there are no other connected session and if it is not a library project. This option is unchecked by default. Note that it is possible to override without checks with the system property -Dfr.obeo.dsl.viewpoint.collab.api.export.without.check=true
    • Connect to the exported project: this option causes to directly launch the connection wizard after the export wizard. This option is unchecked by default.
    • Export referenced workspace images: if this option is checked the local images used in diagrams about to be exported, will be exported as well. If unchecked, the exported diagrams layout will be untouched but the images will be replaced by a default "Image not found" picture. This option is checked by default.

 

Important note

For this specific version it is recommended to use a new workspace: durable locks have been disabled by default but older versions used to activate this feature as a user choice. It is also possible to clean the old workspace by removing the PREF_ENABLE_DURABLE_LOCKING=true preference value from the workspace metadata located in: YourWorkspace\.metadata\.plugins\ org.eclipse.core.runtime\.settings\fr.obeo.dsl.viewpoint.collab.prefs

Important note related to Java 8:

Since Java 8 U161, some mechanisms used by CDO for the authentication have been deactivated by default for security reasons (JDK-8185292). To ensure that authentication properly works with latest Java releases, the previous behavior is activated with the use of the system property -Djdk.crypto.KeyAgreement.legacyKDF (in the client, the server and the importer).

 

Fixed Issues

This version also introduces several fixes:

  • Fix message about LockedInstanceException; When several objects must be locked, a global LockedInstanceException is thrown for all objects even if only one is locked. Only the first object of the list used to be displayed as locked even if it was not. Now the message is clearer and explains that at least one element is locked.
  • Fix deadlock occuring in different scenario with many users: deletion on one side and other clients doing diagram creation, undo of diagram deletion, drag and drop of elements on diagram.
  • Release locks after the cancellation of a Capella transition action.
  • Editor not closed when remote user deletes the semantic root.
  • Dirty session at opening due to missing id on Capella elements.
  • Error when closing a dirty session (after click on 'do not save').
  • Unexpected StopVisitException and UnsupportedOperationException during conflict resolution.
  • Unexpected Save failed issue caused by DanglingIntegrityException.
  • Unexpected close of the session after exporting representations as images.
  • Duplicated XmiiIds elements after representation creation.
  • Save Failed after creation and deletion of the same diagram.
  • Freeze after using new Connection Project wizard and undoing all possible modifications.
  • Update the Jenkins plugins provided in the Scheduler.
  • Add a job to help the license registration for the Importer.
  • Fix durable lock management view to display only the durable lock from the specified repository.
  • Fix the Commit History View refresh when the selection did not change.
  • Fix installation script to handle path with spaces.
  • Correctly stop the CDOLockListenerJob at the end of the Import jobs.
  • Lock OperationalCapability when creating a diagram on it.
  • Fix connected project creation when project alredy exists on disk.
  • Fix authentication failures with Java8u161 and newer. The installation script now adds the -Djdk.crypto.KeyAgreement.legacyKDF=true system property to the client .ini file.
  • Documentation minor fixes and improvements.