Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Gathering problem descriptors from the aspectj builder

Hello,

I currently writing an eclipse PDE test plugin. Among other things this
test plugin creates and compiles aspectj projects.
Now I would like to gather all problem descriptors (tasks) created by the
aspectj compiler in order to log them.
The following snippet returns an empty array though the complied projects
contain bugs.

import org.eclipse.ajdt.internal.builder.Builder;

project.build(IncrementalProjectBuilder.FULL_BUILD, null);

IMarker[] markers = Builder.getLastBuildTarget().findMarkers(
	IJavaModelMarker.JAVA_MODEL_PROBLEM_MARKER, true, IResource.DEPTH_INFINITE);

Has anybody suggestions on gathering problem descriptors from the aspectj
builder ?

Thanks in advance
Christian



Back to the top