It's all about the answers!

Ask a question

Running advisors selectively


Pascal Fantoni (2111) | asked Apr 13 '07, 5:11 a.m.
JAZZ DEVELOPER
Is it possible, when an operation takes place, to run only some of the
advisors declared for this operation?

For example in a project with *.java files and *.doc files, when I deliver
only doc files I should like not to run the "Prohibit Unused Import". Is
there any way to do that?

Thanks

Pascal

2 answers



permanent link
Jared Burns (4.5k29) | answered Apr 13 '07, 10:27 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
No. If you want to ignore an advisor, the best you can do is overrule it
after it's been run.

- Jared

Pascal wrote:
Is it possible, when an operation takes place, to run only some of the
advisors declared for this operation?

For example in a project with *.java files and *.doc files, when I deliver
only doc files I should like not to run the "Prohibit Unused Import". Is
there any way to do that?

Thanks

Pascal


permanent link
Philippe Krief (561155) | answered Apr 13 '07, 11:40 a.m.
JAZZ DEVELOPER
Jared,

Would it make sense to you to consider such question as a future
enhancement?
Actually, it would make sense to be able to directly describe/define
some filters at the advisor definition level for example to:
1- Avoid any unnecessary check
2- Avoid any unexpected comment like: "Prohibit Unused Import" OK
when I only delivered some html doc...

Thanks

Your answer


Register or to post your answer.