Bug 155784 Can not use library in outline
Details: Can not use library in outline Step: 1.New a library named Lib. 2.New a report design. 3.Switch to outline tab, right click on libraries and select use library, select Lib. Actual result: The library can not be used.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/views/actions/ImportLibraryAction.java
try
			{
				filename = copyToResourceFolder( filename );
				if ( filename != null )
				{
					ModuleHandle moduleHandle = SessionHandleAdapter.getInstance( )
							.getReportDesignHandle( );
					UIUtil.includeLibrary( moduleHandle, filename );
				}
			}
			catch ( Exception e )
			{
				ExceptionHandler.handle( e );
			}
		}
	}
	private String copyToResourceFolder( String filename ) throws IOException
	{
		File orgFile = new File( filename );
		File resourceFolder = new File( ReportPlugin.getDefault( )
				.getResourcePreference( ) );
		if ( resourceFolder.exists( ) )
		{
			File targetFile = new File( resourceFolder, orgFile.getName( ) );
			if ( targetFile.exists( ) )
			{
				if(targetFile.getAbsolutePath( ).equals( orgFile.getAbsolutePath( ) ))
				{
					return orgFile.getAbsolutePath( );
				}