Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 90225 invoked from network); 5 Jul 2004 10:58:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 5 Jul 2004 10:58:53 -0000 Received: (qmail 95826 invoked by uid 500); 5 Jul 2004 10:58:42 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 95778 invoked by uid 500); 5 Jul 2004 10:58:42 -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 95765 invoked by uid 99); 5 Jul 2004 10:58:42 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received: from [206.190.39.187] (HELO web52910.mail.yahoo.com) (206.190.39.187) by apache.org (qpsmtpd/0.27.1) with SMTP; Mon, 05 Jul 2004 03:58:40 -0700 Message-ID: <20040705105838.49806.qmail@web52910.mail.yahoo.com> Received: from [212.95.183.130] by web52910.mail.yahoo.com via HTTP; Mon, 05 Jul 2004 03:58:38 PDT Date: Mon, 5 Jul 2004 03:58:38 -0700 (PDT) From: Ivan Ivanov Subject: Re: AW: AW: Batch script with arguments To: Ant Users List In-Reply-To: <879A5AD5DD0ED511891F0003473A9B560E23F2C9@Z011004> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --- Jan.Materne@rzf.fin-nrw.de wrote: > What is your environment? > a) a server and all users are working there (Ant > runs on the server) > b) a server and several clients which have a network > drive (mount) to the > server > (Ant runs locally) > > I think all should be fine with > ${user.home}/project.properties Jan, My environment is OK :)) Let the original requestor comments whether this is useful for him. > Yes. > > The scenario would be: > > file="${user.home}/${ant.project.name}.properties"/> > addproperty="project.src.dir"/> > > > If there is a "test.properties" in the user home > directory containing that > "project.src.dir" key, the input is skipped. > Otherwise the user is asked. > Yes, I checked that. The prompt appears if and only if project.src.dir is not set. But I also observed something else: when the prompt of appeared I typed ${basedir}/src and the result was that ${basedir} was not expanded in the value of the property. Here is the the input/output: prompt: [input] Enter sources dir ${basedir}/src <-- This was entered by me [echo] project.src.dir is ${basedir}/src So do you think that it may be useful if, say, "expandProperty" attribute is added to the , controlling whether the properties in the input be expanded? > > Jan > > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org