Archi Forum

Archi => Archi Development => Topic started by: bookwar on March 07, 2015, 19:53:23 PM

Title: batch processing of files or headless-mode - is it possible?
Post by: bookwar on March 07, 2015, 19:53:23 PM
Is there any possibility to use Archi as a converter tool in command-line mode?

Let's say I have number of model files stored on my server and I want automatically publish them to html share. How can I do this?
Title: Re: batch processing of files or headless-mode - is it possible?
Post by: Phil Beauvoir on March 08, 2015, 10:25:13 AM
That functionality does not exist in Archi. It may be possible to write such a converter.
Title: Re: batch processing of files or headless-mode - is it possible?
Post by: sandervd on March 09, 2018, 08:13:49 AM
I know this is an old topic, but as I'm also quite interested in this, I was wondering if this is still the current state?
Title: Re: batch processing of files or headless-mode - is it possible?
Post by: Phil Beauvoir on March 09, 2018, 08:45:20 AM
Command line support now exists - see https://github.com/archimatetool/archi/wiki/Archi-Command-Line-Interface - but, of course, you'd have to write your own converter.
Title: Re: batch processing of files or headless-mode - is it possible?
Post by: sandervd on March 18, 2018, 22:21:35 PM
Great! It's the first time I write a bit of Java code, let's say I learned quite a bit this weekend  :)
Elipse RCP looks really interesting.

I made a PR to add cli support to Grafico, I probably made quite some stupid mistakes (as I'm not familiar with the build system etc.)
https://github.com/archi-contribs/archi-grafico-plugin/pull/14

All feedback is more then welcome, I feel there is a lot to learn here  ;)
Title: Re: batch processing of files or headless-mode - is it possible?
Post by: Phil Beauvoir on March 18, 2018, 22:23:29 PM
Hi Sander!

good enthusiasm! I replied to your PR. Basically Grafico is superseded by this https://github.com/archi-contribs/archi-modelrepository-plugin

Phil