new Path( project.getProperty(sortedRootPaths()[i])));
this.getROOTPATHProperty(sortedRootPaths()[i]));
	protected synchronized void buildIncludeFiles() throws BuildException {		// void double entries		HashSet resolvedEntries = new HashSet();		// add wo classpath entries		IJavaProject myJavaProject = JavaCore.create(actualProject);		IClasspathEntry[] classPaths;		try {			classPaths = myJavaProject.getResolvedClasspath(true);		} catch (JavaModelException e) {			System.out.println(				"Exception while trying to get classpath entries: "					+ e.getMessage());			return;		}		IFile currentFrameworkListFile;		// use sorted root paths to ensure correct replacement of 		// classpath entries with framework entries		for (int i = 0; i < sortedRootPaths().length; i++) {			currentFrameworkListFile =				actualProject.getFile(					INCLUDES_FILE_PREFIX + "." + sortedRootPaths()[i]);			if (currentFrameworkListFile.exists()) {				// delete old include file				try {					currentFrameworkListFile.delete(true, null);				} catch (CoreException e) {					throw new BuildException(						"Exception while trying to delete "							+ currentFrameworkListFile.getName()							+ ": "							+ e.getMessage());				}			}			if (project.getProperty(sortedRootPaths()[i]) == null) {				System.out.println(					"Property " + sortedRootPaths()[i] + " doesn't exists");				continue;			}			StringBuffer newFrameworkEntries = new StringBuffer();			String resolvedEntry;			for (int j = 0; j < classPaths.length; j++) {				if (classPaths[j].getEntryKind() == IClasspathEntry.CPE_LIBRARY					|| classPaths[j].getEntryKind()						== IClasspathEntry.CPE_VARIABLE) {					// convert classpath entries to woproject acceptable paths					resolvedEntry =						classpathEntryToFrameworkEntry(							classPaths[j],							new Path(								project.getProperty(sortedRootPaths()[i])));					if (resolvedEntry != null						&& !resolvedEntries.contains(classPaths[j])) {						resolvedEntries.add(classPaths[j]);						newFrameworkEntries.append(resolvedEntry);						newFrameworkEntries.append("\n");					}				}			}			if (newFrameworkEntries.length() > 0) {				try {					if (currentFrameworkListFile.exists()) {						// file may be created by WOBuilder in the meantime						// no update needed						return;					} else {						// create list file if any entries found						currentFrameworkListFile.create(							new ByteArrayInputStream(								newFrameworkEntries.toString().getBytes()),							true,							null);					}				} catch (CoreException e) {					throw new BuildException(						"Exception while trying to create "							+ currentFrameworkListFile.getName()							+ ": "							+ e.getMessage());				}			}		}	}