Access rules in bundle dependencies which can't be changed [message #836188] |
Wed, 04 April 2012 03:19  |
Eclipse User |
|
|
|
I have a bundle implementing JSR-275 in my repository, so it exports javax.measure, javax.measure.converter, javax.measure.quantity, and javax.measure.unit. I also have several projects depending on this bundle via Bundle Dependencies container. Suddenly after cleaning the workspace one of them failed to compile with the error message
Access restriction: The type Quantity is not accessible due to restriction on required library W:\1\virgo-tomcat-server-3.0.0.RELEASE\repository\usr\ru.focusmedia.jsr-275_1.0.0.jar
On checking, somehow this project got these access rules for ru.focusmedia.jsr-275_1.0.0.jar:
Accessible: javax/measure/*
Accessible: javax/measure/unit/*
Forbidden: **/*
Other projects in the same workspace (which compile without errors) include Accessible: javax/measure/converter/* and Accessible: javax/measure/quantity/*. I can add these rules manually, but it doesn't stick; after I press OK and reopen Java Build Path, the rules have not changed. Any ideas how this could be fixed?
|
|
|
|
Powered by
FUDForum. Page generated in 0.28204 seconds