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
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
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
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
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
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 forcom.ibm.team.filesystem.internal.ide.java.ui.deliver.ProhibitUnusedImportsAdvisor which is a client-side "deliver" precondition that does something very similar to what you want. Note that this code is not part of the officially supported RTC API, subject to change or deletion without notice, etc.
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