“FreeMind”:http://freemind.sourceforge.net/ is a pretty good open source “mind mapping(Wikipedia – Mind mapping)”:http://en.wikipedia.org/wiki/Mind_mapping tool, which we’ve been using to capture the efforts of various bits of brainstorming, as well as keep track of ever evolving processes. One of the processes we’ve detailed using FreeMind has been our build process – during which I was struck by just how good FreeMind could be at actually modelling an “ant”:http://jakarta.apache.org/ant build structure. High level tasks (such as @deploy@) can be easily broken down into smaller dependent tasks (@compile@, @copyToServer@ etc).
I think the process of just sitting down to actually work out how your build file should be structured would benefit most projects – I’ve lost count of the number of times build files have been thrown together without any real thought. There is something about ant (which I’ll discuss another day) that makes developers who would normally write perfectly nice, clean, code write horribly convoluted, unmaintainable ant build files without any clear consistent approach.
The FreeMind file format is in XML, which theoretically could be formatted using XSLT to produce a skeleton ant build file, therefore making FreeMind a potential (one-way) ant GUI. Failing that, just using the tool in the first place would be a good place to start.
4 Responses to “FreeMind as an Ant GUI?”
Good idea, I’ve put up a quick groovy script that will recurse through your build.xml creating a build.mm file
download antmap.g (it will probably be revised with time here in the groovy example folder)
OK, I’ve blogged my implementation of a bit of your idea Sam…
“http://javanicus.com/blog2/items/168-index.html”:http://javanicus.com/blog2/items/168-index.html
Now, to think about the other way around (which is what you meant in the first place)…
See you Wednesday đŸ™‚
jez.
Sorry Jez, I don’t quite underestand what you’re trying to say. Could you repeat it another THREE times please ?
Cool Jez, I’ll take a look.