* @param attributeName The name of the attribute to set
* @param value The value to set the named attribute to
*/
public void setDynamicAttribute(String attributeName, String value)
{
ConfigVariable var = null;
for (int i = 0; i < configVariables.length && var == null; i++)
{
if (configVariables[i].matches(attributeName))
var = configVariables[i];
}
if (var != null)
{
var.set(value);
}
else
{
throw new BuildException("The <" + taskName + "> type doesn't support the \"" +
attributeName + "\" attribute.", getLocation());