Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 80783 invoked from network); 4 Mar 2005 11:49:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Mar 2005 11:49:27 -0000 Received: (qmail 19798 invoked by uid 500); 4 Mar 2005 11:49:22 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 19731 invoked by uid 500); 4 Mar 2005 11:49:22 -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 19716 invoked by uid 99); 4 Mar 2005 11:49:21 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of rakesh.mailgroups@gmail.com designates 64.233.184.205 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.205) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 04 Mar 2005 03:49:20 -0800 Received: by wproxy.gmail.com with SMTP id 68so1507155wri for ; Fri, 04 Mar 2005 03:49:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=OrfI+X04nY+NnA9g53LlP2AIBBRC/ezByAJdIYv+/LJNx4bsdIB9y11qjbl4WxutyGsncT3H2TptI6wmGUU4hDI8h6o4TYIdjV29Z/5jrly2aMiEr+sYe0fkyfDYTuLFWYI9CGy1Vn3aN3VxD/rMTG3h3rMeYoIfhG64L5HE6X8= Received: by 10.54.10.7 with SMTP id 7mr83498wrj; Fri, 04 Mar 2005 03:49:18 -0800 (PST) Received: by 10.54.33.54 with HTTP; Fri, 4 Mar 2005 03:49:18 -0800 (PST) Message-ID: <96b4e8c05030403495891a102@mail.gmail.com> Date: Fri, 4 Mar 2005 11:49:18 +0000 From: rakesh mailgroups Reply-To: rakesh mailgroups To: user@ant.apache.org Subject: directory paths Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, sometimes Ant gives you too many ways to do things and you cobble something together that works but you think can probably done easier. Here's what i am trying to do: My web.xml needs to contain a full path to a config file. This path should work whether on windows or unix. The location is always in a subdirectory of the base dir. Here's my Ant code: ... Path to xml file is: ${win} the xml file goes from: @xml.location@/frontcontroller.xml to C:\Projects\HelloSample\web\WEB-INF/frontcontroller.xml It does work (on windows, haven't tested on Unix yet) but is their an easier way???? It seems so long winded! Thanks Rakesh --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org