Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 45494 invoked from network); 23 Jun 2004 11:27:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 23 Jun 2004 11:27:52 -0000 Received: (qmail 36112 invoked by uid 500); 23 Jun 2004 11:22:22 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 24852 invoked by uid 500); 23 Jun 2004 11:17:52 -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 13121 invoked by uid 99); 23 Jun 2004 11:12:49 -0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=HTML_50_60,HTML_MESSAGE,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 23 Jun 2004 04:12:47 -0700 Received: from z011104.bk.fin.local (z011104.bk.fin.local [193.109.238.140]) by dnsinet.rzf-nrw.de (8.12.10/8.12.10) with ESMTP id i5NBCeZY026335 for ; Wed, 23 Jun 2004 13:12:40 +0200 Received: by z011104.bk.fin.local with Internet Mail Service (5.5.2657.72) id ; Wed, 23 Jun 2004 13:10:57 +0200 Message-ID: <879A5AD5DD0ED511891F0003473A9B560E23F269@Z011004> From: Jan.Materne@rzf.fin-nrw.de To: user@ant.apache.org Subject: AW: Question about use of property files Date: Wed, 23 Jun 2004 13:12:40 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C45912.FFAEDDB0" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C45912.FFAEDDB0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Inside Ant it doesnt matter whether you have slash or backslash. Sometimes its important for outside use (e.g. when you create an = INI-file). When I needed that I used the from ant-contrib. Or write a and use String.replace() to change the = delimiter. Jan > -----Urspr=C3=BCngliche Nachricht----- > Von: Robert Mark Bram [mailto:relaxedrob@optusnet.com.au] > Gesendet am: Dienstag, 22. Juni 2004 19:09 > An: Ant > Betreff: Question about use of property files >=20 > Hi All! >=20 > I have been trying out property files like this: > > >=20 > With values like this: > policy=3D${conf}/policy.all >=20 > My problem is that when they come out in Windows, the path=20 > separators are=20 > incorrect. For example: > F:\java\jiniHelloWorld\conf/policy.all >=20 > This problem is avoided when the property is declared as a=20 > location within=20 > the xml file.. is there a way I can do the same for a=20 > property that is=20 > declared in an external property file? >=20 > Thanks for any advice! >=20 > Rob > :) > --=20 > Robert Mark Bram > B.Comp.(Systems Development/Business Systems) > B.Net.Comp.(Hons) > Doctor of Philosophy Student >=20 > School of Network Computing > Faculty of Information Technology > Monash University > Peninsula Campus > McMahons Rd > Frankston, VIC 3199 > AUSTRALIA >=20 > Phone: 61 3 9904 4394 > Facsimile: 61 3 9904 4124 > Email: robert.mark.bram@infotech.monash.edu.au >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 ------_=_NextPart_001_01C45912.FFAEDDB0--