[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] use of dropins support in rcp app?

Hi DJ,

Thanks for responding.

I am doing the debug/stepping through thing.  But I need to ask...in this case what's being installed via dropins are *fragments*...for internationalization/language support.  The host bundle for these bundles is already installed. 

Is there anything other/more that needs to be done in such a case? (other than just start the reconciler and the directory watcher?).  It seems that when the fragment is put into the dropins directory the reconciler ignores it (at least that's what's happened so far in tests)...and so obviously it doesn't get resolved...before or after framework restart.

Thanks for any further info and/or pointers,

Scott

On 3/23/2011 1:14 PM, DJ Houghton wrote:

Hi Scott, this sounds right to me. The easiest this to do would be set up the rcp app for remote debug [1] and then connect and step through the code in the reconciler to see what is happening. After it makes it through a couple of isUpToDate() checks, the next interesting method is createProfileChangeRequest() which goes over all the available repo and discovers new bundles. If you can't figure it out then feel free to open up a bug report and attach a simple zip I can download it and see if I can see what's going on.

dj

[1] add the following to the eclipse.ini:
-Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000


Inactive hide details for Scott Lewis ---03/22/2011
          02:48:41 PM---Hey, Is there any documentation on the use of
          the 'dropins' dScott Lewis ---03/22/2011 02:48:41 PM---Hey, Is there any documentation on the use of the 'dropins' directory support


From:

Scott Lewis <slewis@xxxxxxxxxxxxx>

To:

P2 developer discussions <p2-dev@xxxxxxxxxxx>

Date:

03/22/2011 02:48 PM

Subject:

[p2-dev] use of dropins support in rcp app?

Sent by:

p2-dev-bounces@xxxxxxxxxxx





Hey,

Is there any documentation on the use of the 'dropins' directory support
in an rcp app?  From what I've seen, I expect that these plugins need to
be present and started (and p2 dependencies of course):

org.eclipse.equinox.p2.reconciler.dropins
org.eclipse.equinox.p2.directorywatcher

Question:  are there other things that need to be done (other than
having a dropins folder in install location), in order to have p2
install bundles and/or fragments that are added to the dropins folder of
an rcp application?  What I'm seeing is that although these bundles are
present and started (at app startup), adding bundles to the dropins
folder is currently ignored.

Thanksinadvance for any pointers,

Scott


_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev


_______________________________________________ p2-dev mailing list p2-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/p2-dev

GIF image

GIF image