View | Details | Raw Unified | Return to bug 232445
Collapse All | Expand All

(-)src/org/eclipse/equinox/internal/p2/reconciler/dropins/Activator.java (-5 / +2 lines)
Lines 143-151 Link Here
143
			return;
143
			return;
144
		if (!startEarly("org.eclipse.equinox.frameworkadmin.equinox")) //$NON-NLS-1$
144
		if (!startEarly("org.eclipse.equinox.frameworkadmin.equinox")) //$NON-NLS-1$
145
			return;
145
			return;
146
		IProfile profile = getCurrentProfile(context);
147
		if (profile == null)
148
			return;
149
146
150
		checkConfigIni();
147
		checkConfigIni();
151
148
Lines 153-159 Link Here
153
		// old .pooled repositories. Remove this call soon.
150
		// old .pooled repositories. Remove this call soon.
154
		removeOldRepos();
151
		removeOldRepos();
155
		// create the watcher for the "drop-ins" folder
152
		// create the watcher for the "drop-ins" folder
156
		watchDropins(profile);
153
		watchDropins();
157
		// keep an eye on the platform.xml
154
		// keep an eye on the platform.xml
158
		watchConfiguration();
155
		watchConfiguration();
159
156
Lines 452-458 Link Here
452
	/*
449
	/*
453
	 * Create a new directory watcher with a repository listener on the drop-ins folder. 
450
	 * Create a new directory watcher with a repository listener on the drop-ins folder. 
454
	 */
451
	 */
455
	private void watchDropins(IProfile profile) {
452
	private void watchDropins() {
456
		List directories = new ArrayList();
453
		List directories = new ArrayList();
457
		File[] dropinsDirectories = getDropinsDirectories();
454
		File[] dropinsDirectories = getDropinsDirectories();
458
		directories.addAll(Arrays.asList(dropinsDirectories));
455
		directories.addAll(Arrays.asList(dropinsDirectories));

Return to bug 232445