
To perform a batch update via Eclipse client from file system:
This example describes how to perform a batch update. In this example, there are four asset root folders for you to import four assets. These folders are shown as below:

The purpose is to import these asset metadata from file system to repository Rational Asset Manager and set communities and asset types, according to artifact usage.
Configure the manifest and artifact of the four assets
Directory of C:\Asset source\bin asset
09/29/2014 01:24 PM <DIR> .
09/29/2014 01:24 PM <DIR> ..
03/20/2012 11:54 AM 350,627 log4j-1.2.11.jar
09/29/2014 01:30 PM 475 manifest.rmd
Manifest file (you will upload .jar file as artifact):
<?xml version="1.0" encoding="UTF-8"?>
<defaultprofile:Asset xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
xmlns:defaultprofile="http:///defaultprofile.ecore"
name="log4j bin" version="1.2.11" shortDescription="log4j jar file">
<classification>
<descriptorGroup name="AssetType">
<nodeDescriptor href="executable jar" />
</descriptorGroup>
</classification>
<solution>
<artifact name="log4j-1.2.11.jar">
<reference><value>log4j-1.2.11.jar</value></reference>
</artifact>
</solution>
</description><value>Longer description</value></description>
</defaultprofile:Asset>
Directory of C:\Asset source\doc asset
09/29/2014 01:24 PM <DIR> .
09/29/2014 01:24 PM <DIR> ..
09/29/2014 01:30 PM 560 manifest.rmd
Manifest file which contains a URL artifact to the online documentation:
<?xml version="1.0" encoding="UTF-8"?>
<defaultprofile:Asset xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
xmlns:defaultprofile="http:///defaultprofile.ecore"
name="doc asset" version="1.0" shortDescription="short description">
<classification>
<descriptorGroup name="AssetType">
<nodeDescriptor href="documentation"/>
</descriptorGroup>
</classification>
<solution>
<artifact name="API reference" type="url">
<reference value="http://logging.apache.org/log4j/1.2/apidocs/index.html">
<referenceKind name="url"/>
</reference>
</artifact>
</solution>
<description><value>Longer description</value></description>
</defaultprofile:Asset>
Directory of C:\Asset source\source code asset
09/29/2014 01:30 PM <DIR> .
09/29/2014 01:30 PM <DIR> ..
09/29/2014 11:17 AM <DIR> folder
09/29/2014 01:38 PM 536 manifest.rmd
Directory of C:\Asset source\source code asset\folder
09/29/2014 11:17 AM <DIR> .
09/29/2014 11:17 AM <DIR> ..
09/29/2014 11:16 AM 27,008 log4j-1.2.11.zip
Manifest file which contains source code compressed in .zip file (source code is placed in a folder):
<?xml version="1.0" encoding="UTF-8"?>
<defaultprofile:Asset xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
xmlns:defaultprofile="http:///defaultprofile.ecore"
name="log4j-src" version="1.2.11" shortDescription="short description">
<classification>
<descriptorGroup name="AssetType">
<nodeDescriptor href="source code" />
</descriptorGroup>
</classification>
<solution>
<artifact name="folder" type="folder">
<artifact name="log4j-1.2.11.zip" type="application/zip"/>
<reference value="log4j-1.2.11.zip"/>
</artifact>
</artifact>
</solution>
<description><value>Longer description</value></description>
</defaultprofile:Asset>
Directory of C:\Asset source\source code2 asset
09/29/2014 01:32 PM <DIR> .
09/29/2014 01:32 PM <DIR> ..
09/29/2014 11:16 AM 27,008 log4j-1.2.11.zip
09/29/2014 11:17 AM 911 manifest.rmd
Manifest file which contains source code compressed in .zip file:
<?xml version="1.0" encoding="UTF-8"?>
<defaultprofile:Asset xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
xmlns:defaultprofile="http:///defaultprofile.ecore"
name="log4j-src" version="1.2.11" shortDescription="short description">
<classification>
<descriptorGroup name="AssetType">
<nodeDescriptor href="source code" />
</descriptorGroup>
</classification>
<solution>
<artifact name="log4j-12.11.zip" type="text/plain">
<reference><value>log4j-12.11.zip</value></reference>
</artifact>
</solution>
</defaultprofile:Asset>
<classification>
<descriptorGroup name="AssetType">
<!-- specify the asset type url, or set a value here and map it to a existing asset type url in batch update later -->
<nodeDescriptor href="source code" />
</descriptorGroup>
</classification>
Set asset communities in the Batch editor


A new community rule is added under Asset rule for source assets, and the community of source asset is set as Sample Open Source.




