achuanle / umlet

Automatically exported from code.google.com/p/umlet
0 stars 0 forks source link

unable to run convert action on linux #105

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. /path/to/umlet.dir/umlet.sh -action=convert -format=png 
-filename=path/to/model/file

What is the expected output? What do you see instead?
Expected: a png file is produce
Instead:umlet ui shows up 

What version of the product are you using? On what operating system?
11.5.1 - centos 5.5 x64, java6

Please provide any additional information below.
also running 
  java -jar /path/to/umletdir/umlet.jar -action=convert -format=png -filename=path/to/model/file also return with usage error

Original issue reported on code.google.com by dant...@gmail.com on 28 Aug 2012 at 6:48

GoogleCodeExporter commented 9 years ago
This is caused (at least in ubuntu 12.04) by the /usr/bin/umlet script not 
passing command-line parameters. Esily fixed:
sudo gedit /usr/bin/umlet
Change last line from
run_java -jar /usr/share/java/umlet.jar
to
run_java -jar /usr/share/java/umlet.jar "$@"

Original comment by marjan.s...@gmail.com on 8 Jan 2013 at 2:12

GoogleCodeExporter commented 9 years ago
it seems we have a solution, not sure why the fix is not applied yet?

Original comment by dant...@gmail.com on 18 Feb 2013 at 5:53

GoogleCodeExporter commented 9 years ago
Hi

I've fixed it in r344

Original comment by AFDiaX on 19 Feb 2013 at 7:53

GoogleCodeExporter commented 9 years ago

Original comment by AFDiaX on 19 Feb 2013 at 7:53