Skip to content

Developing Import and Export Plug ins

Phil Beauvoir edited this page Sep 21, 2025 · 17 revisions

Creating Import and Export Plug-ins

To create a plug-in for Archi that allows you to export or import certain file types into or out of Archi take a look at the example plug-in com.archimatetool.importexportexample.

You can copy this plug-in but you'll need to rename a few files to suit your own namespace - the project name in the .project file, the bundles, namespaces in the files plugin.xml and MANIFEST.MF, and rename the example Java classes and packages to match yours.

These are simple examples meant to get you started. Other examples of import and export can be found in Archi's CSV and Exchange Format bundles.

Deploying a Plug-in

The end-user will need to deploy the plug-in in their Archi installation in their "dropins" folder. You will need to:

  1. Export the plug-in as a jar file from Eclipse (File -> Export -> Deployable plug-ins and fragments)
  2. Make the plug-in jar(s) available to Archi users

The end user will need to:

  1. Close Archi if it is open
  2. Copy the plug-in to Archi's "dropins" folder (if this does not exist you will need to create it)
  3. Relaunch Archi
  4. After relaunching Archi, the plug-in will be available in Archi.

Note:

The default "dropins" folder is located in the following file locations:

Windows: ~/AppData/Roaming/Archi/dropins
Mac: ~/Library/Application Support/Archi/dropins
Linux: ~/.archi/dropins

("~" is the user's home directory)

Or you can manually create a "dropins" folder alongside the Archi installation's "plugins" folder.

Clone this wiki locally