Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [riena-dev] Riena 2.0.M6 and (in this case unwanted) RAP dependencies

We certainly can talk about it. However at the moment I don't know any
easy solution (other than what you do). Curious to hear your
suggestions.

Elias.

On Wed, Mar 17, 2010 at 12:15 PM, ekke <ekke@xxxxxxxxxxxxxxxx> wrote:
> hi elias,
>
> we can try it (later) - for today it was enough ;-)
> ... have to continue preparation for eclipsecon
>
> perhaps we can talk about it at eclipsecon ?
> for now I'm happy that my workaround works and we can use Riena M6 for
> EclipseCon :)
>
> thx
>
> ekke
>
>
> Am 17.03.10 20:00, schrieb Elias Volanakis:
>
> @ekke: just curious: would it help if we were using "require package"
> instead of optional bundle dependencies? (my guess is no, but it would
> be useful to try).
>
> Kind regards,
> Elias.
>
> On Wed, Mar 17, 2010 at 10:58 AM, ekke <ekke@xxxxxxxxxxxxxxxx> wrote:
>
>
> ...tried many ways:
>
> Build own feature containing the riena bundles we need to get rid of the
> Riena Updatesite inside the IDE,
> installed from our updatesite (unchecked contact other sites)
>
> in different combinations and ways
>
> but always sometimes after restarting eclipse,
> P2 thought "oooh there's an optional dependency to RAP and I know where the
> bundles are..." and again rap plug-ins are in the IDE
>
> so the only way (for now) we're using 3 modified riena plug-ins
> (o.e.r.navigation.ui.swt, o.e.r.ui.ridgets.swt, o.e.r.ui.swt)
> where we deleted the optional RAP dependencies,
> put them together with all our riena bundles used inside IDE into a Feature
> on our updatesite
> and now it works
>
> running RCP apps and using a TargetPlatform all works well using the normal
> Riena Updatesite, because there we have control which plug-ins to start
>
> the bad thing: eclipsecon is coming and I spent the day with unexpected
> things
> the good thing: eclipsecon is coming where we can talk with the ppl from RAP
> and P2 how to solve this better
>
> ekke
>
> Am 17.03.10 15:37, schrieb ekke:
>
> hi christian,
>
> sorry - I dont want to give a wrong impression !
>
> confirmed from me, too:
>
> Riena works well using Helios M6 SDK together with Riena 2.0.0.M6
> I installed all successfully into the TargetPlatform :)
> ...and will blog about it in detail...
>
> redView uses Riena from TargetPlatforms if running in RCP Applications,
> but redView also offers a Designer to be used inside the IDE - and of course
> we're using Ridgets,
> so we need some of the Riena bundles
>
> our Updatesite has dependencies to Riena Plug-ins like
> org.eclipse.riena.ui.swt
> and P2 finds this Plug-in in Rienas Updatesite
> so far so good
>
> but this (and some other) plug-ins now support RAP - which is great :)
> some days ago I saw the first time a redView (EMF) View inside a running RAP
> application
>
> the problem is P2 - in this case P2 is too smart and finds all optional
> references
> from the MANIFEST.MF - and so I got rap and swt both installed into the IDE
>
> at EclipseCon I think there will be some time ta talk about this dilemma
> with P2, RAP and Riena
>
> in the meantime I'm working on a solution how it could be done for our
> special case
> using some bundles of Riena inside the IDE
>
> I'll let you know about it
>
> ekke
>
> Am 17.03.10 15:01, schrieb Christian Campo:
>
> Hi Ekke,
> I understand your problem and we were already chatting about how to solve
> them. However Riena's features are marked as installable in the Target
> Platform of the IDE only. Thats what we tested and thats what is working as
> far as I know off.
> So I agree that it should be possible to use some bundles also in the IDE
> since you need them. But Riena is fully functionally in M6 if used as a
> Target Platform together with Equinox and RCP.
> Please dont give people the wrong impression that Riena 2.0.0.M6 does not
> work......
> thanks
> christian
> p.s. besides its even unclear whom to blame Riena or p2...
> Am 17.03.2010 um 14:10 schrieb ekke:
>
> just did a test, but i doesn't help to explicitely depend on
> swt, eclipse.ui, etc
>
> reason is that riena bundles now have optional dependencies
> to rap and rcp
> and if used inside an IDE, both are started
> I have no control on this
> P2 of course founds both on helios sites
> BLOCKER
>
> ekke
>
> Am 17.03.10 11:53, schrieb ekke:
>
> hi christian,
>
> if we install into IDE then we only have the riena M6 updatesite available
> and choose our redview features from our updatesite
>
> then its up to P2 to resolve the dependencies - and find RAP from the
> optional package
>
> think, I have a solution:
>
> we create 2 additional features:
>
> org.redview.rcp
> with explicit bundle dependency to 'normal' bundles
>
> org.redview.rap
> with explicit bundle dependency to RAP bundles
>
> then deploy two update sites where always only one feature is included
>
> then the user can choose what to get and P2 will get the right bundles
>
> ekke
>
> Am 17.03.10 11:41, schrieb Christian Campo:
>
> Hi Ekke,
>
> Riena now comes with an optional package that allows you to run Riena with
> RAP. Is it possible that you install including all optional dependencies ?
> christian
> Am 17.03.2010 um 10:49 schrieb ekke:
>
> hi,
> just did our first tests using Riena 2.0.0.M6
>
> works well if used normally in Target Platform - installed all successfully
> using helios M6 SDK
> (will blog later a detailed description)
>
> but in redview we're using some bundles of Riena in the IDE (needed from
> redViews Designer Editor)
>
> we've successfully build an updatesite running with Riena 2.0.0.M5
> yesterday evening flo fixed compile errors and created a new updatesite for
> redview with Riena M6
>
> I just tried in a new SDK M6 workspace with Riena 2.0.0.M6
> and corrupted my IDE because some RAP bundles come in (see attachment)
>
> think that there are some dependencies from redview (perhaps
> package-import-dependency) to riena causing eclipse to get a wrong bundle
> into the IDE
>
> thanks for any hint where we should look
> --
>
> ekke (ekkehard gentz)
> independent software-architect
> senior erp-consultant
> eclipse | osgi | equinox | mdsd | oaw | emf | uml
> max-josefs-platz 30, D-83022 rosenheim, germany
> mailto:ekke@xxxxxxxxxxxxxxxx
> homepage (de): http://gentz-software.de
> blog (en): http://ekkes-corner.org
> twitter: @ekkescorner
> skype: ekkes-corner
> Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490
>
> <flo wrong dependencies.png><ATT00001.c>
>
> -------------------------------------------------------------
> compeople AG
> Untermainanlage 8
> 60329 Frankfurt/Main
> fon: 069 / 27 22 18 0
> fax: 069 / 27 22 18 22
> web: www.compeople.de
> Vorstand: Jürgen Wiesmaier
> Aufsichtsratsvorsitzender: Christian Glanz
> Sitz der Gesellschaft: Frankfurt/Main
> Handelsregister Frankfurt HRB 56759
> Ust-Ident.-Nr: DE207665352
> -------------------------------------------------------------
>
> _______________________________________________
> riena-dev mailing list
> riena-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/riena-dev
>
>
> --
>
> ekke (ekkehard gentz)
> independent software-architect
> senior erp-consultant
> eclipse | osgi | equinox | mdsd | oaw | emf | uml
> max-josefs-platz 30, D-83022 rosenheim, germany
> mailto:ekke@xxxxxxxxxxxxxxxx
> homepage (de): http://gentz-software.de
> blog (en): http://ekkes-corner.org
> twitter: @ekkescorner
> skype: ekkes-corner
> Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490
>
> _______________________________________________
> riena-dev mailing list
> riena-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/riena-dev
>
>
> --
>
> ekke (ekkehard gentz)
> independent software-architect
> senior erp-consultant
> eclipse | osgi | equinox | mdsd | oaw | emf | uml
> max-josefs-platz 30, D-83022 rosenheim, germany
> mailto:ekke@xxxxxxxxxxxxxxxx
> homepage (de): http://gentz-software.de
> blog (en): http://ekkes-corner.org
> twitter: @ekkescorner
> skype: ekkes-corner
> Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490
>
> _______________________________________________
> riena-dev mailing list
> riena-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/riena-dev
>
>
>
>
>
>
> --
>
> ekke (ekkehard gentz)
> independent software-architect
> senior erp-consultant
> eclipse | osgi | equinox | mdsd | oaw | emf | uml
> max-josefs-platz 30, D-83022 rosenheim, germany
> mailto:ekke@xxxxxxxxxxxxxxxx
> homepage (de): http://gentz-software.de
> blog (en): http://ekkes-corner.org
> twitter: @ekkescorner
> skype: ekkes-corner
> Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490
>
> _______________________________________________
> riena-dev mailing list
> riena-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/riena-dev
>
>



-- 
Elias Volanakis | Technical Lead | http://eclipsesource.com
elias@xxxxxxxxxxxxxxxxx | +1 503 929 5537 | @evolanakis


Back to the top