[SOLVED] Run Archi model file from commandline

Started by keypey, May 28, 2016, 17:11:56 PM

Previous topic - Next topic

keypey

Hi.
I have stupid questions.
Can I run Archi with Archi model file from bash (linux64/debian) command line?

Thanks and Regards,
kp.,
 

Phil Beauvoir

Hi,

(not a stupid question :-) )

I don't think this is implemented, though it may be possible to do. I'd have to see if Eclipse apps can do this.

Phil
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

Hervé

#2
Hi Keypey,

The only way I know (even if others may exist) is to edit the models.xml file (in the %appdata%\Archi folder on Windows) :
Quote<?xml version="1.0" encoding="UTF-8"?>
<models>
  <model file="D:\path\to\model.archimate" />
</models>

Then the model/s is/are automatically loaded when Archi starts ...

Hope this helps.

Best regards
Hervé

keypey

Hi Hervé.
I created models.xml file (in the ~/.arch/ Linux), script, thunar (xfce) "right" click action (*.archimate) and ... it's work.
Archi sometimes reported: "This View is no longer available" (from previously opened model), but it is not a problem.

Thanks Hervé!