ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: extract properties from file and corresponding template
Date Thu, 06 Sep 2007 08:33:02 GMT
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.


  this @value@ file
  value=is a sample
  this is a sample file

How you would parse the "this is a sample file" string?


>-----Urspr√ľngliche Nachricht-----
>Von: Patrick Martin [] 
>Gesendet: Donnerstag, 6. September 2007 10:18
>An: Ant User
>Betreff: extract properties from file and corresponding template
>I have a file that was generated from a template and a set of
>properties using ant filters.
>Basically, the template contained tokens like which
>where replaced by the corresponding value of ${}.
>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,
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message