osate / osate2

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

Osate MacOS plugin development #339

Closed eposse closed 10 years ago

eposse commented 10 years ago

Hi. I'm running into a lot of trouble getting Osate2 to work in MacOS Mavericks, specifically for plugin-development. I've had many problems:

1) The 64 bit versions available at "http://www.aadl.info/aadl/osate" both stable and testing cannot be run on MacOS. When attempting to open them I get a dialog box that says "osage is damaged and cannot be opened". The 32 bit versions seem OK. But this is strange as I am running a 64 bit processor (Core i7)

2) After checking for updates, I get version 2.0.6 (the url above has only links up to 2.0.5). To develop plugins, I need the PDE and JDT, so I install the Eclipse SDK from the Eclipse update site, which installs the latest version of Eclipse (4.3.2). When I restart the tool, it crashes at several points, without doing much. It crashes with several different events, such as maximising the Eclipse window, or clicking on any menu, or attempting to open the Help contents. It becomes irresponsive, so I have for force it to quit, but it seems as if the next time I restart it, it just hangs. Most of the time I don't even get a crash report, and if I get one, it's huge (I don't know how to attach it here).

So I have a couple of questions:

1) Has Osate2 been tested on the Mac?

2) Are there any known incompatibilities?

3) What must be done to be able to do Osate2 plugins?

There is a very old plugin development tutorial (2005) for Osate, which says that one needs the Eclipse SDK. I imagine that despite being an old tutorial this is still required, right? Is there something else that needs to be installed? Does the order matter, e.g. should I install the SDK first and then Osate?

Thanks.

reteprelief commented 10 years ago

Brian Larson has been using OSATE2 and doing plug-in development on the Mac. His email is brianrlarson@comcast.net

eposse commented 10 years ago

Thanks, I'll ask him.

reteprelief commented 10 years ago

You may also want to check out www.aadl.info/wiki about the latest information regarding the development of OSATE2. https://wiki.sei.cmu.edu/aadl/index.php/Osate_2

juli1 commented 10 years ago

Please double check if the archive are corrupted or the error is raised when you attempt to run OSATE. In the later case, can you check the JVM installed on your system? There might be some issue with the default JVM in Mac OS and I know that many applications uses the 32 bits by default.

Also, not having the link to the 2.0.6 is normal because this version is not released. This is the actual testing/develop branch. I would recommend to try version 2.0.5 and see if this one works correctly.

In order to get the plugins, they are included in the stable version, you do not need anything else than the current OSATE version.

About the tutorial, this is very old. If you want to develop your own OSATE plugin, I would recommend to pull the OSATE sources in an Eclipse environment and try to copy simple plugins such as the architecture statistics.

If you have any questions regarding OSATE development, please ask the mailing-list, the issue tracker is rather used for OSATE bugs. See https://wiki.sei.cmu.edu/aadl/index.php/Mailing_List