[MAGIC] improvements to reactor task
mcconnell at dpml.net
Tue Jul 12 01:47:50 EDT 2005
I've just committed a small but subtle change to the ReactorTask that makes
things generally easier to manage new projects. This has come about while
setting up a new SVN repository just top handle tutorials and training
content. I wanted to have a very clean structure as the tutorials will
typically be used as templates for other new projects.
The top level tutorial project build.xml contains the following
<project name="osm-tutorial" default="install" basedir="."
<target name="init" depends="standard.init">
This important thing to note in the above is that I'm calling the
<x:reactor/> task within the initialization task of the project. The
project itself uses the 'standard' template (instead of the reactor
template) and does stuff like the creation of a module for the tutorial
collection and some javadoc generation. In earlier versions of Magic this
would have resulted in a recursive build sequence as the invocation of the
reactor would have triggered the rebuild of the project containing the
reactor declaration. I've also made several improvements to the error
handling during index creation so that the information presented back to the
user is more understandable.
More information about the dev-dpml