Re: extract properties from file and corresponding template

2007-09-10 Thread Patrick Martin
Indeed, it will certainly be useful. Thanks a lot. Patrick On 9/7/07, Bruce Atherton <[EMAIL PROTECTED]> wrote: > True, if your properties file has embedded ant properties that you > expect to be replaced, what you will get back when you regenerate the > file is not the property but the replacemen

Re: extract properties from file and corresponding template

2007-09-07 Thread Bruce Atherton
True, if your properties file has embedded ant properties that you expect to be replaced, what you will get back when you regenerate the file is not the property but the replacement value. This is still useful as a properties file, though, just not as maintainable as the original would have bee

AW: extract properties from file and corresponding template

2007-09-06 Thread Jan.Materne
>Actually, if you wanted to do it programatically in code and you could >guarantee that each line had no more than one token, you could probably >make it work by creating regular expressions. Here is some pseudocode: > >for each line in the template file Problem with special values: value

Re: extract properties from file and corresponding template

2007-09-06 Thread Bruce Atherton
007 10:18 An: Ant User Betreff: extract properties from file and corresponding template Hello, I have a file that was generated from a template and a set of properties using ant filters. Basically, the template contained tokens like @my.property@ which where replaced by the corresponding value

Re: extract properties from file and corresponding template

2007-09-06 Thread Patrick Martin
>-Ursprüngliche Nachricht- > >Von: Patrick Martin [mailto:[EMAIL PROTECTED] > >Gesendet: Donnerstag, 6. September 2007 10:18 > >An: Ant User > >Betreff: extract properties from file and corresponding template > > > >Hello, > > > >I have a f

RE: extract properties from file and corresponding template

2007-09-06 Thread Rebhan, Gilbert
Hi, -Original Message- From: Patrick Martin [mailto:[EMAIL PROTECTED] Sent: Thursday, September 06, 2007 10:18 AM To: Ant User Subject: extract properties from file and corresponding template /* Hello, I have a file that was generated from a template and a set of properties using ant

AW: extract properties from file and corresponding template

2007-09-06 Thread Jan.Materne
User >Betreff: extract properties from file and corresponding template > >Hello, > >I have a file that was generated from a template and a set of >properties using ant filters. >Basically, the template contained tokens like @my.property@ which >where replaced by the corresponding v

extract properties from file and corresponding template

2007-09-06 Thread Patrick Martin
Hello, I have a file that was generated from a template and a set of properties using ant filters. Basically, the template contained tokens like @my.property@ which where replaced by the corresponding value of ${my.property}. template + properties >>> file Now, I'd like to be able to get the set