Re: [tasklist] compiler->buildmsg
"Tim Lebedkov" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.tasklist.devel |
|---|---|
| Message-ID | <001f01c2e742$4a831e80$8a90fe91@timpc> |
Hi Tor,
> P.S. Is there any way to get this to work for ant output
> too?
it doesn't work currently. So I think Ant module doesn't use
CompilationEngine.
I don't know the Ant classes and whether it is possible to
get errors as objects but it would be possible to parse the output.
Anyway we need a public API for OutputTab replacement.
the API could be very simple:
public class ProcessMessage {
CompileTask currently has following attributes:
-severity
-line
-column
-FileObject
-priority??? (or maybe is severity enough?)
-type??? (not used for "Build Errors")
-summary
-details
-suggestions??? (or maybe SystemAction[] getActions())
Annotation createAnnotation();
}
public class ProcessMessageView {
public static ProcessMessageView create(String name);
public void add(ProcessMessage msg);
public void clear();
public void setVisible(boolean v);
}
The only thing that is not clear to me now is whether the attributes of
ProcessMessage would satisfy all future needs.
Tim