argouml-tigris-org / argouml

Main project of argouml. Some information in the wiki. Some old releases in releases. (depends on parentpom, testmodels)
246 stars 92 forks source link

Add system property option to configure a default UML profile directory #26

Closed stcarrez closed 4 years ago

stcarrez commented 4 years ago

Setting up ArgoUML to load some default UML profiles is difficult and requires many application restarts until the user's argo.user.properties file is correctly setup. A long time ago, I had to explain that in a video https://youtu.be/M25eAm3Mly8 and still it does not work from time to time.

To ease the launch and setup of such UML default profile directory, I've added the argouml.profiles.directory system property so that I can easily setup a default directory where the UML default profiles can be searched.

Note that ArgoUML is using the system property argouml.modules to setup the modules so this is not a new mechanism to configure ArgoUML.

By launching ArgoUML as follows:

java -Dargouml.profiles.directory=$UML_DIR -jar argouml-all.jar

this simplifies the setup and I don't need to save the settings and restart ArgoUML as I had to do before.