Skip to main content

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


The current AJDT creates markers of type IMarker.PROBLEM. We will probably move to a more specific marker type in the next release (finding IMarker.PROBLEM markers will find both AJDT markers and those contributed by other plugins).

-- Adrian
Adrian_Colyer@xxxxxxxxxx



christian.oberschulte@xxxxxxxxxxxx
Sent by: aspectj-users-admin@xxxxxxxxxxx

21/01/2004 13:36
Please respond to aspectj-users

       
        To:        aspectj-users@xxxxxxxxxxx
        cc:        
        Subject:        [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

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users


Back to the top