Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 292691 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/pde/internal/ui/build/RuntimeInstallJob.java (-3 / +3 lines)
Lines 84-94 Link Here
84
84
85
			// p2 needs to know about the generated repos
85
			// p2 needs to know about the generated repos
86
			URI destination = new File(fInfo.destinationDirectory).toURI();
86
			URI destination = new File(fInfo.destinationDirectory).toURI();
87
			session.loadArtifactRepository(destination, new SubProgressMonitor(monitor, 1));
87
			ui.loadArtifactRepository(destination, new SubProgressMonitor(monitor, 1));
88
88
89
			IMetadataRepository metaRepo = session.loadMetadataRepository(destination, new SubProgressMonitor(monitor, 1));
89
			IMetadataRepository metaRepo = ui.loadMetadataRepository(destination, new SubProgressMonitor(monitor, 1));
90
90
91
			IProfile profile = session.getProfile(IProfileRegistry.SELF);
91
			IProfile profile = session.getProfileRegistry().getProfile(IProfileRegistry.SELF);
92
			if (profile == null) {
92
			if (profile == null) {
93
				return new Status(IStatus.ERROR, PDEPlugin.getPluginId(), PDEUIMessages.RuntimeInstallJob_ErrorCouldntOpenProfile);
93
				return new Status(IStatus.ERROR, PDEPlugin.getPluginId(), PDEUIMessages.RuntimeInstallJob_ErrorCouldntOpenProfile);
94
			}
94
			}

Return to bug 292691