Bug 14236 Unable to log info messages during jar packaging
Using the 04/18 Integration build, I still can't get an info message into the status maintained by JarFileExportOperation. In my JarWriter implementation, the close() method is throwing a CoreException which contains a status whose severity is set to IStatus.INFO. However, note that JarFileExportOperation.addToStatus() only accepts ERROR and WARNING (and only when they are being logged respectively which they are for my package data).
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
}
	protected void addToStatus(CoreException ex) {
		IStatus status= ex.getStatus();
		int severity= status.getSeverity();
		if (fJarPackage == null || (severity == IStatus.ERROR && fJarPackage.logErrors()) || (severity == IStatus.WARNING && fJarPackage.logWarnings())) {
			String message= ex.getLocalizedMessage();
			if (message == null || message.length() < 1) {
				message= JarPackagerMessages.getString("JarFileExportOperation.coreErrorDuringExport"); 
				status= new Status(status.getSeverity(), status.getPlugin(), status.getCode(), message, ex);
			}		
			fStatus.add(status);
		}
	}
	/**
	 * Adds a new warning to the list with the passed information.
	 * Normally the export operation continues after a warning.
	 * @param	message		the message
	 * @param	exception	the throwable that caused the warning, or <code>null</code>
	 */
	protected void addWarning(String message, Throwable error) {
		if (fJarPackage == null || fJarPackage.logWarnings())
			fStatus.add(new Status(IStatus.WARNING, JavaPlugin.getPluginId(), JavaStatusConstants.INTERNAL_ERROR, message, error));
	}
	
	/**
	 * Adds a new error to the list with the passed information.
	 * Normally an error terminates the export operation.
	 * @param	message		the message
	 * @param	exception	the throwable that caused the error, or <code>null</code>
	 */