From ant-dev-return-41241-qmlist-jakarta-archive-ant-dev=jakarta.apache.org@jakarta.apache.org Wed Jan 15 20:09:47 2003 Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 985 invoked from network); 15 Jan 2003 20:09:47 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 15 Jan 2003 20:09:47 -0000 Received: (qmail 3746 invoked by uid 97); 15 Jan 2003 20:11:08 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 3714 invoked by uid 97); 15 Jan 2003 20:11:07 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 3702 invoked by uid 98); 15 Jan 2003 20:11:06 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <3E25BE98.1040001@ct42.de> Date: Wed, 15 Jan 2003 21:03:36 +0100 From: Claas Thiele User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Developers List Subject: Re: Import use cases, basedir behavior and target, property prefixing References: <3E2494BF.8060803@ct42.de> <3E24A5F6.20009@chalko.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Costin Manolache wrote: >Nick Chalko wrote: > > > >>>(2) linking subprojects in a large project >>> >>> >>> >>I do not think (2) is a usecase for import. I think it is better >>handled by the "ant" task. >> >> > >I think (2) is an important usecase - at least for me. > >If you use import, you can call any target you want from any >of the build files, reuse fragments and targets >from other build files, etc. > > Possible disadvantages of use: - cannot span dependencies to 'imported' targets - cannot access properties and data (i.e. xmlcatalogs, ...) of 'imported' files Example for missing dependecy feature: Assuming some subprojects. Each subproject uses a common library to be build before building the subproject. Calling the subprojects from main project via activates the build of common lib for each subproject even it is not nessesary. > > -- To unsubscribe, e-mail: For additional commands, e-mail: