Umbrello/FAQ/uk: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 5: | Line 5: | ||
</span> | </span> | ||
The current stable version | The current stable version 2.9.4 is based on [http://techbase.kde.org/Getting_Started/Build/KDE4 KDE 4]. | ||
There are also versions available for [http://uml.sourceforge.net/download.php download on this site] for older KDE releases. | There are also versions available for [http://uml.sourceforge.net/download.php download on this site] for older KDE releases. | ||
Line 13: | Line 13: | ||
===Can I use Umbrello command line features without an X server ?=== | ===Can I use Umbrello command line features without an X server ?=== | ||
No, unfortunately the existence of a graphics display is encoded deep into Umbrello's design. | No, unfortunately the existence of a graphics display is encoded deep into Umbrello's design. | ||
As a workaround, you can use xvfb, which is part of xorg-x11-server or Xvnc to provide a virtual display without any real output. For further discussion see | As a workaround, you can use xvfb, which is part of xorg-x11-server or Xvnc to provide a virtual display without any real output. For further discussion see {{Bug|283748}}. | ||
===Can I submit a patch ?=== | ===Can I submit a patch ?=== | ||
We love patches. Patches should be against a current svn checkout. Then run | We love patches. Patches should be against a current svn checkout. Then run {{Input|svn diff > mypatch.diff}} to get the patch. Put the resulting patch on a webserver somewhere and send the URL with an explanation to [http://uml.sourceforge.net/contact.html uml-devel]. | ||
===Umbrello takes up too much memory ?=== | ===Umbrello takes up too much memory ?=== | ||
Switch to a code generator other than C++ or Java. Recent SVN versions also allow Undo to be switched off. Umbrello | Switch to a code generator other than C++ or Java. Recent SVN versions also allow Undo to be switched off. Current Umbrello handles memory much better than previous versions for large diagrams. | ||
===How can I install the development version in parallel to the production version ?=== | ===How can I install the development version in parallel to the production version ?=== | ||
You would need to install it to a separate path using< | You would need to install it to a separate path using (from the <tt>build</tt> subdirectory in the source) | ||
{{Input|1=cmake -DCMAKE_INSTALL_PREFIX=/home/me/kdedevelopment ..}} | |||
then set to include this | then set to include this | ||
{{Input|1=export KDEDIRS=`kde-config --prefix`:/home/me/foo}} | |||
===Can I help translate Umbrello into my spoken language ?=== | ===Can I help translate Umbrello into my spoken language ?=== | ||
Line 42: | Line 45: | ||
First check that there isn't already one in the KDE SVN version of Umbrello. | First check that there isn't already one in the KDE SVN version of Umbrello. | ||
Then read the instructions in < | Then read the instructions in <code>codegenerator.h</code> and use one of the other generators as a template. The C++ and Java code generators are a lot more advanced than the rest, it would be nice to have the others offer the same functionality as them. | ||
===Why the silly name ?=== | ===Why the silly name ?=== | ||
The program's name is | The program's name is ''Umbrello UML Modeller''. The shortened form is ''Umbrello''. When translating it translate ''UML Modeller'' in the most sensible way or if it can not be easily translated it can be left out. ''Umbrello'' should generally be left as is when translating to Latin alphabet languages. | ||
shortened form is | |||
easily translated it can be left out. | |||
generally be left as is when translating to | |||
languages. | |||
Previously the program was called UML Modeller or UML Object Modeller or just UML. This was considered too generic by packagers and others. After some consultation and a public vote Umbrello showed surprising popularity, so the name Umbrello UML Modeller is now used. Umbrello does not mean anything as far as we know. | |||
===In sequence diagrams how do I extend the object's lifeline ?=== | ===In sequence diagrams how do I extend the object's lifeline ?=== | ||
Line 80: | Line 65: | ||
===Can I have SVN write access ?=== | ===Can I have SVN write access ?=== | ||
Umbrello is now part of KDE (in kdesdk). | Umbrello is now part of KDE (in kdesdk). Anyone with a [http://developer.kde.org/documentation/other/developer-faq.html#q8 KDE SVN account] can commit changes. Anything significant should be run past the [http://uml.sourceforge.net/contact.php mailing list] first. | ||
can commit changes. | |||
===Can I have bugs.kde.org write access ?=== | ===Can I have bugs.kde.org write access ?=== | ||
You firstly need write access to KDE's SVN. Then make sure your | You firstly need write access to KDE's SVN. Then make sure your address in [http://websvn.kde.org/trunk/KDE/kde-common/accounts kde-common/accounts] (kde-common is a SVN module) is the same as the one used by your bugs.kde.org account. | ||
address in [http://websvn.kde.org/trunk/KDE/kde-common/accounts kde-common/accounts] (kde-common is a SVN module) | |||
is the same as the one used by your bugs.kde.org account. | |||
===Some UML features that I need don't seem to be supported ?=== | ===Some UML features that I need don't seem to be supported ?=== | ||
Line 95: | Line 77: | ||
===What file format does the program use ?=== | ===What file format does the program use ?=== | ||
Versions before 1.4 used a file format that was only very loosely based on XMI and was not compatible with other UML | Versions before 1.4 used a file format that was only very loosely based on XMI and was not compatible with other UML programs. | ||
Version 1.4 can read the static structure elements from most other UML tools which use XMI 1.x. However, currently Umbrello cannot import XMI 2.0 | |||
or UML-DI (Diagram Interchange.) | Version 1.4 can read the static structure elements from most other UML tools which use XMI 1.x. However, currently Umbrello cannot import XMI 2.0 or UML-DI (Diagram Interchange.) | ||
If you have a specific problem with XMI interchange then please add a detailed description to the | |||
If you have a specific problem with XMI interchange then please add a detailed description to the {{Bug|56184}}. | |||
===Why don't I have any icons on the toolbar ?=== | ===Why don't I have any icons on the toolbar ?=== | ||
This occurs when you change the location of installing the program by using a prefix on <i>configure</i> and KDE is unaware of that location. | This occurs when you change the location of installing the program by using a prefix on <i>configure</i> and KDE is unaware of that location. | ||
To help KDE find the program you have to edit the environmental variable | To help KDE find the program you have to edit the environmental variable '''KDEDIRS'''. You will need to consult your distribution documentation for the exact file to edit, but there's a chance it will be <tt>.bash_profile</tt> in your home directory if you are the only one to use the program. If more than one person will use the program you can edit the file <i>profile</i> in the <i>etc</i> directory. | ||
the exact file to edit, but there's a chance it will be < | |||
than one person will use the program you can edit the file <i>profile</i> in the <i>etc</i> directory. | |||
Just add the following lines | Just add the following lines | ||
{{Input|1=KDEDIRS="$KDEDIRS:<prefix use in configure>" | |||
export KDEDIRS}} | |||
If you compiled from source you may have installed Umbrello in | Run {{Input|kbuildsycoca4}} the first time you do this. | ||
/usr/local or /usr/local/kde in which case you can add that directory | |||
to $KDEDIRS or change - | If you compiled from source you may have installed Umbrello in <tt>/usr/local</tt> or <tt>/usr/local/kde</tt> in which case you can add that directory to $KDEDIRS or change -DCMAKE_INSTALL_PREFIX so it installs in <tt>/usr</tt> or <tt>/opt/kde</tt> or whatever the norm for your distribution is. | ||
whatever the norm for your distribution is. | |||
===I can't export diagrams as images, it complains about the mime type ?=== | ===I can't export diagrams as images, it complains about the mime type ?=== | ||
Line 122: | Line 102: | ||
Check your KDE install and upgrade or recompile kdelibs if possible. | Check your KDE install and upgrade or recompile kdelibs if possible. | ||
Then delete < | Then delete <tt>/tmp/kde-storri/ksycoca</tt> file and restarting Umbrello fixed the problem. | ||
===What's the difference between $KDEDIR and $KDEDIRS ?=== | ===What's the difference between $KDEDIR and $KDEDIRS ?=== | ||
The following is taken from #kde-devel | The following is taken from [irc://irc.freenode.net/kde-devel #kde-devel] | ||
* one is a list of paths, the other is the single KDE installation path where the binaries and libs are expected to be | |||
* KDEDIRS is supposed to be used for configfile location resolution | |||
* -DCMAKE_INSTALL_PREFIX overrides $KDEDIR | |||
* install it wherever, but make sure that KDEDIR still points to the original KDE install path, and add the prefix where you're installing the app to KDEDIRS | |||
===Does Umbrello run on Windows ?=== | ===Does Umbrello run on Windows ?=== | ||
Line 165: | Line 129: | ||
[[Category:Розробка/uk]] | [[Category:Розробка/uk]] | ||
</span> | </span> | ||
[[Category:Development]] |
Revision as of 19:41, 16 December 2012
Зі списком поширених питань та відповідями на них можна ознайомитися на цій сторінці.
The current stable version 2.9.4 is based on KDE 4.
There are also versions available for download on this site for older KDE releases.
When submitting bug reports with Umbrello it is helpful if you have tested against a recent build from KDE SVN. Umbrello 2.x is based on the Qt4 and KDE4 technologies.
Can I use Umbrello command line features without an X server ?
No, unfortunately the existence of a graphics display is encoded deep into Umbrello's design. As a workaround, you can use xvfb, which is part of xorg-x11-server or Xvnc to provide a virtual display without any real output. For further discussion see bug #283748.
Can I submit a patch ?
We love patches. Patches should be against a current svn checkout. Then run
svn diff > mypatch.diff
to get the patch. Put the resulting patch on a webserver somewhere and send the URL with an explanation to uml-devel.
Umbrello takes up too much memory ?
Switch to a code generator other than C++ or Java. Recent SVN versions also allow Undo to be switched off. Current Umbrello handles memory much better than previous versions for large diagrams.
How can I install the development version in parallel to the production version ?
You would need to install it to a separate path using (from the build subdirectory in the source)
cmake -DCMAKE_INSTALL_PREFIX=/home/me/kdedevelopment ..
then set to include this
export KDEDIRS=`kde-config --prefix`:/home/me/foo
Can I help translate Umbrello into my spoken language ?
Certainly. As part of KDE you will have to work with the KDE i18n team for your language http://i18n.kde.org.
Umbrello contains some UML and programming specific terms. Take care to research the most understandable translations of these terms for your spoken language.
How do I write a code generator ?
First check that there isn't already one in the KDE SVN version of Umbrello.
Then read the instructions in codegenerator.h
and use one of the other generators as a template. The C++ and Java code generators are a lot more advanced than the rest, it would be nice to have the others offer the same functionality as them.
Why the silly name ?
The program's name is Umbrello UML Modeller. The shortened form is Umbrello. When translating it translate UML Modeller in the most sensible way or if it can not be easily translated it can be left out. Umbrello should generally be left as is when translating to Latin alphabet languages.
Previously the program was called UML Modeller or UML Object Modeller or just UML. This was considered too generic by packagers and others. After some consultation and a public vote Umbrello showed surprising popularity, so the name Umbrello UML Modeller is now used. Umbrello does not mean anything as far as we know.
In sequence diagrams how do I extend the object's lifeline ?
Drag a message arrow downwards.
In previous versions you had to click and drag with the mouse at the bottom of the object's vertical line.
My package format is not supported and I can't install from source, what do I do ?
Contact us and if there are enough requests, we may be able to find a way to help you.
Can I have SVN write access ?
Umbrello is now part of KDE (in kdesdk). Anyone with a KDE SVN account can commit changes. Anything significant should be run past the mailing list first.
Can I have bugs.kde.org write access ?
You firstly need write access to KDE's SVN. Then make sure your address in kde-common/accounts (kde-common is a SVN module) is the same as the one used by your bugs.kde.org account.
Some UML features that I need don't seem to be supported ?
Let us know what features you require. The most requested features will be the first features introduced.
What file format does the program use ?
Versions before 1.4 used a file format that was only very loosely based on XMI and was not compatible with other UML programs.
Version 1.4 can read the static structure elements from most other UML tools which use XMI 1.x. However, currently Umbrello cannot import XMI 2.0 or UML-DI (Diagram Interchange.)
If you have a specific problem with XMI interchange then please add a detailed description to the bug #56184.
Why don't I have any icons on the toolbar ?
This occurs when you change the location of installing the program by using a prefix on configure and KDE is unaware of that location.
To help KDE find the program you have to edit the environmental variable KDEDIRS. You will need to consult your distribution documentation for the exact file to edit, but there's a chance it will be .bash_profile in your home directory if you are the only one to use the program. If more than one person will use the program you can edit the file profile in the etc directory.
Just add the following lines
KDEDIRS="$KDEDIRS:<prefix use in configure>" export KDEDIRS
Run
kbuildsycoca4
the first time you do this.
If you compiled from source you may have installed Umbrello in /usr/local or /usr/local/kde in which case you can add that directory to $KDEDIRS or change -DCMAKE_INSTALL_PREFIX so it installs in /usr or /opt/kde or whatever the norm for your distribution is.
I can't export diagrams as images, it complains about the mime type ?
Check your KDE install and upgrade or recompile kdelibs if possible.
Then delete /tmp/kde-storri/ksycoca file and restarting Umbrello fixed the problem.
What's the difference between $KDEDIR and $KDEDIRS ?
The following is taken from #kde-devel
- one is a list of paths, the other is the single KDE installation path where the binaries and libs are expected to be
- KDEDIRS is supposed to be used for configfile location resolution
- -DCMAKE_INSTALL_PREFIX overrides $KDEDIR
- install it wherever, but make sure that KDEDIR still points to the original KDE install path, and add the prefix where you're installing the app to KDEDIRS
Does Umbrello run on Windows ?
Yes. Umbrello is part of the KDE on Windows initiative.
My problem still isn't solved - help!
If it is a user related problem, send an e-mail to the uml-user mailing list. If it is a developer problem, try the uml-devel mailing list. Details of the mailing lists can be found on the contact page.
My user-mode-linux won't work ?