public static IPackageFragmentRoot addLibrary(IJavaProject jproject,IPath path) throws JavaModelException {
  return addLibrary(jproject,path,null,null);
}

public static IPackageFragmentRoot addLibrary ( IJavaProject jproject , IPath path ) throws JavaModelException { return addLibrary ( jproject , path , null , null ) ; }
adds a library entry to a ijavaproject .
