Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 41339 invoked from network); 16 Jun 2004 05:43:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Jun 2004 05:43:35 -0000 Received: (qmail 61788 invoked by uid 500); 16 Jun 2004 05:43:45 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 61726 invoked by uid 500); 16 Jun 2004 05:43:44 -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 76421 invoked by uid 99); 15 Jun 2004 21:33:33 -0000 From: Eric Weidner To: "Ant Users List" Subject: Re: Gnu make files to Ant Date: Tue, 15 Jun 2004 15:33:03 -0600 User-Agent: KMail/1.6.2 References: <005501c44cda$1117a400$6401a8c0@u14917.ecpm.com> In-Reply-To: <005501c44cda$1117a400$6401a8c0@u14917.ecpm.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406151533.03432.esw@pumavision.net> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Monday 07 June 2004 03:54 pm, Mani G. Iyer wrote: > Hello: > > I am going to undertake a project requiring me to convert all gnu make > files to ant scripts. Do any of you have any tips, tricks, tools, URLs, > war stories to share on this conversion, to ease the process? Thanks. > > > > Mani Rule #1: Do not do a direct port of 1 make file = 1 ant file. This is not a good use of ant. Look at your entire project and split up it up into logical goupings. Usually per artifact is as fine as you want to go. So for each jar you produce, you will have a "project" with one ant file for that particular artifact. If you only produce a few artifacts during your build, you may only have 1 ant file for your entire project. This is typical for standard J2EE applications where you may generate a few EJB's (or not), some webapp classes, a war, and an ear. Somewhere between 1 ant file and 1 ant file per artifact is where you should end up. Good luck. Eric --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org