How to access my own plug-in in the RCP program [message #447665] |
Wed, 12 April 2006 04:46 |
Eclipse User |
|
|
|
I encountered a strange problem when I try to use a class in a RCP program which defined in my plug-in. But the eclipse tell me there is problem called :
<i>Access restriction: The type ParserEclipse is not accessible due to restriction on required library D:\target\eclipse\plugins\org.stat_1.0.0.jar </i>
but I had set the package accessible in the runtime setting in my plug-in and the MANIFEST.MF showed that : <i>Export-Package: org.eclipse.popupmenu.popup.actions</i>
And in the PCR project when I checked out the BuildPath I found the two following Access Rules:
<i>Acessible:org/eclipse/popupmenu/popup/actions/*
Forbidden:**/* </i>
I don't know what is the Forbidden:**/* used for and the class I want to use is in the package org/eclipse/popupmenu/popup/actions/
But when I use it in my RCP project,the eclipse show me the problem I mentioned before.
I really don't know what to do .Somebody help me. Thanks a lot. :)
|
|
|
Powered by
FUDForum. Page generated in 0.02419 seconds