Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » resolvebinding always return null with using UIMA framework(how to get IJavaProject UnitName without import source code?)
resolvebinding always return null with using UIMA framework [message #1015936] Mon, 04 March 2013 05:29
Ray Wu is currently offline Ray Wu
Messages: 1
Registered: March 2013
Junior Member
Hi all.

RIght now I'm using JDT to annotate java source code in UIMA framework.
In UIMA, for each document I want ot annotate, UIMA will initiate an annotator class for me.
In that class I could get source code in char[] form, with some other works I might be able to get source code path as well.

I know the reason that resolvebinding() always return null is because I use setSource(char[]) for ASTparser without setProject(IJavaProject) and setUnitName(String).
However, the only way I found to get IJavaProject and UnitName is importing those source codes to my project, which is impractical in my case.

Anyone know how to deal with this?
Previous Topic:Access Denied on project folders following Project Clean
Next Topic:[PDE]One doubt when use pde build eclipse product headless
Goto Forum:
  


Current Time: Fri May 24 12:05:28 EDT 2013

Powered by FUDForum. Page generated in 0.01560 seconds