Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 46735 invoked from network); 12 Mar 2004 15:35:02 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 12 Mar 2004 15:35:02 -0000 Received: (qmail 30070 invoked by uid 500); 12 Mar 2004 15:34:37 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 29994 invoked by uid 500); 12 Mar 2004 15:34:37 -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 29855 invoked from network); 12 Mar 2004 15:34:35 -0000 Received: from unknown (HELO sccrmhc11.comcast.net) (204.127.202.55) by daedalus.apache.org with SMTP; 12 Mar 2004 15:34:35 -0000 Received: from skyfox (c-24-6-82-181.client.comcast.net[24.6.82.181]) by comcast.net (sccrmhc11) with SMTP id <2004031215343701100gp015e>; Fri, 12 Mar 2004 15:34:37 +0000 Message-ID: <170f01c40847$842abc70$c215a8c0@skyfox> From: "Baz" To: "Ant Users List" References: <20040312152608.76502.qmail@web20421.mail.yahoo.com> Subject: Re: Dependencies between two subdirectories Date: Fri, 12 Mar 2004 07:34:23 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 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 Matt, and all, Yes, it is possible to define the order of compilation in the parent directory. However, I would like to be able to go into directory A and type "ant" and it will check and compile directory B if necessary. How can I do that? In my directory A, currently I have a compile-depend target. compile target depends on compile-depend target. compile-depend target will check the existence of certain jar files. If they do not exist, then it will do ../B directory and start compiling. I am not convence that it is the correct solution. May be using but how? Can anyone please give me some advice? I am sure this is has been done by some of you many many times. Thanks Barry ----- Original Message ----- From: "Matt Benson" To: "Ant Users List" Sent: Friday, March 12, 2004 7:26 AM Subject: Re: Dependencies between two subdirectories > --- Baz wrote: > > If subdirectory A depends on the classes from > > subdirectory B, then how can > > I > > use ant to do it? > > Maybe you want to go up a level, make A and B > subprojects of some "AB" project, then have A depend > on B at that level, using . > > -Matt > > > > __________________________________ > Do you Yahoo!? > Yahoo! Search - Find what you're looking for faster > http://search.yahoo.com > > --------------------------------------------------------------------- > 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