Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes



3 answers

Permanent link
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
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

0 votes


Permanent link
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
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:

0 votes


Permanent link
Randy Hudson wrote:
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

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Apr 06 '07, 12:30 p.m.

Question was seen: 10,068 times

Last updated: Apr 06 '07, 12:30 p.m.

Confirmation Cancel Confirm