Incremental Compilation in Eclipse. ASTNode-s and SVN versioning

Posted by Alex on Stack Overflow See other posts from Stack Overflow or by Alex
Published on 2010-03-16T17:04:10Z Indexed on 2010/03/18 9:11 UTC
Read the original article Hit count: 226

Filed under:
|

Hi there,

I am building up some statistics after analyzing the source code in eclipse. But the overall process is too slow because i rebuild my model every time from scratch after each compilation. I am looking for a way to get only the changed parts of the code (as ASTNodes) and to rebuild just that part of my model. I suppose that even the changed compilation units and not the exact code elements would be enough after the user compiles and still would be a nice optimization.

I am sure eclipse is capable of knowing what code elements are changed (and even to know their semantics), because when I use the subclipse plugin my changes are ordered by a code element (an import, a method, a variable declaration, etc). Well.. at least that plugin is capable of knowing that info.

Thanks in advance

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about ast