Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Access Restriction
Access Restriction [message #466885] Thu, 26 April 2007 09:12 Go to next message
Swetha is currently offline SwethaFriend
Messages: 68
Registered: July 2009
Member
Hi,

I have created a test pulgin project for my plugin.. I added my
plugin (com.sequenom.everest.ui) as a dependency to the test plugin.. when
I am accessing the classes in com.sequenom.everest.ui, it is not accessing
those classes,

The error is,

Access restriction: The type CustomerView is not accessible due to
restriction on
required project com.sequenom.everest.ui


Do i need to set ant access specifiers to com.sequenom.everest.ui plugin..

Thanks in advance,
Swetha
Re: Access Restriction [message #466896 is a reply to message #466885] Thu, 26 April 2007 11:23 Go to previous messageGo to next message
Swetha is currently offline SwethaFriend
Messages: 68
Registered: July 2009
Member
Hi,

Adding to the above some info. I just added my plugin in dependencies
tab of Manifest.MF file of my test plugin..

Thanks,
Swetha
Re: Access Restriction [message #466910 is a reply to message #466896] Thu, 26 April 2007 13:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: katarzyna.czeczot.gmail.com

Hi,

You need to export required packages from your plug-in.

You can do that in runtime tab in your plug-in manifest.

Cheers,
KC
Re: Access Restriction [message #466912 is a reply to message #466885] Thu, 26 April 2007 13:09 Go to previous messageGo to next message
Charlie Kelly is currently offline Charlie KellyFriend
Messages: 276
Registered: July 2009
Senior Member
Hi Swetha,

Open MANIFEST.MF for com.sequenom.everest.ui in the manifest editor.
On the "Runtime" tab, add the classes that you want to "export" (make
available to other plugins).

Charlie


Swetha wrote:
> Hi,
>
> I have created a test pulgin project for my plugin.. I added my
> plugin (com.sequenom.everest.ui) as a dependency to the test plugin..
> when I am accessing the classes in com.sequenom.everest.ui, it is not
> accessing those classes,
> The error is,
>
> Access restriction: The type CustomerView is not accessible due to
> restriction on required project com.sequenom.everest.ui
>
>
> Do i need to set ant access specifiers to com.sequenom.everest.ui plugin..
>
> Thanks in advance,
> Swetha
>
Re: Access Restriction [message #466990 is a reply to message #466912] Fri, 27 April 2007 04:22 Go to previous messageGo to next message
Swetha is currently offline SwethaFriend
Messages: 68
Registered: July 2009
Member
Hi,

Thank you so much.. its working

Thanks,
Swetha
Re: Access Restriction [message #467057 is a reply to message #466885] Fri, 27 April 2007 17:08 Go to previous messageGo to next message
mirko fucci is currently offline mirko fucciFriend
Messages: 10
Registered: July 2009
Junior Member
i've a problem like this, i'va a plugin with xerces jars files into to parse
a xml document,
in my rcp application (plugin) i can reference it and i've no compilation
problems.
At runtime i've a problem instantiating parser: noClassDefFoundError.
why ? how can i solve ... i've tried to put jars in a third plugin but not
works.
Thanks in advance.


"Swetha" <swetha@yahoo.co.in> ha scritto nel messaggio
news:2bf944c13eeac292de7bd36888937ca2$1@www.eclipse.org...
> Hi,
>
> I have created a test pulgin project for my plugin.. I added my plugin
> (com.sequenom.everest.ui) as a dependency to the test plugin.. when I am
> accessing the classes in com.sequenom.everest.ui, it is not accessing
> those classes,
> The error is,
>
> Access restriction: The type CustomerView is not accessible due to
> restriction on required project com.sequenom.everest.ui
>
>
> Do i need to set ant access specifiers to com.sequenom.everest.ui plugin..
>
> Thanks in advance,
> Swetha
>
Re: Access Restriction [message #467063 is a reply to message #467057] Fri, 27 April 2007 18:07 Go to previous message
Charlie Kelly is currently offline Charlie KellyFriend
Messages: 276
Registered: July 2009
Senior Member
Hi Mirko,

A solution is to use the PDE Wizard to "Create a Plugin from Existing
Jar". Run this wizard and accept all of the defaults.

After creating the new plugin, edit the manifest in you original plugin
to create a dependency on the new plugin.

Charlie




Mirko Fucci wrote:
> i've a problem like this, i'va a plugin with xerces jars files into to parse
> a xml document,
> in my rcp application (plugin) i can reference it and i've no compilation
> problems.
> At runtime i've a problem instantiating parser: noClassDefFoundError.
> why ? how can i solve ... i've tried to put jars in a third plugin but not
> works.
> Thanks in advance.
>
>
> "Swetha" <swetha@yahoo.co.in> ha scritto nel messaggio
> news:2bf944c13eeac292de7bd36888937ca2$1@www.eclipse.org...
>> Hi,
>>
>> I have created a test pulgin project for my plugin.. I added my plugin
>> (com.sequenom.everest.ui) as a dependency to the test plugin.. when I am
>> accessing the classes in com.sequenom.everest.ui, it is not accessing
>> those classes,
>> The error is,
>>
>> Access restriction: The type CustomerView is not accessible due to
>> restriction on required project com.sequenom.everest.ui
>>
>>
>> Do i need to set ant access specifiers to com.sequenom.everest.ui plugin..
>>
>> Thanks in advance,
>> Swetha
>>
>
>
Previous Topic:Table viewer update problem
Next Topic:Looking for examples of RCP EditorParts using Eclipse Forms
Goto Forum:
  


Current Time: Fri Apr 26 22:58:28 GMT 2024

Powered by FUDForum. Page generated in 0.03312 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top