Community
Participate
Working Groups
eclipse integration build 20020621. Window XP. java version "1.3.1_02" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02) Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode) Create a feature without a license. Lay it down manually with a fresh eclipse install. The feature will be added to the config and be available but the features without licenses cannot be disabled. This is an example feature.xml <?xml version="1.0" encoding="UTF-8"?> <feature id="bug.feature.lic" label="Feature for an Update URL only" version="1.0.0" provider-name="IBM"> <url> <update label="Update Site" url="http://www.ibm.com"/> </url> </feature>
The current rule seems to be that features with no license cannot be updated. However it still gets loaded. When this occurs it can not be updated or disabled via eclipse. It needs to be removed manually. Because the features some products ship may ship without licenses (the license is accepted at install time) This means that the product would not be updateable. What should occur is that the feature being "downloaded" from the update site have a license for click through. We have up'd the severity of this.
To be clear, only root features can be disabled. So the license would only have to be in the root feature. That said, it is confusing to be blocked by license text that is only visible during the act of an update (the accept/reject question). The update manager only seems to be able to show license content from the identified html reference and not the text in feature.properties (unless in the update wizard).
The point is the presence/absence of license cannot be a blocking factor.
Should not prevent Enable/Disable if a feature without a license has already been installed.
The problem in code is that absence of license causes the 'do' button to be hidden irrespective to the feature context. The correct fix would be to test the license presence only for features that are not in the local site context (i.e. already present in the current configuration).
Fixed in 2.0.1 stream