My $0.02...
Just thinking, If you have a bunch of parameters that will be
"constant" (or at least default) across all projects, you could
probably define them in a single XML file and then use <cb:include> to
include that one file in all your other configs... then use the
preprocessor to extract the particular params you need for that file
by name...
Caveat: I've not actually tried this, because I've never really found
a need to. In my experience ccnet has very sensible defaults and a
human-readable XML schema (one of the best things going for it,
actually!), which means the config for even a fairly major build is
still short and understandable... and even if you have to specify your
working directory as "C:\Builds\<projectName>\" in each individual
file, doing so it keeps it flexible. Plus, it means other developers
on the various project teams (who may only be vaguely aware of the
existence of a build process, let alone understand the inner workings
of CCNet) only need to look in one single file for any given project
to figure out the build process and params for that project.
Cheers,
- Sam.