Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » How can I add an AdminPermission to my plugin?
How can I add an AdminPermission to my plugin? [message #743944] Fri, 21 October 2011 21:02
Matteo Miraz is currently offline Matteo MirazFriend
Messages: 38
Registered: March 2011
Member
I've created a plugin that requires to invoke the method Bundle.findEntries. In debugging mode (i.e., when I launch my app from eclipse) everything works correctly, but when I run the "real" application (it is part of a bigger application based on eclipse) the method stops working and returns null.

From the documentation I read that the method returns null "if the caller does not have the appropriate AdminPermission[this,RESOURCE], and the Java Runtime Environment supports permissions."

How can I grant such permission to my plugin?
(I can modify permissions of the app)
Previous Topic:How to access a resource from a jar-file?
Next Topic:product export fails in the IDE
Goto Forum:
  


Current Time: Tue Sep 24 20:22:51 GMT 2024

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

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

Back to the top