Minor version with no API changes. Rebuild on Capella 1.4.2
Please also refer to Sirius Release Notes, Capella Release Notes and Sirius Collaborative Mode Release Notes
com.thalesgroup.mde.melody.collab.maintenance
and can be launched from the Scheduler's dedicated jobs. Refer to
Server Administration / Administration tools section of the documentation for more details.
fr.obeo.dsl.viewpoint.collab.server.warmup
plugin has been added on the server, it provides an org.eclipse.emf.cdo.spi.server.IAppExtension
which reacts to repository start-up and loads all found resources which are direct children of the projects folder (.representation folder and .srm representation resources are excluded). This initializes the revision manager caches at repository start-up and speeds up the session opening of the first connection to each project. This behavior can be disabled with the system property -Dfr.obeo.dsl.viewpoint.collab.server.enabledWarmup=false
.Team for Capella 1.4.0 introduces partial support for internationalization: all literal strings from the runtime part of the Team for Capella add-on are now externalized and can be localized by third parties by providing the appropriate "language packs" as OSGi fragments. Note that this does not concern the server components, the user profile component, the maintenance and importer applications, the administration components or the parts of the UI inherited from Eclipse/EMF/GEF/GMF/Sirius/CDO and other libraries and frameworks used by Team for Capella.
Some API changes were required to enable this. Most breaking changes concern the plug-in/activator classes from each bundle. They are:
com.thalesgroup.mde.melody.collab.license.registration.TeamForCapellaLicenseRegistrationPlugin
, a subclass of org.eclipse.emf.common.EMFPlugin
has been added. The corresponding OSGi bundle activator is the internal class TeamForCapellaLicenseRegistrationPlugin.Implementation
.Additional non-breaking changes:
plugin.properties
or messages.properties
file depending on their initialization with org.eclipse.sirius.ext.base.I18N
or inheritance to org.eclipse.osgi.util.NLS
. These (translated) messages are available at runtime as static fields of Messages
classes, added to all concerned bundles (always in the same package as their plug-in/activator class). The concerned bundles are:
com.thalesgroup.mde.melody.collab.ui
com.thalesgroup.mde.melody.collab.license.registration
Messages
classes have been completed with additional translation keys (and default values). Mutliple Messages
from the same plugins have been merged into a single class per plugin. The concerned bundles are:
com.thalesgroup.mde.cdo.emf.transaction
com.thalesgroup.mde.melody.collab.ui.airdfragment
plugin.xml
have been have been extracted with default values in the corresponding plugin.properties
files.com.thalesgroup.mde.melody.collab.importer.api.TeamImporterConstants.CDO_EXPORT
has been added to launch the cdo export
command and use this file as base to execute the repository import. This parameter should be used with XML_IMPORT_FILE_PATH to determine where the cdo export
file should be saved.-XMLImportFilePath
argument has been added to allow to use the importer from a file produced by a cdo export
command from the CDO server. In that case, the importer will not connect to the current cdo server but will perform the import from a virtual cdo server based on the XML export. The expected argument is the file path to the cdo export result.-cdoExport
argument has been added to make it possible to automatically perform the cdo export
command and use the resulting XML file as described in -XMLImportFilePath
above documentation. The default value is false. The -XMLImportFilePath
argument is mandatory since the same file path is used to perform the XML import.fr.obeo.dsl.viewpoint.collab.importer
plugin and a Team for Capella specific part. The code has been refactored and dispatched in the proper plugins. The previous version of the com.thalesgroup.mde.melody.collab.importer
plugin did not declare any classes as explicit API, com.thalesgroup.mde.melody.collab.importer.api.TeamImporterConstants
and com.thalesgroup.mde.melody.collab.importer.api.TeamImporterCDOExporter
have been promoted to API classes.fr.obeo.dsl.viewpoint.collab.importer.api.ImporterConstants
and are inherited by com.thalesgroup.mde.melody.collab.importer.api.TeamImporterConstants
: Arguments | Description |
---|---|
-exportCommitHistory | Whether the Commit History metadata should be exported (default: true). If the value is false, all other options about the commit history will be ignored. |
-includeCommitHistoryChanges | imports the commit history detailed changes for each commit (default: false). This option is applied for all kinds of export of the commit history(xmi, text or json files). |
-importCommitHistoryAsJson | import commit history in a json file format. The file has the same path as the commit history model file, but with json as extension. |
-overrideExistingProject | if the output folder already contains a project with the same name this argument allows to remove this existing project. |
-logFolder | defines the folder where to save logs (default : -outputFolder). Note that this folder needs to exist. |
-archiveProject | defines if the project should be zipped (default : true). Each project will be zipped in a separate archived suffixed with the date. |
-outputFolder | defines the folder where to import projects (default : workspace). Note that this folder needs to exist. |
The properties page (contextual action) on aird files of shared modeling project has a tab named Repository Information. This presents the connected repository information (location, port and name) as well as a list of connected users on the same repository.
Please also refer to Sirius Release Notes, Capella Release Notes and Sirius Collaborative Mode Release Notes
A new mode allowing lazy loading of representations is activated for shared modeling projects. It translates into much faster project opening because none of the representation data are loaded. The data of a representation are loaded only when the application requires it. Examples: open representation, copy representation, export representation as image etc... Warning: Passing from one mode to the other requires to clean the database. Indeed, the lazy loading of representations is linked to the fact that the representations are split in many resources in the database. Nevertheless, the application will work properly with a mix of split or non split representations.
Technically, the lazy loading of representations is activated with the preference CDOSiriusPreferenceKeys.PREF_CREATE_SHARED_REP_IN_SEPARATE_RESOURCE
set to true by Team for Capella. It can be disabled with the use of a system property: -Dcom.thalesgroup.mde.cdo.emf.transaction.enableRepresentationLazyLoading=false
.
The representation content is stored in a dedicated srm shared resource. Note that representations in local Capella projects are still stored in the aird resource.
uid is a new attribute on Sirius elements that are serialized in aird (and srm) resources. It is used as technical id for any element from the Sirius model which are stored in the aird (or srm) resources except for GMF notation elements. The old xmiids shared resource is no more used. Its role was to ensure that the xmi:id of elements were kept after export/import on the Team for Capella server.
com.thalesgroup.mde.cdo.emf.transaction.AirdCDOResourceImpl
was used for aird resource. It has been deleted and replaced by fr.obeo.dsl.viewpoint.collab.internal.remoteresource.CachedObjectCDOResourceImpl
com.thalesgroup.mde.melody.team.xmisupport
plugin has been removed as it is not useful anymore.The limitation that came out in Team for Capella 1.2.x is no more effective. While comparing a local project to a connected project or between two connected projects, no differences will be shown between representations if they are identical.
Please have a look at Capella Model Diff/Merge Documentation for more details.
The Audit mode is now active by default in the Team for Capella server. This mode aims to keep tracks of all versions of each object in the server database. It is required for comparing different versions of the model for example.
Please have a look at Audit mode for more details.
User profile resource permission now can use a regular expression with spaces. If you used the %20 encoding to bypass this problem, then you must replace it by a standard space to make it work with the new version.
The Commit History View has been improved to display a commits list related to the selection and also displaying the impacted elements of one or several selected commits. See the Commit View section in the user documentation of Sirius Collaborative Mode for more details about those changes: Commit History View.
The commit description dialog box is displayed if there is a warning associated to the commit description. A warning occurs when:
Please have a look at Change Management for more details.
Uid can be used as technical id for representations in case when the XmiId synchronization is disabled.
Please have a look at Capella release note for more details about the usage of uid and the migration of models from previous versions to update uids.
Because of the abandonment of using XmiID as the identification for representations and their elements while performing a Diff/Merge operation between 2 Capella projects, the graphical internal elements between two representations are technically not possible to be matched. It causes an impact while comparing and merging 2 projects in Team environment:
Please have a look at Capella Model Diff/Merge Documentation for more details.
This XmiidsResource creation during export and its synchronization mechanism are now disabled by default. The system property "-Dcom.thalesgroup.mde.cdo.emf.transaction.disableXmiidsSynchronization=false" allows to re-enable it if needed.
Please have a look at VM Arguments > Disable XmiId synchronization for more details.
The durable locking mechanism is now disabled by default.
Please have a look at Durable locks management view for more details.
Please have a look at Release note for Sirius Collaborative Mode for more details.
Team for Capella is now based on CDO 4.6 (previous versions used CDO 4.4).