Web pages for the ArgoUML project.
This used to be located at http://argouml.tigris.org.It is a collection of tips and tricks from the ArgoUML users' mailing lists (click here to see the available lists). It is not a complete overview but it does reflect the interests and problems that the users have expressed on the mailing lists. There are also some questions and answers that are not related to the use of ArgoUML but to the ArgoUML project. They are listed here.
The information is updated as the questions and answers are posted on the mailing list. A certain version of the FAQ is only loosely connected to a specific version of ArgoUML but can show how a problem is solved differently in the different versions. The current "stable" version of ArgoUML can be found here. The current developer release can be found at the same place but further down under development releases.
ArgoUML is made available under the BSD Open Source License.
ArgoUML is not production ready! This means that the things you can't do will distract you, you will have problems that you won't have in commercial UML tools, and there is no one to blame for this. On the other hand, this also means that you have the opportunity to fix your problems yourself.
Jason Robbins writes:
I first learned programming back in the days of BASIC on the Apple
II. When TurboPascal arrived, it got me very excited about IDE's. I
later had a chance to work with two Smalltalk environments and UNIX
and emacs. I've always been interested in how some tools can be so
much better than others. I have also enjoyed doing rapid prototyping
and experimental programming.
I came to grad school with the intention of building a better software development environment with an emphasis on the human aspects. What makes some languages and IDE's more productive for people than others? I initially set out to build a tool that would help software designers experiment with alternative designs quickly. At that time, all of the names of research projects in my research group at UC Irvine were taken from Greek Mythology. I borrowed a book on mythology and tried to find a tale of experimentation. The story of Jason and the Argonauts seemed like a good match because my name was Jason and exploration was close to experimentation as I could find. In that myth, "Argo" is the name of the ship that they sailed. The name "Argo" refers to the library of cognitive support features I implemented (e.g., design critics, checklists, navigational perspectives, etc.). I have also used it as the product line name for some of the applications of that library. The Argo/UML tool is actually the fourth in a series of tools I worked on that have cognitive support features provided by the Argo library. Argo/UML is by far the largest application of the Argo library. I later learned more about the "Argo" myth and found an interesting coincidence. The ship "Argo" was made from wood cut from a magical talking tree. The beams of wood on the ship continued to talk and warned the Argonauts of upcoming danger. You could say that these were design critics! Jason! |
Level 1:
Level 2:
There is an archive with all the source so you can look at it. If you are aiming to build ArgoUML, download from the repository instead. You will then get the complete set of development tools and libraries needed to build it. (The build scripts included in the archive does not really fit the way the libraries are packaged so building ArgoUML from the archive is really complicated and not recommended.)
We don't have plans for the support of UML 2.0 in the immediate future, but it is a goal as the standard is completed and software components that support it (model repository, OCL, etc) become available.
java -Xms64m -Xmx512m -jar argouml.jarIf you have problems with large models, you may need to set -Xmx512m to a higher number.
There is a workaround, though: Apple leaves the 1.3.1 java engine installed, but in an obscure place. You can run ArgoUML from the Terminal window by typing
% /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Commands/java -jar argouml.jar
Hard Option: On Windows XP, (don't try this on Vista!) the trick is to do things in two steps. First, open Windows Explorer and find a .zargo file, and then right-click on it. You should get the normal Windows menu, including an Open or Open With option. At this point, give a description for the file like "ArgoUML Model", and tell Windows to use Notepad to open the file. That's not what you want to do ultimately, but it does get Windows to accept the .zargo extension as representing a valid file type.
Now close, and then reopen Windows Explorer. If you are using a version of Windows prior to XP go to the Explorer menu and select View->Options. For XP you would use Tools->Folder Options. You should get a two (or more) tabbed dialog. Click the "File Types" dialog and then scroll through the list for the Description you gave - in this example "ArgoUML Model". Click to select that file type, and then click the "Edit" button.
Now, click on the "Open" action and then the "Edit" button there. You will then get a dialog that has a line for entering in the application action that will have a line for using Notepad to open the file. Replace that line with:
"C:\Program Files\Java\j2re1.4.1_01\bin\javaw.exe" -jar "c:\ArgoUML\argouml.jar" "%L"
Substitute your path to your JavaW.exe and ArgoUML.jar files if they aren't located where specified above. Click OK, then click OK, then click OK (three buttons on three different levels of the dialog).
You can now double-click on your model and have ArgoUML instantly loaded.
On Windows Vista, you do the following:
1) Create a batch file "runargo.bat" in your ArgoUML directory which looks something like this:
@echo off cd "C:\ArgoUML" start javaw -cp "argouml.jar" org.argouml.application.Main %1 /B
replacing "C:\ArgoUML" as appropriate.
2) Associate your .zargo files with this batch file (just double-click a .zargo file and follow the instructions).
The solution is, fix your network configuration.
If you want to suggest a better explanation or a fix within ArgoUML for this, go through the java.net.InetAddress and find out what really happens in this case.
Please install a supported Java run-time on your system.
Java Web Start is included with recent Java Runtime Environments including Java 5/1.5.
For more information, see the Java Web Start product page.
In particular, note that Mozilla and Netscape 6.x users must take an additional step to register the helper application in your browser preferences.
This is a very common problem and most likely caused by Web Start's failed attempt to automatically detect your proxy settings. The "Bad MIME Type" error displayed by Web Start is somewhat confusing as it should really be a "Resource Not Found" error.
Your proxy will send back an error page either in HTML or plain text instead of the requested JNLP descriptor if it fails to get the JNLP descriptor requested by Web Start.
You can change your proxy settings for Web Start manually by starting the Application Manager and using the Preference panel. (Select File|Preferences to get there.)
Proxy Settings:
keytool -import -alias linus@tigris.org -file argouml-linus-2.cer -keystore cacerts
MD5: 88:B9:BB:BE:B8:53:F8:97:FC:B4:AE:9F:E2:2F:21:50 SHA1: 1C:5D:60:B3:77:29:94:4A:1F:BE:B0:0E:D5:D9:66:63:9B:EC:E5:E6that are published together with the file on tigris.org. Be sure to get it from there! ( You must trust that the fingerprints where put there by Linus Tolke and that they have not been compromised while on the tigris server or while moving them from the tigris server to your computer. ) Before release 0.23.3 the certificate file was called "argouml-linus-1.cer". The old certificate had the hash codes
MD5: F1:A9:ED:79:88:91:19:31:AA:69:EE:A0:8F:AF:4A:43 SHA1: B5:F4:02:AC:7D:34:FF:61:D4:56:CF:AE:10:F8:1D:B9:24:AB:DF:AA
keytool -import -alias linus@tigris.org -file argouml-linus-2.cer -keystore cacerts
If you notice that the September 2004 certificate ("argouml-linus-1.cer") expired in November 2006, that was the reason Linus Tolke created a new certificate (in October 2006) and the fingerprints for the new certificate are different. The new certificate ("argouml-linus-2.cer") expires in March 2012 and then a new certificate will be created then unless something has happened that changes this. If Linus Tolke will let someone else do the release work and sign the Java Web Start releases with a new key the key will change. In both of these cases you will have to do this all over again to trust the new certificate.
Further readings:
Select the elements you want to move. By holding down the control key you can select several.
Now hit your arrow keys. Your elements move a little with every key stroke.
If you also hold down the shift key, they move a bit faster.
Or click on the broom button, move your mouse to the diagram pane, right click and hold. Now moving your mouse side ways (or up and down) will align elements.
There also is the menu item Arrange where you can align, group or nudge (move a little bit) elements.
If you just want to experiment with different diagram types, the easiest thing to do is create an empty Class on the Class Diagram and select it to enable the other diagram buttons.
You can also right click on an element in the diagram to add a note as well.
Be aware that your note will not appear in the source code documentation tab but it will appear in the diagram view of the navigation pane (the left pane tree view).
XMI files can be exported separately and they are also included in the zipped .zargo file where they can be extracted using the 'jar' command.
UML 1.3/XMI 1.0 is the only format supported through ArgoUML 0.18.1. Beginning with 0.20, ArgoUML can read UML 1.3 & 1.4 in XMI 1.0, 1.1, and 1.2 formats. It only writes UML 1.4/XMI 1.2.
Interoperability with other modeling tools has improved over time, but still continues to be problematic in some cases. XSLT can be used to correct some problems and you can find examples included in the ArgoUML source. There are also commercial solutions available from companies such as MetaIntegrations.
The UML 1.4/XMI 1.2 combination should be interoperable with many more tools than UML 1.3/XMI 1.0, but if you need a different version, you'll have to use a separate tool to do the conversion.
Rose has an XMI Add-in that can create XMI format from an MDL file. It may move as the IBM site is reorganized, but you may be able to find version 1.3.6 here. If that doesn't work this might take you to a page of Rose add-ins that you can search. There's also a technote describing the various versions of this add-in.
Export an XMI file from Poseidon and import it to ArgoUML like you would from any other modelling tool.
ArgoUML follows the policy that the user in the end knows more than the developers of ArgoUML do. A level of sanity enough to be able to draw and save the model is maintained by ArgoUML but beyond that the user can do what he pleases as long as he ignores (or turns of) the critics with suggestions.
When you report the problem, try to include as much information as possible about the actions leading up to the problem to give the developers the best chance of finding and fixing the root cause (in addition to repairing your file).
There are two known problems with this approach:
Since version 0.19.3 you can set the language in the menu:
Edit -> Settings... -> Appearance ->Language
The combobox contains the supported languages. To see the effect of your change, you have to restart ArgoUML.
See this report in Sun's bug database for possible workarounds such as disabling Java's use of DirectDraw.
How you do this is explained on the How to Report Bugs and register enhancements page.
You don't need to ask on any mailing list if it is a problem, if it is already known, or if it is has a solution. If you are having problems, assume that there really is a problem! If you are wrong and it is not really a problem, you will get notified by someone that resolves the issue (as INVALID, WORKSFORME, or FIXED). If you can't find it in Issuezilla, assume that no-one else has reported it! If the bug was already known and reported but you didn't find it, you will get notified by someone that resolves the issue (as DUPLICATE). It might be that it is filed under a completely different problem description since the same problem might manifest itself in different ways.
Also include what version of ArgoUML you are running and on what platform. Useful information includes:
How you do this is explained on the How to Report Bugs and register enhancements page.
If you have successfully reported the problem in Issuezilla there is no need to send an email about it. The discussion and investigation will take place in that issue in Issuezilla.
Your votes helps the developers of ArgoUML to know what defects are the most important to solve and what features are the most important to add.
Another way is to change the columns shown by Issuezilla list to include the Votes column.