]>
git.rmz.io Git - dotfiles.git/blob - bin/old/umlet.sh
e391a1f220413c7d323f01a757595d747d76b9ee
2 # Shell script for running umlet from the command prompt in linux
5 # 1. Define environment variable $UMLET_HOME in you shell
6 # initialization file, e.g. .bashrc
7 # UMLET_HOME=/path/to/umlet;
9 # (You can also execute these lines from the command prompt.)
10 # 2. Put this file (umlet.sh) on the $PATH, e.g. in your
11 # $HOME/bin/ directory.
12 # 3. Change the script to executable:
13 # $ chmod +x $HOME/bin/umlet.sh
14 # 4. Log out and log in.
17 # Now you can use umlet from the command line from any directory.
18 # $ umlet.sh myDiagram.uxf
22 # uncomment this to be able to start umlet from anywhere (UMLET HOME has to be set)
25 then java
-jar umlet.jar
-filename="$currentDir/$1"
26 else java
-jar umlet.jar