No there isnt. And I think this cant be done: If you combine the template with the property values you doesnt have any markers where a property value starts and where it ends (if your template doesnt provide these). Therefore you cant parse the resulting file.
Example: template this @value@ file property value=is a sample result this is a sample file How you would parse the "this is a sample file" string? Jan >-----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 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 of properties back from this >file and the corresponding template. >file + template >>> properties > >Is there any task out there that already exists for that? > >Thank you, > >Patrick > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
