Community
Participate
Working Groups
Please see: http://www.eclipse.org/newsportal/article.php?id=15791&group=eclipse.tools.emf#15791
Here is the snippet which I use to retrieve the formatter profile options for a given target path: String projectName = new Path(targetPath).segment(0); if (projectName != null) { IProject project = ResourcesHelper.ROOT.getProject(projectName); if (project != null) { IJavaProject javaProject = JavaCore.create(project); if (javaProject != null) { options = javaProject.getOptions(true); } } }
This was fixed as part of bug 75925 and has now been committed to CVS.
Fixed in 2.2.0RC2 (S200605020900)
Move to verified as per bug 206558.