Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 21296 invoked from network); 22 May 2002 20:47:16 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 22 May 2002 20:47:16 -0000 Received: (qmail 22122 invoked by uid 97); 22 May 2002 20:47:03 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 22015 invoked by uid 97); 22 May 2002 20:47:03 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 21913 invoked by uid 98); 22 May 2002 20:47:02 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <98D21B073202584C9125C860580DC4EDEC0364@lgchexch006.ad.lgc.com> From: Dominique Devienne To: "'Ant Developers List'" Subject: RE: I may have found a bug?? Date: Wed, 22 May 2002 15:46:54 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N As often, I was wrong. I had understood the back-slashes were there even for the 'ts' ANT property, not just in the properties file, and was furthermore stating what Ant should have done, which it already did... Oh my! --DD P:\org_apache\antx>ant -f tstamp.xml Buildfile: tstamp.xml test: [delete] Deleting: P:\org_apache\antx\tstamp.properties [propertyfile] Creating new property file: P:\org_apache\antx\tstamp.properties [echo] [echo] Before loading properties file: [echo] ts1 = 22.05.2002 AD 15:41:18.271 [echo] ts2 = ${ts2} [echo] [echo] Properties file content: [exec] #Wed May 22 15:41:18 CDT 2002 [exec] ts2=22.05.2002 AD 15\:41\:18.271 [echo] [echo] After loading properties file: [echo] ts1 = 22.05.2002 AD 15:41:18.271 [echo] ts2 = 22.05.2002 AD 15:41:18.271 BUILD SUCCESSFUL Total time: 0 seconds P:\org_apache\antx> -----Original Message----- From: Steve Loughran [mailto:steve_l@iseran.com] Sent: Wednesday, May 22, 2002 3:18 PM To: Ant Developers List Subject: Re: I may have found a bug?? ----- Original Message ----- From: "Dominique Devienne" To: "'Ant Developers List'" Sent: Wednesday, May 22, 2002 10:46 AM Subject: RE: I may have found a bug?? > Huh? Care to elaborate? > > And if you don't use that 'ts' ANT property to generate a properties file? > > And even if you do, shouldn't it be or whatever else that > when generating the properties file from (or the > likes) do the proper escaping for the value!?!?!? > > I recently learned that there's no escaping character for ANT, or XML for > that matter, so why is there one here? --DD RTM on java.util.Properties.store ...Ant implements the spec, no more, no less -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: