I am developing in using C++ and Qt 5.5. However, the gradle, ant, maven solutions sound interesting.
I guess I will need to resort to some sed bash or python scripting to do what I need. Thank you both for the suggestions, -Ed On Monday, August 17, 2015 at 9:24:17 AM UTC-5, walter.kelt wrote: > > Ant and maven have filter functionality that can be used to update text > files that use "properties". > May be handy if you are using ant or maven to create build. > > Sent from my iPad > > > On Aug 17, 2015, at 10:16 AM, Daniel Beck <[email protected] > <javascript:>> wrote: > > > > Use sed? https://en.wikipedia.org/wiki/Sed > > > > Gradle also does this if your build is based on that -- look for > filter(…) on e.g. the copy task. > > > > Of course neither supports your file format out of the box. > > > >> On 17.08.2015, at 16:11, Eddie Sutton <[email protected] <javascript:>> > wrote: > >> > >> I am looking for tools to automatically update text documents with > relevant build information such as version information, date of build, the > new features included with a milestone. > >> > >> SubWCRev works well but is limited to Subversion properties: > >> > >> > http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-subwcrev-example.html > >> > >> ReadMe Template File: > >> ------------------------------- > >> Build date: $WCDATE$ > >> > >> > >> I am looking for a tool could read an input text file containing key > value pairs, and substitute variables in a document template for HTML > files, readme.txt files, RSS news feed files, etc. > >> > >> > >> Input File (Manually Maintained) > >> ------------------------------------------- > >> ReleaseSummary="New Features and Bug Fixes" > >> Feature1="Cure for cancer" > >> DownloadUrl="http://acme/com/downloads/installer-1.2.3456.zip" > >> > >> > >> Output Template File: > >> ----------------------------- > >> <h1>$ReleaseSummary$<h1> > >> <a href="$DownloadUrl$" >Download</a> > >> > >> Thanks in advance for any suggestions, > >> > >> -Ed > >> > >> > >> -- > >> You received this message because you are subscribed to the Google > Groups "Jenkins Users" group. > >> To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <javascript:>. > >> To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/CAKas9STLEK1b%3Dh0RH%2BmJOWxK-FQW4arTSK1MowWnL6bNEdm3YQ%40mail.gmail.com. > > > >> For more options, visit https://groups.google.com/d/optout. > > > > -- > > You received this message because you are subscribed to the Google > Groups "Jenkins Users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <javascript:>. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/8FB112A8-ADD9-401F-8E8B-D6D8B7053EE7%40beckweb.net. > > > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/74b289be-b86b-4a9e-9a8a-732affb769c4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
