Recent posts

#71
coArchi / Error during publishing to rem...
Last post by Yost67 - March 04, 2024, 11:00:13 AM
Hi,

I getting the error below when trying to sync my local model with the remote one. Both models have changes. There is a view in my local model that was deleted in the remote model. This triggers a conflict resolution. I tried both options, A) keep the local view, and B) keep the remote (deleted) view. In both instances I run into the error:

java.io.IOException: File is not directory or folder.xml does not exist.
   at org.archicontribs.modelrepository.grafico.GraficoModelImporter.loadFolder(GraficoModelImporter.java:291)
   at org.archicontribs.modelrepository.grafico.GraficoModelImporter.loadFolder(GraficoModelImporter.java:304)
   at org.archicontribs.modelrepository.grafico.GraficoModelImporter.loadModel(GraficoModelImporter.java:274)
   at org.archicontribs.modelrepository.grafico.GraficoModelImporter.importAsModel(GraficoModelImporter.java:122)
   at org.archicontribs.modelrepository.grafico.GraficoModelLoader.lambda$0(GraficoModelLoader.java:73)
   at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
   at org.archicontribs.modelrepository.grafico.GraficoModelLoader.loadModel(GraficoModelLoader.java:71)
   at org.archicontribs.modelrepository.actions.RefreshModelAction.pull(RefreshModelAction.java:266)
   at org.archicontribs.modelrepository.actions.PushModelAction$1$1.run(PushModelAction.java:88)
   at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:434)
   at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:352)
   at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:470)
   at org.archicontribs.modelrepository.actions.PushModelAction$1.run(PushModelAction.java:78)
   at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
   at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
   at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4368)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3991)
   at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
   at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
   at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
   at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:643)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:550)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:171)
   at com.archimatetool.editor.Application.start(Application.java:70)
   at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.base/java.lang.reflect.Method.invoke(Unknown Source)
   at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
#72
General Archi Discussion / Re: Archimate Element Icons
Last post by Phil Beauvoir - February 28, 2024, 19:01:16 PM
You could use the ones that ship with Archi. On Windows these can be found in the Archi/plugins/com.archimatetool.editor_5.2.0.202311011021/img/archimate folder.
#73
General Archi Discussion / Archimate Element Icons
Last post by Gemini - February 28, 2024, 18:55:45 PM
Hello,
Where can I find Archimate Element Icons so I can use them as Custom image in other type of visual elements, e.g. Groups?

Thanks
#74
General Archi Discussion / Re: To split the name text of ...
Last post by Gemini - February 27, 2024, 18:50:24 PM
Many Thanks!
#75
General Archi Discussion / Re: To split the name text of ...
Last post by Phil Beauvoir - February 27, 2024, 18:39:56 PM
A label expression is added in the "Label" tab in the Properties window. See page 61 of the User Guide. For your case you could copy and paste the label expression there.
#76
General Archi Discussion / Re: To split the name text of ...
Last post by Gemini - February 27, 2024, 18:34:36 PM
Thank you for your reply.

It is not clear to me how it can be used. It looks like a jArchi script.

How can I use it in the Main -> Name Field of Element? When I use there,  simply it shows the label command.
#77
General Archi Discussion / Re: To split the name text of ...
Last post by Phil Beauvoir - February 26, 2024, 21:14:41 PM
Hi, you could use a label expression like this:

${wordwrap:1:${name}}
See https://github.com/archimatetool/archi/wiki/Label-Expressions
#78
General Archi Discussion / To split the name text of an A...
Last post by Gemini - February 26, 2024, 21:06:31 PM
Hello,
How can I split the name text of an ArchiMate element by new lines?
Thanks
#79
jArchi / Re: Creating relationships via...
Last post by Phil Beauvoir - February 26, 2024, 15:03:20 PM
That should be possible via a CSV/Excel file assuming that the source and target IDs matched existing IDs in the model. You'd need a JS CSV/Excel parsing library. There's an example here - https://gist.github.com/smileham/1e57a5946235e780dee5a824f664aa3d
#80
jArchi / Creating relationships via csv...
Last post by JoCriSem - February 26, 2024, 14:31:53 PM
Is there a way to import relationships created outside Archi (e.g. via a macro in XLS), based on the ID, Source and Target?