Bug 143173 No error for recursive including when exporting a report to a library
Steps to reproduce: 1.New a library named "Lib", add a lable in it 2.New a report, extends Lib.label 3.Export the report, choose target library "Lib" Expected result: Error to warn the recursive including Actual result: The target library includes itself without error
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/util/ElementExportUtil.java
}
		
		if ( session == null )
			return;
		LibraryHandle libraryHandle = openOrCreateLibrary( session,
				libraryFileName );
		assert libraryHandle != null;
		
		iter = elementsToExport.iterator( );
		while ( iter.hasNext( ) )
		{
			DesignElementHandle elementToExport = (DesignElementHandle) iter
					.next( );
			exportElement( elementToExport, libraryHandle, canOverride );
		}
		libraryHandle.save( );
		libraryHandle.close( );
	}
	/**
	 * Exports the given element into one library.
	 * 
	 * @param elementToExport
	 *            handle of the element to export.
	 * @param targetLibraryHandle
	 *            handle of target library
	 * @param canOverride
	 *            indicates whether the element with the same name in target
	 *            library will be overriden.
	 * 
	 * @throws SemanticException