Astah Total Merge Utility Guide

November 12, 2019
Change Vision, Inc.


[Overview]

It updates Reference models by using Command line, astah-runw.exe for Windows and astah-run.sh for Mac and Linux.

[Updates Certain Reference Models based on Time Stamp]

By using update-all with specified directory, you are able to update all the .asta files which are stored in the specified directory and are not updated yet in Astah. The command line tool checks whether they needed to be updated or not by the time stamp that the file contains. However by using use-builtin-timestamp or ubt, you can find .asta files to be updated based on the timestamp which the project has.

[Windows] Updating based on file timestamp astah-runw.exe C:\workspace\astah update-all

[Mac/Linux] Updating based on projects time stamp astah-run.sh ~/workspace/astah update-all use-builtin-timestamp
astah-run.sh ~/workspace/astah update-all ubt


[Update all Reference Models]

Use following commands to update all the reference models in all *.asta files inside the selected directory.

[Windows] astah-runw.exe C:\workspace\astah update-all-force


[System Requirements]

Running this command line tool requires you to have an environment that runs Astah. If you use a large size of project, you may need to adjust the JavaVM memory option.

[Windows] Edit astah-runw.l4j.ini [Initial Heap size]
-Xms16m
This means the initial heap size is 16Mbytes, so change the 16.

[Maximum Heap size]
-Xmx384m
This means the maximum heap size is 384Mbytes. So change the 384.

[Mac/Linux] Edit astah-run.sh [Initial Heap size]
INITIAL_HEAP_SIZE=64m
This means the initial heap size is 64Mbytes, so change the 64.

[Maximum Heap size]
MAXIMUM_HEAP_SIZE=1024m
This means the maximum heap size is 1024Mbytes. So change the 1024.