What is the easiest way for me to prepend stuff to the command line that the 
cpptasks plugin generates before execution?  I am trying to integrate my build 
with coverity which requires prepending the C/C++ command line with its own 
command and parameters.  My ideas so far:


1.       use the libtool option, but alias or override the libtool executable 
with the coverity command and parameters

2.       make my own compiler processor class that can be specified within the 
cpptasks xml tags and override the getCommand() method to return the coverity 
command and parameters before the real g++ command.  This doesn't work since 
getCommand is a final method.

3.       hack up cpptasks source code and make my own cpptasks.jar

---
Shawn Castrianni

----------------------------------------------------------------------
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

Reply via email to