<div id="header-title" style="padding: 10px 15px; border-width:1px; border-style:solid; border-color:#FFD28C; background-image: url(<nop>https://jazz.net/wiki/pub/Deployment/WebPreferences/TLASE.jpg); background-size: cover; font-size:120%"> ---+!! <img src="" alt="" width="50" height="50" align="right"> Why can't I use Rational Team Concert patches with Rational Software Architect model files? %DKGRAY% Authors: IntegrationsTroubleshootingTeam <br> Build basis: Rational Team Concert 4.0.3, Rational Software Architect 9 %ENDCOLOR%</div></sticky> <!-- Page contents top of page on right hand side in box --> <sticky><div style="float:right; border-width:1px; border-style:solid; border-color:#DFDFDF; background-color:#F6F6F6; margin:0 0 15px 15px; padding: 0 15px 0 15px;"> %TOC{title="Page contents"}% </div></sticky> <sticky><div style="margin:15px;"></sticky> This article explains how Rational Software Architect (RSA) model files are affected if you attempt to include them in Rational Team Concert (RTC) patches. ---++ How do you create Rational Team Concert Patches for Rational Software Architect Models? The Rational Team Concert documentation describes how to create Patches: <a target="_blank" href="http://www.ibm.com/support/knowledgecenter/SSYMRC_4.0.5/com.ibm.team.scm.doc/topics/t_scm_patch.html">Creating and applying Rational Team Concert source control patches</a> To reproduce the issue, you can proceed as follows: 1 Create an empty model and share it in Rational Team Concert. 1 Add one class to the Model, called Class1. 1 Create a Patch. 1 Save the Patch on the file system. 1 Delete Class1 from the model. 1 Add some different model elements, for example an Actor and a !UseCase. 1 Save the model. 1 Check-In and Deliver the model. 1 Now, attempt to Apply the Patch and select Auto Resolve. ---++ What is the effect of creating Patches of Rational Software Architect Models? You will see this message: <verbatim>"None of these changes could be accepted. You will have to merge them manually.The Text in brackets should explain why the change could not be accepted."</verbatim> The text in brackets states: <verbatim>"Model1.emx - 29 lines (unable to match context lines)."</verbatim> If you open the patch file in a text editor, you will see that it contains a textual diff of the model files, as in the following code snippet: <verbatim> diff -u -N MyModelToPatch/Model1.emx MyModelToPatch/Model1.emx --- MyModelToPatch/Model1.emx 2014-04-09 15:02:46.000000053 +0200 +++ MyModelToPatch/Model1.emx 1970-01-01 01:00:00.000000006 +0100 @@ -1,14 +1,29 @@ <?xml version="1.0" encoding="UTF-8"?> <!--xtools2_universal_type_manager--> +<?com.ibm.xtools.emf.core.signature <signature id="com.ibm.xtools.mmi.ui.signatures.diagram" version="7.0.0"><feature description="" name="Rational Modeling Platform (com.ibm.xtools.rmp)" url="" version="7.0.0"/></signature>?> <?com.ibm.xtools.emf.core.signature <signature id="com.ibm.xtools.uml.msl.model" version="7.0.0"><feature description="" name="com.ibm.xtools.ruml.feature" url="" version="7.0.0"/></signature>?> -<?com.ibm.xtools.emf.core.signature <signature id="com.ibm.xtools.mmi.ui.signatures.diagram" version="7.0.0"><feature description="" name="Rational Modeling Platform (com.ibm.xtools.rmp)" url="" version="7.0.0"/></signature>?> </verbatim> Rational Software Architect models are very specialized types of XML files. They can only be compared or merged using tooling provided by Rational Software Architect itself. This tooling needs to receive the complete model file (and its fragments) so that it can compare it with another version. For this reason, it cannot be used by patches, which contains just a textual diff of the model versions. ---+++++!! Related topics: * Still need help troubleshooting your integrations issue? Refer to [[IntegrationsTroubleshooting][Integrations Troubleshooting]] for additional topics. ---+++++!! External links: * <a target="_blank" href="http://www.ibm.com/support/knowledgecenter/SSYMRC_4.0.5/com.ibm.team.scm.doc/topics/t_scm_patch.html">Creating and applying Rational Team Concert source control patches</a> * <a target="_blank" href="http://www.ibm.com/developerworks/rational/library/10/integrating-rsa-with-rtc-merge-uml-models/">Integrating Rational Software Architect with Rational Team Concert</a> ---+++++!! Additional contributors: Main.LaraZiosi <sticky></div></sticky>
This topic: Deployment
>
WebHome
>
DeploymentTroubleshooting
>
IntegrationsTroubleshooting
>
IntegrationsTroubleshootingRTCandIntegratedDevelopmentEnvironments
>
WhyCanTIUseRTCPatchesWithRSAModelFiles
History: r5 - 2015-05-27 - 16:15:00 - Main.sbagot
Copyright © by IBM and non-IBM contributing authors. All material on this collaboration platform is the property of the contributing authors.
Contributions are governed by our
Terms of Use.
Please read the following
disclaimer
.
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more
here
.