blob: 142710c1b31bd46d9f1f9f2af02d9a46673369c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
# Shell script for running umlet from the command prompt in linux
# If you want to put umlet.sh in your home bin directory ($HOME/bin/) to start it from anywhere with
# $ umlet.sh myDiagram.uxf
# you must specify the programDir directly instead
programDir=/opt/Umlet
#programDir=$(cd $(dirname $0);pwd)
if [ $# -eq 1 ]
then java -Dsun.java2d.xrender=f -jar ${programDir}/umlet.jar -filename="$1"
else java -Dsun.java2d.xrender=f -jar ${programDir}/umlet.jar "$@"
fi
|