Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 62106 invoked by uid 500); 12 Oct 2001 22:26:33 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 62073 invoked from network); 12 Oct 2001 22:26:33 -0000 Content-Type: text/plain; charset="utf-8" From: Peter Donald To: ant-user@jakarta.apache.org Subject: Re: How to manage without rules Date: Sat, 13 Oct 2001 08:18:07 +1000 X-Mailer: KMail [version 1.3.1] References: <410BB8BE8D1FD5118C9300508BB8B203022714D4@lon3002xns.fm.rbsgrp.net> In-Reply-To: <410BB8BE8D1FD5118C9300508BB8B203022714D4@lon3002xns.fm.rbsgrp.net> X-Wisdom-Cookie: . MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20011012222632.DCVE13193.mss.rdc2.nsw.optushome.com.au@there> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Sat, 13 Oct 2001 02:43, WATKINS, Andy, FM wrote: > In make you have rules, not so in ant yet ... hopefully Ant will have notion of rules in future ;) However there is no real easy way of doing it currently. The best way may be to use to call the target and pass in the specific parameters you want to use. > I have a target as follows > > > timeout="60000"> > > > > > > > > > > includes="**/*$$Test.class" /> > > > > > > > > > The problem is that I have 10 different projects, that all need this > sort of target, but with different directories. > > In make, I would have a target called "*.test" and use $@ to pull out the > value > > > ******************************************************************** > Visit our Internet site at http://www.rbsmarkets.com > > This e-mail is intended only for the addressee named above. > As this e-mail may contain confidential or privileged information, > if you are not the named addressee, you are not authorised to > retain, read, copy or disseminate this message or any part of it. > ******************************************************************** -- Cheers, Pete --------------------------------------------------- For every complex problem there is a solution that is simple, neat and wrong ---------------------------------------------------