Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 81317 invoked from network); 2 Jun 2004 16:50:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Jun 2004 16:50:19 -0000 Received: (qmail 54292 invoked by uid 500); 2 Jun 2004 16:50:16 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 54241 invoked by uid 500); 2 Jun 2004 16:50:15 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 54227 invoked by uid 99); 2 Jun 2004 16:50:15 -0000 Received: from [204.4.182.107] (HELO inspo8502.gs.com) (204.4.182.107) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 02 Jun 2004 09:50:15 -0700 Received: from insvs8501.inz.gs.com (unknown [204.4.188.78]) by inspo8502.gs.com (Postfix) with ESMTP id 6A9482427E for ; Wed, 2 Jun 2004 12:44:51 -0400 (EDT) Received: from gsnbp25es.ny.fw.gs.com (gsnbp25es.ny.fw.gs.com [148.86.211.86]) by insvs8501.inz.gs.com with ESMTP for user@ant.apache.org; Wed, 2 Jun 2004 12:44:51 -0400 Received: by gsnbp25es.ny.fw.gs.com with Internet Mail Service (5.5.2657.72) id ; Wed, 2 Jun 2004 12:44:50 -0400 Message-Id: From: "Kreinick, Michael H." To: 'Ant Users List' Subject: RE: Using Ant to build multitarget mixed C++/Java projects Date: Wed, 2 Jun 2004 12:44:48 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks for the reply. >* Cpptasks was hard to learn because the documentation was less than >intuitive at that time. Also, not as many people used it >then. I've since figured out how it works a little more, though. I don't know if it's better or not, but I'm not having too much trouble figuring it out. I got a hello world app running under 2 of my compilers without incident. [snip] >The last job I had required working with a complicated >multipart make file using two platforms. It became very, very >cryptic, IMHO. Yup. I'm trying to replace a combination of ksh, make, and perl. [snip] >* Another downside to Cpptasks, again using the latest official >release, is that I couldn't switch GCC compilers as easily. >There is no >apparent way to specify a compiler version in the build.xml file. The >path needs to be set ahead of time. This could be a nasty hitch. Could you do something stupid like put a dummy dir in your path and then make a shellscript in the dummy dir from inside Ant that just forwards to the compiler you want? [snip] It does look like Ant's the tool for me, but I'm still not sure how I'm going to handle setting up the various library, compiler, and product versions in a clean way. Right now I'm thinking about whacking something together with a gigantic property file, and the foreach and propertyselector Tasks from ant-contrib. Pull out the lines for each version from the gigantic property file, and use the results. Anyone have any thoughts? -Michael --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org