joukewitteveen/utox — Issue #2: Output wordt niet wegschreven
Author: FastFox
Created: 2012-01-26 10:20:23+00:00
State: open

Bedankt voor het oplossen van de vorige bug. Misschien kan je deze ook oplossen?

m@m-VirtualBox:~$ cd utox/source
m@m-VirtualBox:~/utox/source$ wget http://www.ibm.com/developerworks/library/x-umlschem/uml-diag.gif
--2012-01-26 11:15:58-- http://www.ibm.com/developerworks/library/x-umlschem/uml-diag.gif
Resolving www.ibm.com... 129.42.60.216
Connecting to www.ibm.com|129.42.60.216|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15966 (16K) [image/gif]
Saving to: `uml-diag.gif'

100%[======================================>] 15,966 81.7K/s in 0.2s

2012-01-26 11:15:59 (81.7 KB/s) - `uml-diag.gif' saved [15966/15966]

m@m-VirtualBox:~/utox/source$ convert uml-diag.gif -background white -flatten input.png
m@m-VirtualBox:~/utox/source$ ./utox -v -f input.png -o output.xmi
17 rectangles found.
6 classes found.
4 is the detected line width.
Simple connection found.
Simple connection found.
Simple connection found.
Simple connection found.
Crossing connection found.
Class "Item" is linked with class "Order".
Class "Orlgln" is linked with class "ShIppIn90rder".
Class "Order" is linked with class "ShIppIn90rder".
Class "Address" is composed of class "Destination".
Class "ShIppIn90rder" is linked with class "Destination".
Class "Address" is composed of class "Origin".
Writing XMI to "output.xmi".
m@m-VirtualBox:~/utox/source$ [ -f output.xmi ] && echo "Bestand bestaat" || echo "Bestand bestaat niet"
Bestand bestaat niet

output.xmi is ook niet te vinden in ~ of ~/utox.