Running advisors outside of an operation
![]()
Based on the example provided by the eclipse way process, we have seen that
some advisors gather warnings or errors set by the compiler, some set the status of a jazz artifact (workitem correctly populated), and some perform controls of their own (is there a copyright in the source). Is there a way to run these advisors alone, outside of the context of an operation? basically, I would like to check the copyrights but not try to deliver. I guess it applies also to the first and second type of controls as well. Many thanks, Nicolas |
3 answers
![]()
Jared Burns (4.5k●2●9)
| answered Apr 06 '07, 5:01 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Support for this is build into the platform (it's possible to ask the
Process framework to run all advisors for an operation without actually executing it), but this isn't currently surfaced in the change set UI. This request is tracked in bug 11860. - Jared Nicolas Dangeville wrote: Based on the example provided by the eclipse way process, we have seen that |
![]()
Do such advisors (e.g. missing copyright) generate markers in my
eclipse:workspace? It seems like some advisor types are closely related to eclipse:workspace builders. Maybe markers which prevent delivery of a change set would be displayed in the pending changes view? Can any existing Eclipse builder/mechanism which generates a Marker be flagged using an advisor? For example, a tool which checks code formatting. "Jared Burns" <jared_burns@us.ibm.com> wrote in message news:ev6bom$1sf$1@localhost.localdomain... Support for this is build into the platform (it's possible to ask the |
![]()
Jared Burns (4.5k●2●9)
| answered Apr 07 '07, 11:25 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Randy Hudson wrote:
Do such advisors (e.g. missing copyright) generate markers in my The current set of advisors don't create markers. The request to show process problems in the Pending Changes view is Bug 10996. Can any existing Eclipse builder/mechanism which generates a Marker be Yes, this is how the "Prohibit Unused Imports" advisor works. Client-side advisors are contributed via an extension point so they can do anything that you can implement in an Eclipse plugin. - Jared |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.