Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 88609 invoked from network); 4 Jun 2007 05:22:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jun 2007 05:22:29 -0000 Received: (qmail 622 invoked by uid 500); 4 Jun 2007 05:22:29 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 580 invoked by uid 500); 4 Jun 2007 05:22:29 -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 569 invoked by uid 99); 4 Jun 2007 05:22:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jun 2007 22:22:29 -0700 X-ASF-Spam-Status: No, hits=3.6 required=10.0 tests=RCVD_IN_WHOIS_INVALID,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (herse.apache.org: transitioning domain of prashant@pramati.com does not designate 196.12.47.8 as permitted sender) Received: from [196.12.47.8] (HELO mail.pramati.com) (196.12.47.8) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jun 2007 22:22:24 -0700 Received: from localhost (localhost [127.0.0.1]) by mail.pramati.com (Postfix) with ESMTP id 49FD1A05E94 for ; Mon, 4 Jun 2007 05:33:35 +0000 (UTC) X-Virus-Scanned: scanned by pramati.com Received: from mail.pramati.com ([127.0.0.1]) by localhost (mail.pramati.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rm7klng21vn6 for ; Mon, 4 Jun 2007 11:03:19 +0530 (IST) Received: from prashant-r (prashant-r.pramati.com [192.168.1.54]) by mail.pramati.com (Postfix) with ESMTP id 3BD42A05E8C for ; Mon, 4 Jun 2007 11:03:19 +0530 (IST) Subject: Re: ant project building problem when one project depend upon another project. From: Prashant Reddy Reply-To: prashant@pramati.com To: Ant Users List In-Reply-To: <10943796.post@talk.nabble.com> References: <10943796.post@talk.nabble.com> Content-Type: text/plain Organization: Pramati Technologies Date: Mon, 04 Jun 2007 10:49:23 +0530 Message-Id: <1180934363.31455.8.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Project A's build process will make the jar and puts the jar in location known to Project B. Then you could write a 'outer' build script that infact builds these projects (A,B) in the order you require. (-)build.xml (outer) (+)dist (Jars from project A go here) (+)Project A/build.xml (+)Project B/build.xml The 'outer' build script may also do tasks like checking out the code for project A,B. HTH On Sun, 2007-06-03 at 21:59 -0700, Karamjit wrote: > Hi All, > I have one problem in ant build file. Actually i'm compiling and build two > projects A and B with single build file. > As in eclipse configuration i made A project depend upon the jar file of B > project. > What i'm trying to do is that i want to set the jar file in classpath > durring runt time of ant from A project so that the project B can get easily > compiled. Is there any way in ANT to make one project dependable on the Jar > file of other project. > Can someone help me. its very urgent. Thanks in advanced > -- -Prashant Don't upload, just share : www.dekoh.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org