Date: Fri, 29 Mar 2024 08:56:51 +0100 (CET) Message-ID: <148025164.1680.1711699011587@nm-docs> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_1679_648213515.1711699011587" ------=_Part_1679_648213515.1711699011587 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Users can create their own resource distribution files and insta= ll resources from them using the Resource Manager. These files can contain = plugins/profiles/model libraries etc. The resources must be packed to separ= ate .zip files.
This can be useful for distributing a set of resources accompanied with = custom resources or in a locked down environment where the resource bundle = is hosted in a local network.
There are multiple ways to create a resource bundle:
1) Using the Development Tools plugin GUI
The Development Tools plugin can either be installed fr= om the NoMagic Resource Server or can be found in the no-cost resource dist= ribution file.
2) Using command line tool.
In case the process of building a resourc= e distribution files should be automated, it can be done using command line= tool.
Three arguments are required:
Example:
java -cp= "lib/*;lib/bundles/*" com.nomagic.magicdraw.resourcemanager.distribution.G= enerateResourceDistributionFileTask "E:\myResources" "E:\myBundles" "myCust= omResourceDistributionFile"
Resource distribution file creator checks for validity of each resource.= Only valid resources are included in the resource distribution file. The r= esources must meet the required folder/file structure and must contain appr= opriate descriptor file. For more information about the folder/file structu= re visit Creating required files and folders structure