Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 61394 invoked from network); 29 Jun 2006 06:40:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Jun 2006 06:40:53 -0000 Received: (qmail 33120 invoked by uid 500); 29 Jun 2006 06:40:49 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 33082 invoked by uid 500); 29 Jun 2006 06:40:48 -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 33071 invoked by uid 99); 29 Jun 2006 06:40:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jun 2006 23:40:48 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [198.152.13.103] (HELO co300216-ier2.net.avaya.com) (198.152.13.103) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jun 2006 23:40:47 -0700 Received: from si0003avexu1.global.avaya.com (h135-27-4-32.avaya.com [135.27.4.32]) by co300216-ier2.net.avaya.com (Switch-3.1.8/Switch-3.1.7) with ESMTP id k5T6b7JW007690 for ; Thu, 29 Jun 2006 02:37:08 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C69B46.E20BC389" Subject: RE: Ant help for c compiler Date: Thu, 29 Jun 2006 14:40:16 +0800 Message-ID: <21E45636685E4A4F9908DFB6D5FA426005AD8F71@si0003avexu1.global.avaya.com> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: Ant help for c compiler Thread-Index: AcaaohsAawyvu1qXQyWon1a0WKQJMQAAFqWAAALyyCAAJg8v0A== From: "Sayed, Irfan \(Irfan\)" To: Cc: "Ant Users List" X-Scanner: InterScan AntiVirus for Sendmail X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C69B46.E20BC389 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I have added CC task in build .xml but it's not working I request you to please look into the file attached and let me know what I am doing wrong Regards Irfan. =20 -----Original Message----- From: pritesh.saharey@wipro.com [mailto:pritesh.saharey@wipro.com]=20 Sent: Wednesday, June 28, 2006 6:02 PM To: user@ant.apache.org Subject: RE: Ant help for c compiler Download the " ant-contrib.jar" file from the URL provided by Jan, put this jar file to the lib folder of ANT and first try to run a simple cpp program like this: =20 After this you can go for more complex situations. Pritesh -----Original Message----- From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] Sent: Wednesday, June 28, 2006 4:34 PM To: user@ant.apache.org Subject: AW: Ant help for c compiler Ant doesnt support C .... by its own. Have a look at AntContribs CC task http://ant-contrib.sourceforge.net/cc.html Jan ________________________________ Von: Sayed, Irfan (Irfan) [mailto:isayed@avaya.com] Gesendet: Mittwoch, 28. Juni 2006 13:00 An: user@ant.apache.org Betreff: Ant help for c compiler Hi All, =09 I have been assign a task of migrating our build environment from make file base system to ant base system. Our code base has code of java, C and cpp. With Make file we are able to compile and generate the code. To migrate I have downloaded sample makefile (see the attached build_java.xml file). using this I am able to compile java codes , but if I modify the code to (see attache modified build_c.xml file) have C++ compile I getting weied errors. Its apparent that I missing something, can anyone guide me to how to have C++ and C compiled. Please provide a sample build file that can compile java, C and C++ codes, also point me to a write-up that can help me ramp up on setting up ant build environment. =09 Would appreciate a quick and prompt response =09 Regards Irfan. =09 =09 =09 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org ------_=_NextPart_001_01C69B46.E20BC389 Content-Type: text/xml; name="c_build.xml" Content-Transfer-Encoding: base64 Content-Description: c_build.xml Content-Disposition: attachment; filename="c_build.xml" PHByb2plY3QgbmFtZT0iTXlQcm9qZWN0IiBkZWZhdWx0PSJkaXN0IiBiYXNlZGlyPSIuIj4NCiAg ICA8ZGVzY3JpcHRpb24+DQogICAgICAgIHNpbXBsZSBleGFtcGxlIGJ1aWxkIGZpbGUNCiAgICA8 L2Rlc2NyaXB0aW9uPg0KICA8IS0tIHNldCBnbG9iYWwgcHJvcGVydGllcyBmb3IgdGhpcyBidWls ZCAtLT4NCiAgPHByb3BlcnR5IG5hbWU9InNyYyIgbG9jYXRpb249Ii4iLz4NCiAgPHByb3BlcnR5 IG5hbWU9ImJ1aWxkIiBsb2NhdGlvbj0iYnVpbGQiLz4NCiAgPHByb3BlcnR5IG5hbWU9ImRpc3Qi ICBsb2NhdGlvbj0iZGlzdCIvPg0KDQogIDx0YXJnZXQgbmFtZT0iaW5pdCI+DQogICAgPCEtLSBD cmVhdGUgdGhlIHRpbWUgc3RhbXAgLS0+DQogICAgPHRzdGFtcC8+DQogICAgPCEtLSBDcmVhdGUg dGhlIGJ1aWxkIGRpcmVjdG9yeSBzdHJ1Y3R1cmUgdXNlZCBieSBjb21waWxlIC0tPg0KICAgIDxt a2RpciBkaXI9IiR7YnVpbGR9Ii8+DQogIDwvdGFyZ2V0Pg0KDQogIDx0YXJnZXQgbmFtZT0iY29t cGlsZSIgZGVwZW5kcz0iaW5pdCINCiAgICAgICAg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eVByb2plY3QtJHtEU1RB TVB9LmphciIgYmFzZWRpcj0iJHtidWlsZH0iLz4NCiAgPC90YXJnZXQ+DQoNCiAgPHRhcmdldCBu YW1lPSJjbGVhbiINCiAgICAgICAgZGVzY3JpcHRpb249ImNsZWFuIHVwIiA+DQogICAgPCEtLSBE ZWxldGUgdGhlICR7YnVpbGR9IGFuZCAke2Rpc3R9IGRpcmVjdG9yeSB0cmVlcyAtLT4NCiAgICA8 ZGVsZXRlIGRpcj0iJHtidWlsZH0iLz4NCiAgICA8ZGVsZXRlIGRpcj0iJHtkaXN0fSIvPg0KICA8 L3RhcmdldD4NCjwvcHJvamVjdD4= ------_=_NextPart_001_01C69B46.E20BC389 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org ------_=_NextPart_001_01C69B46.E20BC389--