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 274695 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/equinox/p2/publisher/eclipse/FeaturesAction.java (-4 lines)
Lines 59-68 Link Here
59
		iu.setId(id);
59
		iu.setId(id);
60
		Version version = Version.parseVersion(feature.getVersion());
60
		Version version = Version.parseVersion(feature.getVersion());
61
		iu.setVersion(version);
61
		iu.setVersion(version);
62
		if (feature.getLicense() != null)
63
			iu.setLicense(MetadataFactory.createLicense(toURIOrNull(feature.getLicenseURL()), feature.getLicense()));
64
		if (feature.getCopyright() != null)
65
			iu.setCopyright(MetadataFactory.createCopyright(toURIOrNull(feature.getCopyrightURL()), feature.getCopyright()));
66
62
67
		// The required capabilities are not specified at this level because we don't want the feature jar to be attractive to install.
63
		// The required capabilities are not specified at this level because we don't want the feature jar to be attractive to install.
68
		iu.setTouchpointType(PublisherHelper.TOUCHPOINT_OSGI);
64
		iu.setTouchpointType(PublisherHelper.TOUCHPOINT_OSGI);

Return to bug 274695