protected void checkParameters() throws BuildException
{
if (src == null || src.size() == 0)
{
throw
new BuildException(
"The srcdir attribute must be set.",
getLocation()
);
}
if (destdir != null && !destdir.isDirectory())
{
throw
new BuildException(
"The destination directory \""
+ destdir
+ "\" does not exist "
+ "or is not a directory.",
getLocation()
);
}
if (tempdir != null && !tempdir.isDirectory())
{
throw
new BuildException(
"The temporary directory \""
+ tempdir
+ "\" does not exist "
+ "or is not a directory.",
getLocation()