#!/bin/bash

#
#  This scripts reads the XMLpath and export all files to .archimate & Archimate XML file for import into ARIS
#  It creates the Functional and Governance views for each processed file
#  Script input is a sequence of application tags

if [ -z "${myDir+xxx}" ]; then
  myDir=.
fi

template="template.archimate"
scriptdir="$myDir/.archi4/jArchi"

# cd "$scriptdir" || exit 1


xvfb-run -a -n 1 -l "$myDir/Archi/Archi" -application com.archimatetool.commandline.app -consoleLog -nosplash \
  --loadModel "$myDir/$template" \
  --script.runScript "$scriptdir/test.ajs"



