Hi everyone,
I am facing a very weird problem while trying to create an Eclipse fragment
project that depends on the plugins org.python.pydev and
org.python.pydev.core:
I have a main Eclipse plugin and two fragment projects that add optional
functionality to the plugin. Each of the fragments has only one source
file, which adds a nature to a given IProject. The first fragment adds the
C nature and the second fragment adds the Python nature (via
PythonNature.addNature()).
The two fragments also extend an extension point defined in the main plugin.
Here's the weird part: the two fragments are almost identical (their ids are
different of
course) but only the C fragment is recognized at runtime as an extension of
said extension
point, while the Python fragment is not. I see this via
Platform.getExtensionRegistry().getExtensionPoint(...).getExtensions()
I believe the extension point is defined correctly in the main plugin
and the two fragments also extend it correctly. The weirdest part is that
when I comment out PythonNature.addNature() in the Python fragment
(and I also remove the dependencies on org.python.pydev and
org.python.pydev.core) the Python fragment *is* recognized by the extension
registry.
This leads me to believe that for some reason including code from
org.python.pydev
and org.python.pydev.core in an extension makes it "invalid". Can anyone
help me find
a way to correct this? Let me know if you need some actual code.
Thanks in advance,
Florian
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
pydev-code mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-code