RelatedAssetList

Description

Represents related assets in list form. The list must be in the following format:

relationshipType1Name:relatedAsset1Guid/relatedAsset1Version,...;...
This type is useful if related assets are specified in a properties file. You might have many relationship types with many related assets of each type. Each relationship type group must be separated by a semicolon. Each asset within a particular relationship type group must be separated by a comma.

Parameters

Attribute Description Required
eclipseproject An Eclipse project folder. If the project is set up to download artifacts from Rational Asset Manager, those artifacts are automatically added as related assets by using the dependency relationship. No
server The ID of the server that connects to Rational Asset Manager Yes
replace Defines which related assets to replace with the specified related assets. The following values are allowable and are not case sensitive:
  • All: All related assets are removed and replaced by related assets from this list.
  • ByRelationshipType: All related assets of a type that is specified in this list are removed and replaced by assets of that type that are in this list. For example, if this list is "dependency:0000-1111-2222/1.0", all of the related assets that are of type dependency are removed and replaced by asset 0000-1111-2222/1.0, while all of the other related assets remain intact.
  • ByGUID: All related assets that have a GUID that is specified in this list are removed and replaced by the assets in this list. For example, if this list is "dependency:0000-1111-2222/2.0" and the related asset 0000-1111-2222/1.0 is of type dependency, that asset is removed and replaced by 0000-1111-2222/2.0.
No

Example

Submit an asset with two related assets that it depends on and one container asset

<submit server="ramServer">
   <asset>
      <name>My Asset</name>
      <version>1.0</version>
      <community>Community A</community>
      <assetType>Component</assetType>
      <shortDescription>This is my asset!</shortDescription>
      <relatedAssetList>Depends on:{0000-1111-2222}/1.1,{2222-3333-4444}/2.4;Container:{0000-2222-4444}/1.3</relatedAssetList>
   </asset>
</submit>