Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Access Restriction
Access Restriction [message #466885] Thu, 26 April 2007 05:12 Go to next message
Eclipse UserFriend
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 07:23 Go to previous messageGo to next message
Eclipse UserFriend
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 09: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 09:09 Go to previous messageGo to next message
Eclipse UserFriend
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 00:22 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Thank you so much.. its working

Thanks,
Swetha
Re: Access Restriction [message #467057 is a reply to message #466885] Fri, 27 April 2007 13:08 Go to previous messageGo to next message
Eclipse UserFriend
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 14:07 Go to previous message
Eclipse UserFriend
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: Mon May 12 15:21:55 EDT 2025

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

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

Back to the top