moduleHandle.includeLibrary( DEUtil.getRelativedPath( ReportPlugin.getDefault( ) .getResourcePreference( ), libraryPath ), namespace );
if ( libraryPath.startsWith( "file" ) ) { moduleHandle.includeLibrary( DEUtil.getRelativedPath( ReportPlugin.getDefault( ) .getResourceFolder( ), libraryPath ), namespace ); } else if ( libraryPath.startsWith( "bundleresource" ) ) { try { moduleHandle.includeLibrary( new URL( libraryPath ).getPath( ), namespace ); } catch ( MalformedURLException e ) { ExceptionHandler.openMessageBox( MSG_DIALOG_TITLE, MessageFormat.format( MSG_DIALOG_MSG, new String[]{ libraryPath } ), SWT.ICON_INFORMATION ); } } else { moduleHandle.includeLibrary( libraryPath, namespace ); }
	public static boolean includeLibrary( ModuleHandle moduleHandle,			String libraryPath ) throws DesignFileException, SemanticException	{		String namespace = getLibraryNamespace( moduleHandle, libraryPath );		if ( namespace != null )		{			moduleHandle.includeLibrary( DEUtil.getRelativedPath( ReportPlugin.getDefault( )					.getResourcePreference( ),					libraryPath ),					namespace );			// ExceptionHandler.openMessageBox( MSG_DIALOG_TITLE,			// MessageFormat.format( MSG_DIALOG_MSG, new String[]{			// libraryPath			// } ),			// SWT.ICON_INFORMATION );			return true;		}		return false;	}