RE: Trim leading spaces line by line

2009-03-10 Thread Harnack Frank
Hello Felix, I'm more confident with "^\s*" (or better "^\s+") too. I prefer "^\s+", because it only matches with really existing spaces. Maybe "\s*" works like this: - Not existing whitespaces at the beginning of the line matches with "\s*". - The not existing whitespaces are replaced with ""

RE: Trim leading spaces line by line

2009-03-10 Thread Harnack Frank
AM To: Ant Users List Subject: Re: Trim leading spaces line by line Le mardi 10 mars 2009, Harnack Frank a écrit : > Hello Felix, > > try this: > >file="xyz.txt" > match="\s*" Err... "^\s*" would be better. If there's no leading s

RE: Trim leading spaces line by line

2009-03-10 Thread Harnack Frank
Hello Felix, try this: Regards Frank -Original Message- From: Felix Dorner [mailto:fdor...@zed.com] Sent: Monday, March 09, 2009 2:35 PM To: Ant Users List Subject: RE: Trim leading spaces line by line I found the solution my self in the ant manual:

RE: ant exec task trouble parsing quotes

2008-12-22 Thread Harnack Frank
Hello, you should try the java-Task. Regards Frank -Original Message- From: Ben Tu [mailto:b...@adobe.com] Sent: Tuesday, December 23, 2008 1:43 AM To: Ant Users List Subject: ant exec task trouble parsing quotes Hi, I am trying to run a java command using exec task in ant. I ran int

RE: how to make replace task not expand Java properties like ${user.home}

2008-11-18 Thread Harnack Frank
Hello, try $${user.home}/public_html ! Regards Frank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2008 5:43 AM To: user@ant.apache.org Subject: how to make replace task not expand Java properties like ${user.home} Hi. I'm writing