}
private boolean addToIncPath(IFolder folder)
{
XMLUtilities xmlUtil = new XMLUtilities();
int currentIncPathsCount = xmlUtil.getIncludeEntries(folder
.getProject()).length;
String[] incPaths = new String[currentIncPathsCount + 1];
System.arraycopy(xmlUtil.getIncludeEntries(folder.getProject()), 0,
incPaths, 0, currentIncPathsCount);
incPaths[currentIncPathsCount] = folder.getLocation().toString();
try
{
xmlUtil.writeIncludeEntries(folder.getProject(), incPaths);
}
catch (IOException e)
{
e.printStackTrace();
return false;