argouml-tigris-org / argouml Goto Github PK
View Code? Open in Web Editor NEWMain project of argouml. Some information in the wiki. Some old releases in releases. (depends on parentpom, testmodels)
Main project of argouml. Some information in the wiki. Some old releases in releases. (depends on parentpom, testmodels)
After moving the project to github I lost the links to argouml.jar
What link can I provide to my colleagues for using argouml without building it from source code?
Docker file is prefferable
When moving from argouml.tigris.org to github the following code suddenly caused problems:
URL url = anURL;
InputStream stream
try {
stream = url.openStream();
} catch (IOException e) {
...act on the URL not existing ...
}
...act on the URL existing...
The problem is that when redirecting from http: to https:, as from http://argouml.org to https://argouml-tigris-org.github.io, java does not follow that redirect when opening the stream, so the stream is invalid and no Exception is thrown.
I have fixed this for the simplest case, in getValidURL in XmiReferenceResolverImpl.java, where it caused a test to fail (bf30ff1). There are a lot of other places in the code where a similar pattern is used and they should also be fixed or at least protected with asserts to make sure that it is not an http- or an https-url.
We can set the following system configuration argouml.profiles.directory
but it only accepts a single directory.
Sometimes the default UML profiles are stored in different directories and it would be nice to allow ArgoUML
to search for these UML profiles from several directories (which is already supported).
One simple way to do this is to allow the argouml.profiles.directory
configuration variable to hold several paths and have ArgoUML look at each of them. A simple ';' directory separator can be used to avoid problems on Windows.
Hi all,
I want to ask if PR that adds new L&F is welcome.
I'm playing with ArgoUML code and I added a material-ui-swing look and feel to test the project with a big and complex client app.
When you use your own profiles, ArgoUML tries to download the Default UML profile definition from:
http://argouml.org/profiles/uml14/default-uml14.xmi
The issue seems to be in XmiReferenceResolverImpl in toURL() in the following piece of code:
if (modelUrl == null) {
// If systemId is a valid URL, simply use it.
// TODO: This causes a network connection attempt for profiles
modelUrl = getValidURL(fixupURL(systemId));
}
Hello everyone. When I try to compile the argouml project using maven, I get the following error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) on project argouml: Compilation failure
[ERROR] ..\argouml\src\argouml-app\src\org\argouml\cognitive\ListSet.java:[58,7] error: types Set<E#1> and List<E#2> are incompatible;
First, having found that the released 35.1 won’t run on Catalina I found this site; some playing with build.sh
and build.xml
failed, but installing Maven & building with it was successful - no change to b8cb3e1 of 9 July.
$ java -version
java version "1.8.0_152"
Java(TM) SE Runtime Environment (build 1.8.0_152-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode)
$ mvn -v
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /Users/simon/Argo/apache-maven-3.6.3
Java version: 1.8.0_152, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "mac os x", version: "10.15.5", arch: "x86_64", family: "mac"
Using it, I was surprised (being on a Mac, & used to ArgoUML.app
) that running
$ java -jar src/argouml-app/build/argouml.jar
failed: what is this directory for?
Anyway,
$ java -jar src/argouml-build/build/argouml.jar
worked just fine! (with a lot of logging INFO chatter, how to suppress?)
I’d really like to create a Mac app like the old ArgoUML.app
, and I’ve found a couple of sites that address this: JarBundler (which says it’s Ant?) and universalJavaApplicationStub).
The above must reveal I’m a Maven/Java newbie: any suggestions where to start with "Maven for the bewildered"?
Full exception : org.argouml.persistence.OpenException: org.xml.sax.SAXException: org.argouml.sequence2.diagram.UMLSequenceDiagram
java.lang.ClassNotFoundException: org.argouml.sequence2.diagram.UMLSequenceDiagram
at org.argouml.persistence.DiagramMemberFilePersister.load(DiagramMemberFilePersister.java:123)
at org.argouml.persistence.UmlFilePersister.doLoad(UmlFilePersister.java:392)
at org.argouml.persistence.ZargoFilePersister.doLoad(ZargoFilePersister.java:274)
at org.argouml.ui.ProjectBrowser.loadProject2(ProjectBrowser.java:1607)
at org.argouml.ui.ProjectBrowser.loadProject(ProjectBrowser.java:1532)
at org.argouml.ui.LoadSwingWorker.construct(LoadSwingWorker.java:91)
at org.argouml.ui.SwingWorker.doConstruct(SwingWorker.java:154)
at org.argouml.ui.SwingWorker$2.run(SwingWorker.java:282)
at java.lang.Thread.run(Unknown Source)
Caused by: org.xml.sax.SAXException: org.argouml.sequence2.diagram.UMLSequenceDiagram
java.lang.ClassNotFoundException: org.argouml.sequence2.diagram.UMLSequenceDiagram
at org.tigris.gef.persistence.pgml.PGMLHandler.initDiagram(PGMLHandler.java:118)
at org.tigris.gef.persistence.pgml.PGMLHandler. (PGMLHandler.java:76)
at org.tigris.gef.persistence.pgml.InitialHandler.startElement(InitialHandler.java:65)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$ContentDriver.scanRootElementHook(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
at org.tigris.gef.persistence.pgml.PGMLStackParser.readDiagram(PGMLStackParser.java:166)
at org.tigris.gef.persistence.pgml.PGMLStackParser.readDiagram(PGMLStackParser.java:128)
at org.argouml.persistence.PGMLStackParser.readDiagram(PGMLStackParser.java:392)
at org.argouml.persistence.PGMLStackParser.readArgoDiagram(PGMLStackParser.java:367)
at org.argouml.persistence.DiagramMemberFilePersister.load(DiagramMemberFilePersister.java:117)
... 8 more
Caused by: java.lang.ClassNotFoundException: org.argouml.sequence2.diagram.UMLSequenceDiagram
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.tigris.gef.persistence.pgml.PGMLHandler.initDiagram(PGMLHandler.java:110)
... 29 more
java.lang.ClassNotFoundException: org.argouml.sequence2.diagram.UMLSequenceDiagram
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.tigris.gef.persistence.pgml.PGMLHandler.initDiagram(PGMLHandler.java:110)
at org.tigris.gef.persistence.pgml.PGMLHandler. (PGMLHandler.java:76)
at org.tigris.gef.persistence.pgml.InitialHandler.startElement(InitialHandler.java:65)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$ContentDriver.scanRootElementHook(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
at org.tigris.gef.persistence.pgml.PGMLStackParser.readDiagram(PGMLStackParser.java:166)
at org.tigris.gef.persistence.pgml.PGMLStackParser.readDiagram(PGMLStackParser.java:128)
at org.argouml.persistence.PGMLStackParser.readDiagram(PGMLStackParser.java:392)
at org.argouml.persistence.PGMLStackParser.readArgoDiagram(PGMLStackParser.java:367)
at org.argouml.persistence.DiagramMemberFilePersister.load(DiagramMemberFilePersister.java:117)
at org.argouml.persistence.UmlFilePersister.doLoad(UmlFilePersister.java:392)
at org.argouml.persistence.ZargoFilePersister.doLoad(ZargoFilePersister.java:274)
at org.argouml.ui.ProjectBrowser.loadProject2(ProjectBrowser.java:1607)
at org.argouml.ui.ProjectBrowser.loadProject(ProjectBrowser.java:1532)
at org.argouml.ui.LoadSwingWorker.construct(LoadSwingWorker.java:91)
at org.argouml.ui.SwingWorker.doConstruct(SwingWorker.java:154)
at org.argouml.ui.SwingWorker$2.run(SwingWorker.java:282)
at java.lang.Thread.run(Unknown Source)
The properties panel does not open in v0.35.2
Steps to reproduce:
The log contains
Oct 31, 2021 8:38:02 AM org.argouml.application.Main main
INFO: ArgoUML Started.
Oct 31, 2021 8:38:03 AM org.argouml.configuration.ConfigurationProperties loadFile
INFO: Configuration loaded from /home/popovr/.argouml/argo.user.properties
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO: SAX-Parser com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl wird verwendet
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO:
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO: Package: org.argouml.application
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO:
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO: Package: org.netbeans.mdr
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO: -- No version information available --
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO: Perhaps manifest isn't available or you aren't using JAR.
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO:
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO: Package: org.tigris.gef.base
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO:
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO: Package: org.xml.sax
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO: Component: Java Runtime Environment, by: Red Hat, Inc., Version: 1.8.0_312
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO:
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO: Package: java.lang
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO: Component: Java Runtime Environment, by: Red Hat, Inc., Version: 1.8.0_312
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO:
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO: Package: com.sun.org.apache.xerces.internal.jaxp
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO: Component: Java Runtime Environment, by: Red Hat, Inc., Version: 1.8.0_312
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO:
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO:
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO: Operating System is:Linux
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO: Operating System Version:5.4.17-2136.300.7.el8uek.x86_64
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO: Language:en
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO: Country:US
Oct 31, 2021 8:38:03 AM org.argouml.util.Tools logVersionInfo
INFO:
Oct 31, 2021 8:38:03 AM org.argouml.moduleloader.ModuleLoader2 computeExtensionLocations
INFO: argoRoot is file:/home/popovr/projects/argouml/src/argouml-build/target/argouml-jar-with-dependencies.jar
Oct 31, 2021 8:38:03 AM org.argouml.moduleloader.ModuleLoader2 computeExtensionLocations
INFO: argoHome is /home/popovr/projects/argouml/src/argouml-build/target
Oct 31, 2021 8:38:03 AM org.argouml.profile.init.ProfileLoader huntForProfilesInDir
INFO: Looking for Profiles in /home/popovr/projects/argouml/src/argouml-build/target/ext
Oct 31, 2021 8:38:03 AM org.argouml.ui.MultiEditorPane <init>
INFO: making MultiEditorPane
Oct 31, 2021 8:38:04 AM org.argouml.ui.DetailsPane <init>
INFO: making DetailsPane(east)
Oct 31, 2021 8:38:04 AM org.argouml.ui.DetailsPane <init>
INFO: making DetailsPane(south)
Oct 31, 2021 8:38:04 AM org.argouml.ui.DetailsPane <init>
INFO: making DetailsPane(southeast)
Oct 31, 2021 8:38:04 AM org.argouml.ui.DetailsPane <init>
INFO: making DetailsPane(northwest)
Oct 31, 2021 8:38:04 AM org.argouml.ui.DetailsPane <init>
INFO: making DetailsPane(north)
Oct 31, 2021 8:38:04 AM org.argouml.ui.DetailsPane <init>
INFO: making DetailsPane(northeast)
Oct 31, 2021 8:38:04 AM org.argouml.ui.cmd.GenericArgoMenuBar registerForMacEvents
INFO: Determining if Mac OS to set special handlers
Oct 31, 2021 8:38:04 AM org.argouml.cognitive.ui.WizDescription <init>
INFO: making WizDescription
Oct 31, 2021 8:38:04 AM org.argouml.kernel.ProjectManager$1 execute
INFO: making empty project
Oct 31, 2021 8:38:04 AM org.argouml.kernel.MemberList <init>
INFO: Creating a member list
Oct 31, 2021 8:38:04 AM org.argouml.profile.ResourceModelLoader loadModel
INFO: Loading profile from resource /org/argouml/profile/profiles/uml14/default-uml14.xmi
Oct 31, 2021 8:38:04 AM org.argouml.model.mdr.XmiReaderImpl parse
INFO: Loading to extent http://argouml.org/profiles/uml14/default-uml14.xmi UmlPackage$Impl ID: -64--88-2-100-3f4a5b6:17cd511c1f1:-8000:000000000000071D MID: -64--88-2-100-3f4a5b6:17cd511c1f1:-8000:00000000000002E7 OPCKG: -64--88-2-100-3f4a5b6:17cd511c1f1:-8000:000000000000071D
Oct 31, 2021 8:38:04 AM org.argouml.kernel.ProjectImpl <init>
INFO: making empty project with empty model
Oct 31, 2021 8:38:04 AM org.argouml.kernel.ProjectImpl addMember
INFO: Adding model member
Oct 31, 2021 8:38:04 AM org.argouml.kernel.ProjectImpl addModelMember
INFO: Adding model member to start of member list
Oct 31, 2021 8:38:04 AM org.argouml.kernel.ProjectImpl addMember
INFO: There are now 2 members
Oct 31, 2021 8:38:04 AM org.argouml.uml.diagram.ArgoDiagramImpl constructorInit
INFO: Setting Diagram undo manager
Oct 31, 2021 8:38:04 AM org.argouml.kernel.ProjectImpl addMember
INFO: Adding diagram member
Oct 31, 2021 8:38:04 AM org.argouml.kernel.ProjectImpl addMember
INFO: There are now 3 members
Oct 31, 2021 8:38:04 AM org.argouml.uml.diagram.ArgoDiagramImpl constructorInit
INFO: Diagram undo manager already set
Oct 31, 2021 8:38:04 AM org.argouml.kernel.ProjectImpl addMember
INFO: Adding diagram member
Oct 31, 2021 8:38:04 AM org.argouml.kernel.ProjectImpl addMember
INFO: There are now 4 members
Oct 31, 2021 8:38:04 AM org.argouml.kernel.ProjectImpl addMember
INFO: Adding todo member
Oct 31, 2021 8:38:04 AM org.argouml.kernel.MemberList setTodoList
INFO: Setting todoList to Untitled.todo
Oct 31, 2021 8:38:04 AM org.argouml.kernel.ProjectImpl addTodoMember
INFO: Added todo member, there are now 5
Oct 31, 2021 8:38:04 AM org.argouml.kernel.ProjectImpl addMember
INFO: There are now 5 members
Oct 31, 2021 8:38:04 AM org.argouml.kernel.ProjectImpl addMember
INFO: Adding todo member
Oct 31, 2021 8:38:04 AM org.argouml.kernel.MemberList setTodoList
INFO: Setting todoList to Untitled.todo
Oct 31, 2021 8:38:04 AM org.argouml.kernel.ProjectImpl addTodoMember
INFO: Added todo member, there are now 5
Oct 31, 2021 8:38:04 AM org.argouml.kernel.ProjectImpl addMember
INFO: There are now 5 members
Oct 31, 2021 8:38:04 AM org.argouml.uml.ui.TabProps setTarget
INFO: setTarget: there are 1 targets
Oct 31, 2021 8:38:04 AM org.argouml.application.Main main
INFO:
profile of load time ############
Oct 31, 2021 8:38:04 AM org.argouml.application.Main main
INFO: begin 132
Oct 31, 2021 8:38:04 AM org.argouml.application.Main main
INFO: arguments 1
Oct 31, 2021 8:38:04 AM org.argouml.application.Main main
INFO: create splash 0
Oct 31, 2021 8:38:04 AM org.argouml.application.Main main
INFO: initialize laf 126
Oct 31, 2021 8:38:04 AM org.argouml.application.Main main
INFO: initialize model subsystem 493
Oct 31, 2021 8:38:04 AM org.argouml.application.Main main
INFO: initialize the profile subsystem 114
Oct 31, 2021 8:38:04 AM org.argouml.application.Main main
INFO: initialize gui 223
Oct 31, 2021 8:38:04 AM org.argouml.application.Main main
INFO: initialize subsystems 80
Oct 31, 2021 8:38:04 AM org.argouml.application.Main main
INFO: initialize modules 1
Oct 31, 2021 8:38:04 AM org.argouml.application.Main main
INFO: perform commands 0
Oct 31, 2021 8:38:04 AM org.argouml.application.Main main
INFO: open project 129
Oct 31, 2021 8:38:04 AM org.argouml.application.Main main
INFO: set project 0
Oct 31, 2021 8:38:04 AM org.argouml.application.Main main
INFO: perspectives 0
Oct 31, 2021 8:38:04 AM org.argouml.application.Main main
INFO: open window 39
Oct 31, 2021 8:38:04 AM org.argouml.application.Main main
INFO: close splash 76
Oct 31, 2021 8:38:04 AM org.argouml.application.Main main
INFO: start critics 1
Oct 31, 2021 8:38:04 AM org.argouml.application.Main main
INFO: start loading modules 1
Oct 31, 2021 8:38:04 AM org.argouml.application.Main main
INFO: Total 1416
Oct 31, 2021 8:38:04 AM org.argouml.application.Main main
INFO: #################################
Oct 31, 2021 8:38:05 AM org.argouml.application.StartCritics run
INFO: spawned critiquing thread
Oct 31, 2021 8:38:05 AM org.argouml.moduleloader.ModuleLoader2 addClass
INFO: Loading module org.argouml.dev.DeveloperModule
Oct 31, 2021 8:38:05 AM org.argouml.application.LoadModules run
INFO: Module loading done
Oct 31, 2021 8:38:07 AM org.argouml.uml.ui.TabProps setTarget
INFO: setTarget: there are 1 targets
Oct 31, 2021 8:38:07 AM org.argouml.uml.ui.TabProps findPanelFor
SEVERE: Failed to create a prop panel for: UmlPackage$Impl ID: -64--88-2-100-3f4a5b6:17cd511c1f1:-8000:0000000000000866 MID: -64--88-2-100-3f4a5b6:17cd511c1f1:-8000:000000000000060C OPCKG: -64--88-2-100-3f4a5b6:17cd511c1f1:-8000:0000000000000622
The resources previously located at http://argouml.org/user-profiles/ are unreachable at https://argouml-tigris-org.github.io/user-profiles since 23 May.
I have fixed the tests so that mvn test
now shows no failing tests.
However, mvn cobertura:cobertura
, running the same tests, fails for some of them. This means that the coverage result reported is not the actual coverage result from running the tests.
To solve this I guess knowledge of how the cobertura plugin and mvn configuration works.
Hi @linustolke,
I'm opening this issue because I want to make some questions about the behaviors on Jtoolbar utils.
I'm making the last tests with ArgoUML before starting to write the code to integrate material-ui-swing and I noted this behavior in the video below.
Before making the questions, I want say that the mouse hover in the L&F library has a timer to implement the mouse hover effect, this timer changes the background during life, but before finishing, it reset the original color to the component.
Question
I noted this behavior only on this Jtoolbar, I want ask a question about what happened inside the code when I clicked on the button in this JToolBar?
Can you explane me or link the code? Maybe I have an bug inside the mousehover effect.
Thanks for your time.
If the Argo.ARGOINI is not present. See #18 where this problem is introduced.
ArgoUML uses batik version 1.7 which is now pretty old.
https://xmlgraphics.apache.org/batik/download.html
I've managed to use batik 1.13, the latest version of the library.
There is no change in the code for that and generating the images worked for me.
Hello. Go is a horrible language. But I somehow find myself needing to build a large and complex project in Go and I miss my UML tools.
I hacked up goplantuml
(to fix bugs and such), but I still can't get any UML editors to import my model, even with plantuml -v -xmi:argo
(classes aren't in their respective packages and the model gets screwed). I suppose that would be a separate issue, but I just want to ask about Go support. At the very minimum, having the Go primitives would be helpful.
These are the basic type "Kinds" and my hacked-up goplantuml works with Go's abstract syntax tree, which gives you the parsed syntax, but doesn't resolve any symbols. Amongst the Kind
s, Bool
through Complex128
, (perhaps Array
and Func
?), Pointer
, and UnsafePointer
are the actual primitives and the rest are composite types. Slice
and Map
can probably be represented by a built-in template type.
Anyway, any pointers on at least setting up language support for Go to the extent of having the primitives? Thank you!
EDIT: Aww, it looks like ArgoUML lacks support for multiple return values -- is that correct?
Hi all,
I'm reading the readme and I noted that this link is died http://argouml.tigris.org/wiki/Working_with_git%2C_github%2C_gerrit%2C_gerrithub_and_repo
When you use your own profiles, ArgoUML will need an Internet connection during startup.
The issue is even worst because it tries to download "http://argouml.org/profiles/uml14/default-uml14.xmi"
which is included in the ArgoUML default profiles.
Recently the http://argouml.org
was broken and this makes the ArgoUML application unusable.
I've managed to avoid that download by looking at the default profiles locally.
I'll submit a fix shortly or you may pick the correction from by fork (https://github.com/stcarrez/argouml).
Setup:
$ mvn -v
Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0)
Maven home: /Volumes/Miscellaneous1/apache-maven-3.8.5
Java version: 17.0.2, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-17.0.2.jdk/Contents/Home
Default locale: en_GB, platform encoding: UTF-8
OS name: "mac os x", version: "12.3.1", arch: "aarch64", family: "Mac"
Building (mvn package -DskipTests=true
) resulted in
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.argouml:argouml-core:0.35.2-SNAPSHOT: Could not find artifact org.argouml:parentpom:pom:0.35.5-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 7, column 11
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.argouml:argouml-core:0.35.2-SNAPSHOT (/Volumes/Miscellaneous1/argouml/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.argouml:argouml-core:0.35.2-SNAPSHOT: Could not find artifact org.argouml:parentpom:pom:0.35.5-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 7, column 11 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
After some googling, I found that my x86_64 Macbook Pro had a populated ~/.m2/repository
, while on the Mini it was unpopulated.
I fixed this by copying org/argouml/
& contents to the Mini's repository; all went fine after that.
But, how should I have set it up?
Setting up ArgoUML to load some default UML profiles is difficult and requires many application restarts until the user's argo.user.properties
file is correctly setup. A long time ago,
I had to explain that in a video https://youtu.be/M25eAm3Mly8 and still it does not work from time to time.
To ease the launch and setup of such UML default profile directory, I've added the argouml.profiles.directory
system property so that I can easily setup a default directory
where the UML default profiles can be searched.
Note that ArgoUML is using the system property argouml.modules
to setup the modules so
this is not a new mechanism to configure ArgoUML.
By launching ArgoUML as follows:
java -Dargouml.profiles.directory=$UML_DIR -jar argouml-all.jar
this simplifies the setup and I don't need to save the settings and restart ArgoUML as I had to do before.
Until there is a formal release process, consider adding the basic build instructions to the main README.md file.
Even basic instructions would be helpful, and any tips or tricks to get it working. For example,
Hi,
When I try to reopen a project drawn yesterday, Argo UML gives the error below.
It seems it is trying to open a file in the /tmp folder.
However the /tmp folder was cleanup during a reboot.
I am using Ubuntu 20.04 and argo UML 0.35.1.
The *.zargo project is attached inside a zip, since *.zargo files cannot be uploaded.
thanks
XMI external reference error attempting to read : file:/tmp/zargo_model_11733236751639165488.xmi
error message : org.argouml.model.XmiReferenceException: file:/tmp/zargo_model_11733236751639165488.xmi
Please check that the referenced file is available.
If the reference refers to a profile, make sure that the profile is available by doing the following:
(1) Either load a module which contains that profile,
(2) or make sure that the URL can be resolved,
(3) or load it as a user defined profile in the profile configuration in the edit->settings dialog.
ArgoUML is compiled with Java 5 or 6 but it is desirable to use Java8 or higher.
There are only a few places to correct in order to compile with Java8
By fixing these, I was able to build and run ArgoUML compiled with Java8 and even Java 11.
(OpenJDK under Ubuntu 20.04LTS).
There is a dependabot pull request but it is updating only one of the batik library.
We can switch to use batik 1.14.
me:~/argouml$ mvn compile
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] argouml-core [pom]
[INFO] argouml-core-model [jar]
[INFO] argouml-core-model-mdr [jar]
[INFO] argouml-core-model-euml [jar]
[INFO] argouml-app [jar]
[INFO] argouml-core-notation [jar]
[INFO] argouml-core-transformer [jar]
[INFO] argouml-core-umlpropertypanels [jar]
[INFO] argouml-core-diagrams-activity2 [jar]
[INFO] argouml-core-diagrams-class2 [jar]
[INFO] argouml-core-diagrams-sequence2 [jar]
[INFO] argouml-core-diagrams-state2 [jar]
[INFO] argouml-core-diagrams-structure2 [jar]
[INFO] argouml-core-diagrams-deployment2 [jar]
[INFO] argouml-build [jar]
[INFO]
[INFO] ----------------------< org.argouml:argouml-core >----------------------
[INFO] Building argouml-core 0.35.2-SNAPSHOT [1/15]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.1:enforce (enforce-maven) @ argouml-core ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (default) @ argouml-core ---
[INFO] argLine set to -javaagent:/home/dubnemo/.m2/repository/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar=destfile=/home/dubnemo/argouml/target/jacoco.exec
[INFO]
[INFO] ---------------------< org.argouml:argouml-model >----------------------
[INFO] Building argouml-core-model 0.35.2-SNAPSHOT [2/15]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.1:enforce (enforce-maven) @ argouml-model ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (default) @ argouml-model ---
[INFO] argLine set to -javaagent:/home/dubnemo/.m2/repository/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar=destfile=/home/dubnemo/argouml/src/argouml-core-model/target/jacoco.exec
[INFO]
[INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ argouml-model ---
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] Copying 86 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ argouml-model ---
[INFO] Compiling 85 source files to /home/dubnemo/argouml/src/argouml-core-model/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Failure executing javac, but could not parse the error:
warning: [options] bootstrap class path not set in conjunction with -source 7
error: Source option 7 is no longer supported. Use 8 or later.
error: Target option 7 is no longer supported. Use 8 or later.
[INFO] 1error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for argouml-core 0.35.2-SNAPSHOT:
[INFO]
[INFO] argouml-core ....................................... SUCCESS [ 1.090 s]
[INFO] argouml-core-model ................................. FAILURE [ 0.481 s]
[INFO] argouml-core-model-mdr ............................. SKIPPED
[INFO] argouml-core-model-euml ............................ SKIPPED
[INFO] argouml-app ........................................ SKIPPED
[INFO] argouml-core-notation .............................. SKIPPED
[INFO] argouml-core-transformer ........................... SKIPPED
[INFO] argouml-core-umlpropertypanels ..................... SKIPPED
[INFO] argouml-core-diagrams-activity2 .................... SKIPPED
[INFO] argouml-core-diagrams-class2 ....................... SKIPPED
[INFO] argouml-core-diagrams-sequence2 .................... SKIPPED
[INFO] argouml-core-diagrams-state2 ....................... SKIPPED
[INFO] argouml-core-diagrams-structure2 ................... SKIPPED
[INFO] argouml-core-diagrams-deployment2 .................. SKIPPED
[INFO] argouml-build ...................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.885 s
[INFO] Finished at: 2024-02-07T14:42:14-06:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) on project argouml-model: Compilation failure
[ERROR] Failure executing javac, but could not parse the error:
[ERROR] warning: [options] bootstrap class path not set in conjunction with -source 7
[ERROR] error: Source option 7 is no longer supported. Use 8 or later.
[ERROR] error: Target option 7 is no longer supported. Use 8 or later.
[ERROR]
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :argouml-model
When some module provides a UML notation provider and that provider is not found,
ArgoUML crashes when the user's model file is loaded.
The crash is caused by getNotationProvider
which fails to find a class for the notation provider.
It then returns null and we crash since the caller does not check for that. The end result is
that ArgoUML fails to load you model that you took a lot of care to manage during many years...
juin 20, 2020 9:48:15 AM org.argouml.notation.NotationProviderFactory2 getNotationProvider
GRAVE: No notation provider for UML 1.4 type 21
In my case, the missing provider was:
public static final int TYPE_SD_MESSAGE = 21;
which is setup by the SequenceDiagramModule
which for some reason was not loaded.
By fixing that crash, I was able to load successfully and continue using my UML models.
Can you add the instruction to building the project, please?
I want build the project with my IDE, thanks for your time
ArgoUML 0.35.1
OS: Windows 8.1 (x64)
Setup pops up an info dialog with: "No Java Runtime Environment could be found. Setup will automatically download a suitable JRE from sun.com." --even though I have a JRE installed.
C:\> echo %JAVA_HOME%
c:\progra~1\java\jdk1.8.0_202
C:\> where java
c:\Program Files\Java\jdk1.8.0_202\bin\java.exe
...I've also tried the jre\
variations but the result was the same.
While debugging ArgoUML, I reached several crashes that can easily be fixed.
.argoini
file seems to be still necessary although it is marked as @deprecated
.I'll submit a fix shortly or you may pick the correction from by fork (https://github.com/stcarrez/argouml).
(I failed to submit through repo, GitHub pull process is easier)
Having created a self-contained jar file as in #21,
mvn package -DskipTests=true
and then running using
java -jar src/argouml-build/target/argouml-jar-with-dependencies.jar
the properties panel at the bottom of the window (see attached) fails to open except when browsing to a diagram. Log:
SEVERE: Failed to create a prop panel for: Model$Impl ID: -64--88-1-93--74d54626:174e3a72d54:-8000:0000000000000B7D MID: -64--88-1-93--74d54626:174e3a72d54:-8000:000000000000060D OPCKG: -64--88-1-93--74d54626:174e3a72d54:-8000:0000000000000622
This works as I expected with
java -jar src/argouml-build/build/argouml.jar
Macbook Pro 13" early 2015
macOS Catalina 10.15.7
java version "1.8.0_152"
Java(TM) SE Runtime Environment (build 1.8.0_152-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode)
2322d07
Running in Ubuntu 22.04, it keeps issuing java.lang.InterruptedException
Moreover it logs all in system log (/var/log/syslog) filling the disk up to 100% after some minutes.
INFORMATIONAL *********** Exception occurred ************ at Tue Aug 29 11:52:28 WEST 2023
java.lang.InterruptedException
at org.openide.util.Utilities$ActiveQueue.remove(Utilities.java:2940)
at java.base/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:214)
at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:2957)
at java.base/java.lang.Thread.run(Thread.java:1589)
INFORMATIONAL *********** Exception occurred ************ at Tue Aug 29 11:52:28 WEST 2023
java.lang.InterruptedException
at org.openide.util.Utilities$ActiveQueue.remove(Utilities.java:2940)
at java.base/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:214)
at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:2957)
at java.base/java.lang.Thread.run(Thread.java:1589)
INFORMATIONAL *********** Exception occurred ************ at Tue Aug 29 11:52:28 WEST 2023
Can you tell me how I can add argouml-db plugin to main argouml app?
Currently one of the most frustrating things about ArgoUML is that if you accidently make a mistake like deleting the wrong Class, it's impossible to use CTRL-Z to cancel your action and you have only 2 choises, redo every this manually or use the saveAs button after each change to be sure you don't ruine a project.
Process: JavaApplicationStub [3348]
Path: /Applications/ArgoUML.app/Contents/MacOS/JavaApplicationStub
Identifier: JavaApplicationStub
Version: 0.34
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: JavaApplicationStub [3348]
User ID: 501
Date/Time: 2020-11-16 10:53:36.918 +0800
OS Version: macOS 11.0.1 (20B29)
Report Version: 12
Bridge OS Version: 3.0 (14Y908)
Anonymous UUID: 2568FB1A-5897-1B86-F800-EEA1755366C2
Sleep/Wake UUID: 077E7043-53F6-4277-A59B-FC4E1544D325
Time Awake Since Boot: 6700 seconds
Time Since Wake: 430 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
dyld: Using shared cache: 9F6FFF1F-4096-355B-B037-8DCE73A7AA42
Library not loaded: /System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Versions/A/JavaApplicationLauncher
Referenced from: /Applications/ArgoUML.app/Contents/MacOS/JavaApplicationStub
Reason: image not found
Binary Images:
0x100000000 - 0x100000fff +JavaApplicationStub (0.34) <0A104B32-7DA9-5517-5F17-885142098492> /Applications/ArgoUML.app/Contents/MacOS/JavaApplicationStub
0x107dc1000 - 0x107e5cfff dyld (832.7.1) <2705F0D8-C104-3DE9-BEB5-B1EF6E28656D> /usr/lib/dyld
Model: MacBookPro14,2, BootROM 429.50.1.0.0, 2 processors, Dual-Core Intel Core i5, 3.1 GHz, 16 GB, SMC 2.44f5
Graphics: kHW_IntelIrisGraphics650Item, Intel Iris Plus Graphics 650, spdisplays_builtin
Memory Module: BANK 0/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
Memory Module: BANK 1/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x171), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1669)
Bluetooth: Version 8.0.1f5, 3 services, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.0 Bus
USB Device: USB-PS/2 Optical Mouse
USB Device: Apple T1 Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 41.4
Thunderbolt Bus: MacBook Pro, Apple Inc., 41.4
tigris.org has been shutdown but the resources section of https://github.com/argouml-tigris-org/argouml still refers to it, and the repo URL in the 'contributing' section.
Distributing ArgoUML is not easy because it contains many dependencies and they have
to be part of the distribution.
I've managed to setup and use a Maven plugin that creates a single jar file that contains
everything (the ArgoUML and its dependencies). With such jar, you can launch ArgoUML
by using:
java -jar argouml-jar-with-dependencies.jar
which means that both the distribution, installation are easier.
Of course, you can still provide a argouml.sh
launch script.
I'll submit a fix shortly or you may pick the correction from by fork (https://github.com/stcarrez/argouml).
(I failed to submit through repo, GitHub pull process is easier)
When you specify a directory that contains UML profiles to load, ArgoUML will try to load all the profiles
but you don't have control of the load order. The issue is worse because the load order depends
on the HashSet which means that it can change with the location of the file. The hashCode of File
depends on the full path.
If UML profiles don't depend on each other, this is ok. But I have a UML profile that depends on another one.
I have two UML profiles:
and AWA.xmi uses the definitions from Dynamo.xmi.
Depending on the UML profile directory path, it works or not because we first load the second UML profile
and we fail to find the dependencies.
Guessing the order is difficult, trying to fix the loader is also difficult.
I've managed to have a text file that we can write and put in the UML profile directory.
ArgoUML can read that file to know the order in which it must load the UML profiles.
The file has the name argouml-profiles.conf.
It must contain a list of file names that must be loaded. The UML file must exist in the directory.
By writing the argouml-profiles.conf file in the UML profile directory, I can control the order.
Exemple of file:
Dynamo.xmi
AWA.xmi
If the argouml-profiles.conf does not exist, the old behavior is used.
I'll submit the pull request...
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) on project argouml-model: Compilation failure
[ERROR] Failure executing javac, but could not parse the error:
[ERROR] warning: [options] bootstrap class path not set in conjunction with -source 6
[ERROR] error: Source option 6 is no longer supported. Use 7 or later.
[ERROR] error: Target option 6 is no longer supported. Use 7 or later.
After building from source and lunching as java -jar argouml-with-dependencies.jar sequence diagram can not be created
In some of the tests, we have seen the MDR operations ending up in deadlock.
This has been observed in the tests tests/org/argouml/notation/providers/uml/TestCallStateNotationUml.java and tests/org/argouml/notation/providers/uml/TestTransitionNotationUml.java in src/argouml-app.
The problem seen is that the main thread, the tearDown(), holds PrimaryIndexImpl while waiting for StorageImpl while the MDR event dispatcher thread holds StorageImpl waiting for PrimaryIndexImpl.
Hello @stcarrez!
You wrote:
[...]
I was able to use repo
as explained, build, test and so on, but the submission with repo upload
failed for me, even though I have an account on gerrit.
[...]
Originally posted by @stcarrez in #9 (comment)
I would like us to solve this. Could you provide some details like the command you are using and the error messages you get?
Dear All,
It did work fine when I was working with Mojave and Earlier with an older version of JAVA ( 2017 version for Mac ). However with Catalina, the Java Version is renewed and I need it for other Applications. So, me and others here can't install an older version of Java.
Is it possible to rebuild ArgoUML with a newer Java version? For now we can't use ArgoUML anymore.
Any solution?
ArgoUML cannot be installed be installed on any windows based systems as it can't detect JRE path and it have to be download from sun.com to download JRE even if it is installed . when I disable the JRE checkbox it cannot be installed without JRE even if it is there on the system. I have checked for windows 11,10 and windows 8.
ArgoUML version : PRE-0.35.2
Java Version : 17.0.2
Java Vendor : Oracle Corporation
Java Vendor URL : https://java.oracle.com/
Java Home Directory : /Library/Java/JavaVirtualMachines/jdk-17.0.2.jdk/Contents/Home
Java Classpath : /Volumes/Miscellaneous1/argouml/app/jars/src/argouml-build/build/argouml.jar
Operation System : Mac OS X, Version 12.3.1
Architecture : aarch64
User Name : simon
User Home Directory : /Users/simon
Current Directory : /Volumes/Miscellaneous1/argouml
JVM Total Memory : 50331648
JVM Free Memory : 23066888
The Main menu doesn't have a Preferences choice. Cmd-, doesn't work either. This means that I can't set ~/.argouml/argo.user.properties
entry argo.profiles.directories
.
If instead of jdk-17 I run with a jdk1.8, Preferences is there, and I can set the default XMI directories in the Settings/Profiles tab.
Also, Main/About shows the splash image!
After I've set up argo.profiles.directories
using the old jdk, I can go back to the aarch64 jdk-17 and continue work.
I haven't noticed any other differences (just got started!)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.