Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 1148 invoked from network); 20 May 2009 08:24:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 May 2009 08:24:34 -0000 Received: (qmail 18107 invoked by uid 500); 20 May 2009 08:24:46 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 18050 invoked by uid 500); 20 May 2009 08:24:45 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 18040 invoked by uid 99); 20 May 2009 08:24:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2009 08:24:45 +0000 X-ASF-Spam-Status: No, hits=-1.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of prvs=539142702f=shawn.castrianni@halliburton.com designates 34.254.247.12 as permitted sender) Received: from [34.254.247.12] (HELO NP1MAIL002.halliburton.com) (34.254.247.12) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2009 08:24:34 +0000 Received: from NP1EXHU010.corp.halliburton.com (np1exhu010.corp.halliburton.com [34.34.132.66]) by NP1MAIL002 (8.14.3/8.14.3) with ESMTP id n4K8OCgJ023259 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Wed, 20 May 2009 03:24:12 -0500 Received: from NP1EXCH012.corp.halliburton.com ([34.34.132.75]) by NP1EXHU010.corp.halliburton.com ([34.34.132.66]) with mapi; Wed, 20 May 2009 03:24:12 -0500 From: Shawn Castrianni To: "'Ant Users List'" Date: Wed, 20 May 2009 03:24:12 -0500 Subject: prepend to cpptasks command line Thread-Topic: prepend to cpptasks command line Thread-Index: AcnZJFq3BEdqLkh1QtO9xCyqiAezWA== Message-ID: <34721A41A7BCF54ABC3B116219A8C1C2057525715F@NP1EXCH012.corp.halliburton.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_34721A41A7BCF54ABC3B116219A8C1C2057525715FNP1EXCH012cor_" MIME-Version: 1.0 X-HALSTAMP: TRUE X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.7400:2.4.4,1.2.40,4.0.166 definitions=2009-05-20_02:2009-05-19,2009-05-20,2009-05-19 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0811170000 definitions=main-0905200012 X-Virus-Checked: Checked by ClamAV on apache.org --_000_34721A41A7BCF54ABC3B116219A8C1C2057525715FNP1EXCH012cor_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="ISO-8859-1" What is the easiest way for me to prepend stuff to the command line that th= e cpptasks plugin generates before execution? I am trying to integrate my = build with coverity which requires prepending the C/C++ command line with i= ts own command and parameters. My ideas so far: 1. use the libtool option, but alias or override the libtool executab= le 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 co= verity command and parameters before the real g++ command. This doesn't wo= rk 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 pri= vileged information for the sole use of the intended recipient. Any review= , use, distribution, or disclosure by others is strictly prohibited. If yo= u are not the intended recipient (or authorized to receive information for = the intended recipient), please contact the sender by reply e-mail and dele= te all copies of this message. --_000_34721A41A7BCF54ABC3B116219A8C1C2057525715FNP1EXCH012cor_--