* @param theDirectory the directory to list jars from
* @return the array of jar paths in the given directory
*/
private IClasspathEntry[] getJarPaths(File theDirectory)
{
File[] jars = theDirectory.listFiles(new JarFilenameFilter());
IClasspathEntry[] jarPaths = new IClasspathEntry[jars.length];
for (int i = 0; i < jarPaths.length; i++)
{
jarPaths[i] =
LibraryHelper.getIClasspathEntry(jars[i].getAbsolutePath());