_classWriter.removeTmpDir();
}
private DocletTask initTask() throws Exception
{
DocletTask task = (DocletTask)this.getContextClassLoader().loadClass(_taskName).newInstance();
FileSet files = new FileSet();
task.setDestDir(_classWriter.getTmpDir());
files.setDir(_classWriter.getTmpDir());
StringBuffer includes = new StringBuffer();
for (Iterator it = _srcFiles.iterator() ; it.hasNext();)
{
if (includes.length() > 0)
{
includes.append(" ");
}
includes.append(((File)it.next()).getName());
}
task.addFileset(files);
task.setProject(new Project());
String name;
for (Iterator it = _taskProperties.keySet().iterator(); it.hasNext();)
{