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 17:02
Matteo Miraz is currently offline Matteo Miraz
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: Wed Aug 20 20:24:33 EDT 2014

Powered by FUDForum. Page generated in 0.01457 seconds