Author Topic: batch processing of files or headless-mode - is it possible?  (Read 2457 times)

bookwar

  • Newbie
  • *
  • Posts: 1
batch processing of files or headless-mode - is it possible?
« 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?

Phil Beauvoir

  • Archi Master
  • Hero Member
  • *****
  • Posts: 922
    • Archi
Re: batch processing of files or headless-mode - is it possible?
« Reply #1 on: March 08, 2015, 10:25:13 AM »
That functionality does not exist in Archi. It may be possible to write such a converter.
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate

sandervd

  • Newbie
  • *
  • Posts: 2
Re: batch processing of files or headless-mode - is it possible?
« Reply #2 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?

Phil Beauvoir

  • Archi Master
  • Hero Member
  • *****
  • Posts: 922
    • Archi
Re: batch processing of files or headless-mode - is it possible?
« Reply #3 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.
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate

sandervd

  • Newbie
  • *
  • Posts: 2
Re: batch processing of files or headless-mode - is it possible?
« Reply #4 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  ;)

Phil Beauvoir

  • Archi Master
  • Hero Member
  • *****
  • Posts: 922
    • Archi
Re: batch processing of files or headless-mode - is it possible?
« Reply #5 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
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate