Archi Forum

Archi => General Archi Discussion => Topic started by: damo22 on December 06, 2021, 19:36:55 PM

Title: Using CLI to launch into a model
Post by: damo22 on December 06, 2021, 19:36:55 PM
Hi,

I am wanting to launch Archimate into specific models, ie rather than many. Via CLI, I can do it by launching editor and with dedicated profile directories. I am interested if there is any other way to do it. For example, launch Archimate with profile "archi4/MODEL1:

/usr/local/Archi/Archi -application com.archimatetool.editor.app -cleanConfig --launcher.defaultAction openFile -vmargs -Dosgi.instance.area=@user.home/archi4/MODEL1 -Dosgi.configuration.area=@user.home/archi4/MODEL1/.config -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=%user.home%/archi4/dropins

Thanks for your great work!
Title: Re: Using CLI to launch into a model
Post by: Phil Beauvoir on December 07, 2021, 08:58:41 AM
Hi, what are you trying to achieve? To launch Archi with just one model loaded in the Models Tree, or launch Archi from the CL? Loaded model references are stored in a "models.xml" file in the user home ".archi4" directory.
Title: Re: Using CLI to launch into a model
Post by: damo22 on December 19, 2021, 07:42:05 AM
Trying to launch archi with one model in models tree. Many different contexts, wanting to launch archi for a given model/context