Recent posts

#11
General Archi Discussion / Re: Java was started but retur...
Last post by Phil Beauvoir - May 11, 2022, 14:12:19 PM
Quote from: Frédéric Legrain on May 11, 2022, 12:55:41 PMHi,
I just had the same problem since a recent Windows blue screen crash.
As Archi on Windows brings its how JRE, how is it possible that there now is a version mismatch?

I don't know how that could happen. Assuming you're on Windows 64-bit perhaps a re-install of Archi might fix it.
#12
coArchi / Re: File is not directory or f...
Last post by Jean-Baptiste Sarrodie - May 11, 2022, 13:41:47 PM
Hi,

Quote from: wnad on May 11, 2022, 08:13:12 AMthey have the message " cannot commit on repo with state merging"

This seems to indicate that they still use an old version of coArchi (<0.6.0). Can you provide more details about the version of Archi and coArchi please ?

This message implies that a git merge operation has been started but was aborted without any cleanup (which coArchi does automatically) for some reasons.

If their work has already been saved on the server, then the easiest way to solve this is to delete the model from the workspace and import it back from the server. Then (with a recent version of coArchi) retry the merge, keep a copy of the conflict screen, and abort the merge. All "deleted by them/mine" conflicts should match folder which have been moved.

Regards,

JB
#13
Hi,
I just had the same problem since a recent Windows blue screen crash.
As Archi on Windows brings its how JRE, how is it possible that there now is a version mismatch?



#14
coArchi / File is not directory or folde...
Last post by wnad - May 11, 2022, 08:13:12 AM
we have a big problem with co archi
some users tryes to merge master in their branch and have after the conflicts window the message "File is not directory or folder.xml not exist" and when they try to merge their into master they have the message " cannot commit on repo with state merging"
i try to resolve with different action but the problem persist

apparently no folder has be change ...

if you can help us ..
#15
General Archi Discussion / Re: Paste in Visio not working...
Last post by Phil Beauvoir - May 10, 2022, 17:59:14 PM
Quote from: johmut on May 09, 2022, 08:36:46 AMI get all the boxes and the lines but no colours and no text, except for the text on named relations?

I don't know how that is possible. In the Archi/Eclipse code, a BMP image is created from the raw image data and copied to the system clipboard. This image data could be anything, not just boxes and lines (for example, diagram objects that have images). Perhaps Visio has some strange image recognition that filters only boxes and lines?
#16
General Archi Discussion / Re: Paste in Visio not working...
Last post by xiaoqi - May 10, 2022, 17:45:54 PM
If you paste as image, my understanding is you're not intending to have model element information in Visio, right? Then, possible you can use screen-capturing tool to snap the area of image screen then paste special into Visio.
#17
jArchi / Re: jArchi library with functi...
Last post by Phil Beauvoir - May 10, 2022, 15:25:13 PM
Thanks for sharing!

Phil
#18
jArchi / Solved: Archi-jArchi hangs in ...
Last post by Xavier Mayeur - May 10, 2022, 15:08:29 PM
Found how to manage this.

When following the rules to create a customized Archi package (see How to create a packaged version of Archi), the 'custom_defaults.prefs' file should be located in the current directory where you actually start Archi for the first time and not in the directory where Archi is installed.

Here attached:
-  a sample of azure-pipelines.yml configuration file, where the 'archimatetool' directory contains the installation files (Archi-Linux*.tgz distribution, Archi.ini file , dropins folder, custom_defaults.prefs file)

- a test bash scripts, located in a 'scripts' directory, that invokes Archi and a test.ajs script (not provided - it does you want)

- any jArchi scripts, located in a 'jArchi' directory

#19
jArchi / jArchi library with functions ...
Last post by Xavier Mayeur - May 10, 2022, 14:52:44 PM
For whose who are interested, please find attached a library with functions to manage the layout of the relationships in view:

Link: Gist 'relLib.ajs'

Example:

load(__DIR__+'relLib.aj')  // load relLib library

// create L-shaped visual relationships connected to the selected objects(views, elements, relationships)
       doEachRel(lRel)(selection, 0) // start horizontal and create a L-Shape relationship

// create S-shape visual relationships
        doEachRel(sRel)(selection, 1) // start vertically and create a S-shape relationship

// arrange and spread equally multiple visual relationships along the edges of an element
       doEachRel(distributeConnections)(selected_element)

// make all existing visual relationships orthogonal (especially after moving an object in a view)
        doEachRel(ortho)(selection)


Enjoy,

Xavier
#20
General Archi Discussion / Paste in Visio not working?
Last post by johmut - May 09, 2022, 08:36:46 AM
Our organisation switched to O365 Click-to-Run applications. I can no longer copy views from Archi (copy as image to clipboard) and paste into Visio? I get all the boxes and the lines but no colours and no text, except for the text on named relations? Paste Special only shows only one option: "Device Independent Bitmap", with the result described above. When I paste the same clipboard into Paint or PowerPoint, I do get the View as a picture with all colours and texts. When I then copy the picture from PowerPoint and paste it into Visio, it appears correctly...
I understand this is likely a Visio issue but is there a workaround other than passing through another app?

(I am using Archi Version 4.9.3 Build 202203221030 and Visio Version 2202 Build 14931.20274)