osate / osate2

Open Source AADL2 Tool Environment
http://osate.org
Eclipse Public License 2.0
36 stars 8 forks source link

OSATE 2.1.1 not working on OS X #614

Closed yoogx closed 9 years ago

yoogx commented 9 years ago

Hi,

I just downloaded the product OSATE2.1.1. It seems the packaging is broken. The initial directory structure is info.plist MacOS/ with an osate script osate2/ folder where all OSATE stands

Note there is no osage.app as it was the case before

If I run osate, the tool complains it misses some library If I copy the script in osate2 folder, osate2 starts, but none of the AADL tool work. .aadl files can only be opened with my system editor, that is emacs.

I also tried OSATE2.1.0, the packaging is better, but I cannot edit any AADL file, error message is "No editor descriptor for id org.osate.xtext.aadl2.Aadl2"

AFAICT, the packaging is different from 2.0.8 which is the latest I tried on my mac

lwrage commented 9 years ago

It seems that it broke with 2.1.0 already. I don't have a Mac and don't know enough about OS X to fix this in the tycho build configuration. It looks like we'll have to discontinue the OS X zip distribution until we find a volunteer who fixes it. Does the installation from the update site work?

yoogx commented 9 years ago

Hi, for the records, this seems to be the way to go: http://dentrassi.de/2014/09/09/creating-a-mac-os-app-bundle-with-maven-tycho/

This post lists a few missing entries to enable correct bundling of OS X app. I'll test and report on this ticket when time permits, but also please note that I cannot test until September, as I have very limited bandwidth to install all required dependencies for the next few week.

lwrage commented 9 years ago

The real problem is that there seems to be a bug in tycho 0.23.x. The build works fine with 0.22.0, and I've also successfully made a real app bundle. I'll upload a new 2.1.1 build later today.

lwrage commented 9 years ago

As it turns out, it's not a bug in tycho. The packaging of OS X applications has changed with eclipse Mars and tycho 0.23.0 is aligned with that. Mars has an updated launcher binary that can find the ini file outside the MacOS directory.