Re: [cedet-semantic] creating a semanticdb backend?
Brought to you by:
zappo
From: Eric M. L. <eri...@gm...> - 2011-07-13 11:26:51
|
Hi, ede-cpp-root is specific to C files, and doesn't implement the EDE method ede-java-classpath. I suppose it could, as it wouldn't really need much else other than a slot to specify that path in the main project class. I expect it should be more generic a name than that, but that's what we've got at the moment. Anyway, I've always left the java project stuff to JDEE which knows about classpaths and such, but I haven't linked to two together. Someone would need to created an ede-java-root project to build something specific for java and its features. Alternately, someone could add some stuff to ede-generic if the build systems for Java are particularly deterministic. In either case, a project needs to implement the classpath method, and so far, only the android project does that because that's the only thing I've tried to do so far. Chasing either of the two EDE project types should be pretty easy. There are good pre-existing examples in both cases. Eric On 07/12/2011 11:54 PM, David Ventimiglia wrote: > 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. > > On Tue, Jul 12, 2011 at 7:49 PM, Eric M. Ludlam <eri...@gm... > <mailto:eri...@gm...>> wrote: > > On 07/12/2011 02:28 PM, David Ventimiglia wrote: > > Hi! > > 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! > > > 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. > > The browsable tree is here: > > http://cedet.bzr.sourceforge.__net/bzr/cedet/code/android/__files > <http://cedet.bzr.sourceforge.net/bzr/cedet/code/android/files> > > 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 > <http://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. > > Good Luck > Eric > > > > > ------------------------------------------------------------------------------ > AppSumo Presents a FREE Video for the SourceForge Community by Eric > Ries, the creator of the Lean Startup Methodology on "Lean Startup > Secrets Revealed." This video shows you how to validate your ideas, > optimize your ideas and identify your business strategy. > http://p.sf.net/sfu/appsumosfdev2dev > > > > _______________________________________________ > cedet-semantic mailing list > ced...@li... > https://lists.sourceforge.net/lists/listinfo/cedet-semantic |