franca / franca

A framework for defining and transforming interfaces
Eclipse Public License 1.0
229 stars 71 forks source link

Franca Examples trigger warnings with Franca 0.10 #164

Closed gmacario closed 9 years ago

gmacario commented 9 years ago

Hello,

Trying to get my hands dirty with Franca 0.10 I have loaded project org.franca.examples.basic inside Eclipse and noticed that a few warnings are shown.

Please see screenshot.

I believe I have a easy fix for at least 8 of them:

Deprecated order of interface elements (contract should be at the end)

I may submit a Pull Request if you like...

Hope that helps, Gianpaolo

kbirken commented 9 years ago

Removed most warnings in the two example projects (basic and deploy). Implemented by commit 67a770c and two previous commits on branch develop.

In the basic example, one warnings remains (this is done deliberately, because it shows the validation of interface contracts).

kbirken commented 9 years ago

I just updated the example project zip archive for the 0.10.0 version of Franca. It can be downloaded from the usual Google Drive folder.

https://drive.google.com/folderview?id=0B7JseVbR6jvhfm42djAxdVBZUFpoakdKazA3b0xLWjd6RHRNMUFDcDRNWDc1S200UTh0Q1k&usp=sharing

gmacario commented 9 years ago

Hi @kbirken,

Thanks for doing that.

By the way: Is there any reason why org.franca.examples.* are not delivered inside the FRANCA_UPDATE_SITE (i.e. https://franca.github.io/franca/update_site/releases/...) as all the other Franca features/plugins?

See https://github.com/gunnarx/franca_install_automation/blob/master/CONFIG

kbirken commented 9 years ago

@gmacario The reason it's not included in the update site is that the user does not want to install the example projects in the IDE, but wants to import it into the workspace instead and play around.

Actually, there is a way in Eclipse to provide example projects via the "New project" wizard... but I never regarded importing a separate zip-file as inhibitory inconvenient...