Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 98802 invoked from network); 21 Nov 2003 16:43:44 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 21 Nov 2003 16:43:44 -0000 Received: (qmail 44706 invoked by uid 500); 21 Nov 2003 16:43:28 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 44681 invoked by uid 500); 21 Nov 2003 16:43:28 -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 44668 invoked from network); 21 Nov 2003 16:43:28 -0000 Received: from unknown (HELO sgtulmg01.sabre.com) (151.193.220.17) by daedalus.apache.org with SMTP; 21 Nov 2003 16:43:28 -0000 Received: from eds.sabre.com (HELO email3) (192.168.133.35) by sgtulmg01.sabre.com with ESMTP; 21 Nov 2003 10:44:45 -0600 Received: from eds.com ([10.134.61.220]) by eds.sabre.com (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0HOP0094YNSIIG@eds.sabre.com> for user@ant.apache.org; Fri, 21 Nov 2003 10:43:30 -0600 (CST) Date: Fri, 21 Nov 2003 10:53:41 -0600 From: Will Lopez Subject: Re: compiling packages in an explicit order with javac In-reply-to: To: Ant Users List Message-id: <3FBE4315.6060206@eds.com> Organization: EDS MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20030925 References: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Chris: I think with what you're facing there isn't going to be 1 right answer. We face a similar problem with circular references....the solution is to remove them and your builds will simplify as a result...we are still not 100% cycle free but working on it. Our build is driven by a "master" build file which calls the subordinate build files...There may be a more elegant way to do it in version 1.6b & 1.7 a with the new tasks available in those versions (macrodef & import) but I have no experience with those releases. Snippets of our build: BO Compile...Pt 1...complete HTH, -Will Steph Richardson wrote: >chris - the type of dependancy checking I mean is dependancies between packages, not between .java & .class files. >I want to have an explicit compilation order, to prohibit circular references between my packages. > >steph > > > >>-----Original Message----- >>From: Christopher Schultz [mailto:christopher.d.schultz@comcast.net] >>Sent: Friday, November 21, 2003 10:39 AM >>To: Ant Users List >>Subject: Re: compiling packages in an explicit order with javac >> >> >>Steph, >> >> >>>Looking for the most elegant / shorthand way to enforce an ordered >>>package dependancy during javac compilation of my source tree. >>> >>>Currently I have a target that makes an to another >>>compile-package target, for each package. >>> >>> >>Why not let ant do its own file-date checking, and javac do its own >>dependency checking? >> >>-chris >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >>For additional commands, e-mail: user-help@ant.apache.org >> >> >> >> >> > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org