A Tiddlywiki Parser for ApacheAnt.

Store your config in a wiki. 

Why maintain a seperate build wiki to document your properties files. Why not treat documentation as configuration?

 With this Jython Script you can store your propreties in a TiddlyWiki  and have them parsed by ApacheAnt.

 

The way this works is you have a  <script language="jython" src="parse-wiki.py"> command in your build.xml 

 This will then go parse the build.html and extract the Key=Value pairs. Simple right? Not quite.

To make the system really usefull you want a way of  differentiating between "live" properties and "documentation" properties. To do this i use the convention that any key value pair in a TiddlyWiki {{{ Code Block }}} is treated as live and parsed.

The Parser starts from a Tiddler called BeginHere and will follow any Highlighted links and parse them.

 

So with out further ado, The Parser.  

 

And a sample BuildWiki that it can read from. To save this file, right click This Link and select "Save As".