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



                                                                       
  From:       Scott Lewis <[email protected]>                       
                                                                       
  To:         P2 developer discussions <[email protected]>            
                                                                       
  Date:       03/22/2011 02:48 PM                                      
                                                                       
  Subject:    [p2-dev] use of dropins support in rcp app?              
                                                                       
  Sent by:    [email protected]                               
                                                                       





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
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev

<<inline: graycol.gif>>

<<inline: ecblank.gif>>

_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev

Reply via email to