ruper2/src/java/eclipse/org/krysalis/ruper2/eclipse/plugin EclipsePluginLogListener.java,1.2,1.3 UpdateAction.java,1.3,1.4

[email protected]
Newsgroups gmane.comp.krysalis.metamorphosis.cvs
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis/ruper2/src/java/eclipse/org/krysalis/ruper2/eclipse/plugin
In directory sc8-pr-cvs1:/tmp/cvs-serv8045/src/java/eclipse/org/krysalis/ruper2/eclipse/plugin

Modified Files:
	EclipsePluginLogListener.java UpdateAction.java 
Log Message:
Share a good idea w/ k-v...

Index: EclipsePluginLogListener.java
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/src/java/eclipse/org/krysalis/ruper2/eclipse/plugin/EclipsePluginLogListener.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** EclipsePluginLogListener.java	21 Oct 2003 15:26:16 -0000	1.2
--- EclipsePluginLogListener.java	22 Oct 2003 02:14:07 -0000	1.3
***************
*** 9,19 ****
  import org.eclipse.core.runtime.Plugin;
  import org.eclipse.core.runtime.Status;
! import org.krysalis.ruper2.log.ILogListener;
! import org.krysalis.ruper2.log.LogConstant;
  
  /**
   * @author anou_mana
   */
! public class EclipsePluginLogListener implements ILogListener {
  
  	private ILog m_log = null;
--- 9,19 ----
  import org.eclipse.core.runtime.Plugin;
  import org.eclipse.core.runtime.Status;
! import org.krysalis.version.log.ILogger;
! import org.krysalis.version.log.LogConstants;
  
  /**
   * @author anou_mana
   */
! public class EclipsePluginLogListener implements ILogger {
  
  	private ILog m_log = null;
***************
*** 35,39 ****
  
  		switch (severity) {
! 			case LogConstant.WARN :
  				{
  					eclipseSeverity = IStatus.WARNING;
--- 35,39 ----
  
  		switch (severity) {
! 			case LogConstants.WARN :
  				{
  					eclipseSeverity = IStatus.WARNING;
***************
*** 41,45 ****
  				}
  			default :
! 			case LogConstant.ERROR :
  				{
  					eclipseSeverity = IStatus.ERROR;
--- 41,45 ----
  				}
  			default :
! 			case LogConstants.ERROR :
  				{
  					eclipseSeverity = IStatus.ERROR;

Index: UpdateAction.java
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/src/java/eclipse/org/krysalis/ruper2/eclipse/plugin/UpdateAction.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** UpdateAction.java	21 Oct 2003 15:26:16 -0000	1.3
--- UpdateAction.java	22 Oct 2003 02:14:08 -0000	1.4
***************
*** 14,18 ****
  import org.eclipse.ui.IWorkbenchWindowActionDelegate;
  import org.krysalis.ruper2.eclipse.EclipseFileUpdater;
! import org.krysalis.ruper2.log.Logger;
  
  /**
--- 14,18 ----
  import org.eclipse.ui.IWorkbenchWindowActionDelegate;
  import org.krysalis.ruper2.eclipse.EclipseFileUpdater;
! import org.krysalis.version.log.Logger;
  
  /**
***************
*** 113,117 ****
  		catch(Exception exp)
  		{
! 			Logger.getLog().error(
  							"Failed to download files  ",
  							exp);			//TODO RuperPluginLog.error("Failed to download files " + exp.getMessage(), exp);
--- 113,117 ----
  		catch(Exception exp)
  		{
! 			Logger.getLogger().error(
  							"Failed to download files  ",
  							exp);			//TODO RuperPluginLog.error("Failed to download files " + exp.getMessage(), exp);




-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.