This is great! How would I plug this into a system-include-path for an EDE project, to pull tags from, say, JAR files rather than Java source files. Currently, I'm using an ede-cpp-root-project, with :system-include-path having a list of directories that contain Java source files for various libaries and such. But it's not always convenient or possible to have the source code, so it would be nice to get the tags from compiled JAR files instead.
You are in luck, this is implemented in semanticdb-javap.el, and has worked ok for me. Unfortunately, this is still in my android branch in bzr, so it is not quite so easy to get at.On 07/12/2011 02:28 PM, David Ventimiglia wrote:
How would I go about creating a new semanticdb backend? I wanted to see
if I could create one for Java that uses javap as a tag source. Is
there a recipe to follow? I tried reading semanticdb-global.el, and can
continue to do that, but some guidance would be extremely useful. Thanks!
The browsable tree is here:
It depends on changes in the java parser on that branch also.
If you'd like to try out the android branch that includes this, you can use bzr to download it.
bzr checkout bzr://cedet.bzr.sourceforge.net/bzrroot/cedet/code/android cedet
I've hooked it up with default support for android, but other types of classpaths are not in by default. If anyone would like to add such support, let me know.