|Query Bundles.info for installed plugin and version [message #629564]
||Tue, 28 September 2010 17:07
Originally posted by: MrBob.bob.bob|
I'm looking for a simple way using P2 to query whether or not a plugin
is installed, AND if so, what its version is.
The code, will start with only a path to the bundles.info (this is the
one piece of information I have).
Is there a P2 util class to do this? Or can someone point me to some
starter code, or a class to use that will lead me to the right solution.
I suppose, the other option, is to write a little bit of custom java
code to open the file, and directly inspect for the information.
However.. I'd like to use existing API if possible.
Powered by FUDForum
. Page generated in 0.08307 seconds