eclipse-capella / capella

Open Source Solution for Model-Based Systems Engineering
https://mbse-capella.org
Eclipse Public License 2.0
236 stars 96 forks source link

Capella additional installation steps for macOs and Linux #2021

Open eclipse-capella-bot opened 3 years ago

eclipse-capella-bot commented 3 years ago

Hi,

Tehre are several messages on the forum which indicates how to make the Linux and macOS versions of the Capella bundles works :

The main step it to do a chmod O+x on the the eclipse executable.

For 5.0, this additional step will have to be modified as the packaging has changed:

A first lead is to modify the build to produce a tar.gz archive instead of a zip to keep the autorizations on the files/scripts (see for example Eclipse Rust 2020-09)

The Capella studio might need the same changes.

πŸ†” ECLIPSE-569651 πŸ‘· maxime.porhel πŸ“… 2020-12-11 πŸ”Ž 5.0.0

eclipse-capella-bot commented 3 years ago

philippe.dul commented on 2020-12-11

ECLIPSE-569628 has been marked as a duplicate of this bug.

maxime.porhel commented on 2020-12-21

Additional remark : the capella.ini which is present in the Capella bundle for macOS does not contain a -vm with path to the JRE 14.0.2 included in the bundle.

It should contain something like

-vm ../../../jre/Contents/Home/bin/

maxime.porhel commented on 2020-12-21

See this post to use Capella 5.0 on macOS with the packaged JRE.

maxime.porhel commented on 2020-12-21

(In reply to maxime.porhel from comment #3)

See this post to use Capella 5.0 on macOS with the packaged JRE : https://forum.mbse-capella.org/t/capella-5-on-mac/4354

The https://wiki.eclipse.org/Capella/Installation_Guide#Capella_Installation page could also been a good candidate to host the procedure for Linux and macOS.

maxime.porhel commented on 2020-12-22

See work in progress in https://ci.eclipse.org/capella/job/capella-product/job/PR-456/

maxime.porhel commented on 2021-01-08

The pull request has been merged by Philippe.

Nightly builds of Capella now produces tar.gz bundles for Linux and macOS.

To run Capella on Linux:

  • extract the content of the archive
  • run the capella executable

To run Capella on macOS:

  • extract the content of the archive
  • regarding the configuration of your OS, the application is tagged as quarantined
    • open a terminal
    • go to the folder in which you did the extraction, cd Desktop/ for example
    • execute ls to check that Capella.app is present and that you are in the expected folder
    • execute xattr Capella.app
    • if you see com.apple.quarantine as result of the previsou command : execute xattr -d com.apple.quarantine Capella.app *. execute xattr Capella.app : this time you should see no result
  • Double clic on Capella application to launch it