Packaging a new Archi Export Plugin

Started by Thomas Rischbeck (ITMC.ch), August 14, 2020, 09:18:47 AM

Previous topic - Next topic

Thomas Rischbeck (ITMC.ch)

We want to create a new plugin to Archi that generates a Word document using the javadocx  library. Based on the ImportExportExample the first prototype runs within an Eclipse launch configuration.

How would we go about creating a distributable Plugin/Dropin *.jar file from this? I can do it manually but presume that some built-in logic for this is already available somewhere.
ITMC AG • Bahnhofstrasse 10 • CH-8001 Zürich
Dr. Thomas Rischbeck
PhD in Computer Science
Managing Partner   
rischbeck@itmc.ch
www.itmc.ch

Phil Beauvoir

August 14, 2020, 09:25:40 AM #1 Last Edit: August 14, 2020, 09:51:57 AM by Phil Beauvoir
I do it manually, too. I have not found a way to automate it.

Make sure the "build.properties" file has all the right dependencies ticked.

Select the project(s) in Eclipse and choose "Export -> Deployable plug-ins and fragments" and export the jar(s) or folder(s) into a directory.

BTW - Archi plug-ins in the "*.archiplugin" format are the exported jar(s) zipped into a zip file (the extension is renamed) together with the magic "archi-plugin" marker file so Archi knows that it's an Archi plug-in that can be unpacked and copied to the "dropins" folder (rather than some random *.jar file). In fact, you could just manually copy the *.jar file(s) to the "dropins" folder.
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate

Thomas Rischbeck (ITMC.ch)

Phil,

Thanks for your help - the Eclipse Export did the trick and I've got my first Archi Plugin running.
What a wonderful feeling!!!  ;D

Cheers and happy weeekend, Thomas.
ITMC AG • Bahnhofstrasse 10 • CH-8001 Zürich
Dr. Thomas Rischbeck
PhD in Computer Science
Managing Partner   
rischbeck@itmc.ch
www.itmc.ch

Phil Beauvoir

Hi Thomas,

great news! Congratulations!

Two Top Tips:

1. Nothing in Eclipse is easy
2. See (1)

;-)
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate