From ant-dev-return-13200-apmail-jakarta-ant-dev-archive=jakarta.apache.org@jakarta.apache.org Thu Apr 26 12:50:34 2001 Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@jakarta.apache.org Received: (qmail 98880 invoked by uid 500); 26 Apr 2001 12:50:34 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: ant-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 98826 invoked from network); 26 Apr 2001 12:50:33 -0000 Message-ID: <3AE819C8.5E7988A3@ezgov.com> Date: Thu, 26 Apr 2001 14:51:20 +0200 From: Rob van Oostrum Organization: EzGov X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: ant-dev@jakarta.apache.org Subject: Re: [VOTE] The late stuff References: <3.0.6.32.20010426192833.0104dc40@mail.alphalink.com.au> <3AE812B8.FDB75363@ezgov.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N aaaaaaaaaaaaaah ok I see what you're getting at now. That'll work. Only difference being I have to introduce one prop file per project. That's a pain (more work for yours truly), but it'll work. Stefan Bodewig wrote: > Rob van Oostrum wrote: > > > My master build file invokes my generic app build script passing the > > project name as a property. So the name of the property in the > > generic app script is httpd.service.name.${project.name} > > I'm not sure whether I fully understand your case, but let me explain > how I would solve this (if it doesn't solve your problem, I've not > understood it 8-): > > In your build file > > > > > and define httpd.service.name in the apropriate properties file - on a > developer by developer basis. > > Why wouldn't this work? > > > If the code for parsing these strings is set up to work recursively > > (the only 'drawback' IMHO would be that you can't use the ${} chars > > in property names, which is a good rule to have anyway), > > It would be yet another step on the road to an XML scripting language > (that Ant has allegedly already become). > > Stefan