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
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
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:
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
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
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...
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
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:
Randy Hudson wrote:
The current set of advisors don't create markers. The request to show
process problems in the Pending Changes view is Bug 10996.
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
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?
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
flagged using an advisor? For example, a tool which checks code
formatting.
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