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
message= JarPackagerMessages.getString("JarFileExportOperation.creationOfSomeJARsFailed"); 
				else
					message= JarPackagerMessages.getString("JarFileExportOperation.jarCreationFailed"); 
				break;
			default:
				
				message= ""; 
				break;
		}
		fStatus.setMessage(message);
		return fStatus;
	}
	/**
	 * Answer a boolean indicating whether the passed child is a descendant
	 * of one or more members of the passed resources collection
	 *
	 * @param	resources	a List contain potential parents
	 * @param	child		the resource to test
	 * @return	a <code>boolean</code> indicating if the child is a descendant
	 */
	protected boolean isDescendant(List resources, IResource child) {
		if (child.getType() == IResource.PROJECT)
			return false;
		IResource parent= child.getParent();
		if (resources.contains(parent))
			return true;
		return isDescendant(resources, parent);
	}
	protected boolean canBeExported(boolean hasErrors, boolean hasWarnings) throws CoreException {
		return (!hasErrors && !hasWarnings)