If a task specifies it's configuration is wrong it throws a
ConfigurationException. Target then asks Task to print it's current
configuration and stops the build. (Will only work in a nice way with the
help of RuntimeConfigurable I think :-) )

What do you think?

Nico


Example:

Buildfile: build.xml

default:
Configuration error
===================
Task: vsslabel
haltonerror = not specified
output = not specified
date = not specified
ssdir = not specified
vsspath = not specified
haltonwarning = not specified
comment = not specified
version = not specified
login = not specified
label = not specified
taskname = not specified
description = not specified

BUILD FAILED

build.xml:8: vsspath attribute must be set!

Total time: 0 seconds

Reply via email to