else
throw new BuildException("Only one nested <default-size> element is allowed in an <" + TASK_NAME + "> task.");
}
else if (EXTERNAL_LIBRARY_PATH.matches(name))
{
FlexFileSet fs = new FlexSWCFileSet(EXTERNAL_LIBRARY_PATH, true);
nestedFileSets.add(fs);
return fs;
}
else if (INCLUDE_LIBRARIES.matches(name))
{
FlexFileSet fs = new FlexSWCFileSet(INCLUDE_LIBRARIES, true);
nestedFileSets.add(fs);
return fs;
}
else if (LIBRARY_PATH.matches(name))
{
FlexFileSet fs = new FlexSWCFileSet(LIBRARY_PATH, true);
nestedFileSets.add(fs);
return fs;
}
else if (THEME.matches(name))
{
FlexFileSet fs = new FlexFileSet(THEME);
nestedFileSets.add(fs);
return fs;
}
else if (EXTERNS.matches(name))
{
return createExterns();
}
/* The following are unique to compc */
else if (INCLUDE_CLASSES.matches(name))
{
return createElem("class", INCLUDE_CLASSES);
}
else if (INCLUDE_FILE.matches(name))
{
return createElem(new String[] { "name", "path" }, INCLUDE_FILE);
}
else if (INCLUDE_NAMESPACES.matches(name))
{
return createElemAllowAppend(new String[] { "uri" }, INCLUDE_NAMESPACES);
}
else if (INCLUDE_SOURCES.matches(name))
{
FlexFileSet fs = new FlexFileSet(INCLUDE_SOURCES, true);
nestedFileSets.add(fs);
return fs;
}
else if (INCLUDE_RESOURCE_BUNDLES.matches(name))
{