String path = Jetspeed.getRealPath("WEB-INF/tld");
if (path != null)
{
File portletTaglibDir = new File(path);
File child = new File(warStruct.getRootDirectory(), "WEB-INF/tld");
DirectoryHelper dh = new DirectoryHelper(child);
dh.copyFrom(portletTaglibDir, new FileFilter(){
public boolean accept(File pathname)
{
return pathname.getName().indexOf("portlet.tld") != -1;
}
});
dh.close();
}
}
}
catch (Exception e)