looking for a delivery precondiion that stop java warnings
![]()
Hi
we are using 3.0.1 and would like the team advisor to stop deliver of java files with warnings, not just for errors or unused imports. The precondition is not a standard one http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0/index.jsp?topic=%2Fcom.ibm.team.scm.doc%2Ftopics%2Ft_scm_eclipse_process_preconditions.html thanks Edoardo Comar - IBM Hursley JTC |
3 answers
![]()
Geoffrey Clemm (30.1k●2●30●35)
| answered Jan 10 '12, 3:32 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You will need to write your own precondition for this.
There are messages in the jazz.extend forum providing pointers on how to get started. Also, you should feel free to post an enhancement request, asking for this functionality to be added to the standard precondition. Alternatively, you could just adjust your compiler settings to classify those problems as "errors" and then just use the standard precondition. Cheers, Geoff Hi |
![]()
Thanks! as for the last suggestion however, my request came about as I could not live with too many red Xs popping along as I code :D |
![]()
Hi Edoardo.
If you decide to write your own custom precondition, you may find this jazz.net wiki article useful: https://jazz.net/wiki/bin/view/Main/CustomPreconditionsLandingSite It gives a quick overview of the topic and provides links to related articles, tutorials, etc. You may want to look at the code for |