ObeoNetwork / UML-Designer

OpenSource (EPL licensed) UML2 Graphical Modelers (Class, Composite, State, Activity, Sequence ...)
http://umldesigner.org
320 stars 123 forks source link

[UML-86] [Licenses] OD Architect Temporary License popup should not appear when launching and using UML Designer #293

Closed cbrun closed 10 years ago

cbrun commented 10 years ago

[reporter="fmadiot", created="Mon, 6 Feb 2012 15:26:00 +0100", resolved="Mon, 18 Jun 2012 17:11:22 +0200"]

When launching Eclipse with a temporary ODA license, a popup appears even if no ODA feature is used ("The use of this software is subject to the following registration/notice ...").
This is the case with UML Designer which is supposed to work without specific license installation.
The problem comes from the fact that OD only manages one license -> the ODA temporary license is taken prior to UML infinite license.

A solution discussed with CBR and SBO could be to dissociate ODA and ODS license controls.
Temporary license and no valid license popups :

The drawback of this solution is that no popup appears to ODS users who are testing a specific modeler with a temporary license.

cbrun commented 10 years ago

[author="cbrun", created="Mon, 7 May 2012 17:03:53 +0200"]

For the sake of clarification and after checking the implementation: OD aggregates any number of licenses in a single one, if at least one license is providing a popup message, it is going to be displayed when the license system starts.

In a nutshell if the Eclipse installation has an ODA evaluation license installed, the popup will appear. So far it has not been implemented in a way we are able to display different messages depending on the license control.

It doesn't look as easy as planned.

cbrun commented 10 years ago

[author="fmadiot", created="Mon, 7 May 2012 17:12:01 +0200"]

Is it possible to hard-code the UML case to avoid the dialog to open with UML users?

cbrun commented 10 years ago

[author="cbrun", created="Mon, 18 Jun 2012 15:05:20 +0200"]

I had one of those "eureka" moments. We can probably integrate the UML licence directly in the UML plugins. Anybody installing the UML Designer from an Eclipse will at least have this licence (and not the Obeo Designer one but we don't really care at this point) and should not see any message.

Installing Obeo Designer (and the corresponding eval licence) mean he will have the evaluation message.

I have to test this approach, if it works it means we'll have to remove hardcoded dependency on the evaluation licence.

cbrun commented 10 years ago

[author="fmadiot", created="Mon, 18 Jun 2012 16:12:52 +0200"]

If this solution works, it means that "free" designers (such UML) will have a dependency on a Obeo Designer without the license.
How do you expect to manage other designers (which need a temporary license of od) ? They will have their own temporary license ? or a dependency on OD temporary license ?

cbrun commented 10 years ago

[author="cbrun", created="Mon, 18 Jun 2012 16:23:41 +0200"]

Others are supposed to reference the temporary licence (or any licence, in fact its fr.obeo.mda.license), just like it is right now.

First tests @runtime looks conclusive, launching a build.

cbrun commented 10 years ago

[author="cbrun", created="Mon, 18 Jun 2012 16:42:22 +0200"]

checked with build 126

cbrun commented 10 years ago

[author="cbrun", created="Mon, 18 Jun 2012 16:52:58 +0200"]

Small glitch : the subsequent restart complain about the missing licence for the fr.obeo.mda.pim.ecore.design modeler (which is bundled and get installed when installing UML) and the fr.obeo.**interaction modeler.

I'll try to update the licence to allow those.

cbrun commented 10 years ago

[author="cbrun", created="Mon, 18 Jun 2012 17:11:22 +0200"]

f0f717e1ed5ba7dcc33bdfe642991294b638485d introduces the new licence

cbrun commented 10 years ago

[author="cbrun", created="Mon, 25 Jun 2012 16:54:08 +0200"]

validated with build 1.3.0.201206251537

The popup is not displayed. Installing a new evaluation licence lead to the popup re-appearing.

cbrun commented 10 years ago

[author="mbats", created="Thu, 29 Aug 2013 10:30:02 +0200"]

Closed