Hi Scott,
We did have some problems in the past where the bundles were already loaded and the fragments only worked on the 2nd invocation [1] as well as recently where the fragments were providing translations to the fragment.xml file (rather than for Java code) [2] but both those issues should be resolved.
Is the ProfileChangeRequest being created corrected? The method #getAllIUsFromRepos() is also interesting because it should be including your drop-ins folder (and new IUs) in its search.
dj
[1] https://bugs.eclipse.org/285621
[2] https://bugs.eclipse.org/339211
Scott Lewis ---03/23/2011 06:02:56 PM---Hi DJ, Thanks for responding.
From: |
Scott Lewis <slewis@xxxxxxxxxxxxx> |
To: |
p2-dev@xxxxxxxxxxx |
Date: |
03/23/2011 06:02 PM |
Subject: |
Re: [p2-dev] use of dropins support in rcp app? |
Sent by: |
p2-dev-bounces@xxxxxxxxxxx |
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
Scott Lewis ---03/22/2011 02:48:41 PM---Hey, Is there any documentation on the use of the 'dropins' directory support
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
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev
|