Compilation unit does not exist

13 views
Skip to first unread message

Kannan

unread,
Oct 6, 2014, 10:38:58 PM10/6/14
to ecli...@googlegroups.com
Eric,
  Do you have any pointers on how to troubleshoot this problem? I have a project that is opened. All aspects of Eclim work fine. As part of the debugger support, when I try to query for a file using its absolute path and its project name, it returns a compilation unit that is not existing.

IJavaProject javaProject = JavaUtils.getJavaProject(projectName);
IFile file = ProjectUtils.getFile(javaProject.getProject(), fileName);
ICompilationUnit src = JavaCore.createCompilationUnitFrom(file)
src.exists -----> returns false
 
-- 
Kannan
Reply all
Reply to author
Forward
0 new messages