private static ArrayList<String> getLibraries(IProject project, String libDir) {
        ArrayList<String> libs = new ArrayList<String>();
        if (project == null) return libs;
        IFolder folder = project.getFolder((libDir));
        try {
            IResource[] members = folder.members();
            for (IResource member : members) {
                if (member instanceof IFolder) {
                    libs.add(((IFolder) member).getName());
                }
            }
        } catch (CoreException e) {
            LogHelper.LogError(e);
        }
        return libs;
    }