fixed additional catches block bug
[phpeclipse.git] / net.sourceforge.phpeclipse.phpunit / src / net / sourceforge / phpeclipse / phpunit / PHPUnitPlugin.java
index fb89999..e59bcab 100644 (file)
@@ -1,34 +1,26 @@
-/*
- * Created on Sep 4, 2004
+/*************************************************************************
+ * @author Ali Echihabi (ali_echihabi@ieee.org, ali.echihabi@souss.ca)
  *
- * To change the template for this generated file go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-package net.sourceforge.phpeclipse.phpunit;
+ * Plugin for PHP unit Testing.
+ * www.phpeclipse.de
+ * 
+ *************************************************************************/
 
-import java.util.ResourceBundle;
+package net.sourceforge.phpeclipse.phpunit;
 
 import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.IPluginDescriptor;
-import org.eclipse.core.runtime.Platform;
 import org.eclipse.jface.dialogs.IDialogSettings;
 import org.eclipse.jface.preference.IPreferenceStore;
 import org.eclipse.jface.resource.ImageRegistry;
 import org.eclipse.ui.IWorkbench;
 import org.eclipse.ui.plugin.AbstractUIPlugin;
 
-/**
- * @author Ali Echihabi
- *
- * To change the template for this generated type comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-public class PHPUnitPlugin extends AbstractUIPlugin {
 
+public class PHPUnitPlugin extends AbstractUIPlugin {
 
 
        private static PHPUnitPlugin plugin;
-       private ResourceBundle resourceBundle;
        public static final String PLUGIN_ID= "net.sourceforge.phpeclipse.phpunit"; //$NON-NLS-1$
 
        /**
@@ -38,29 +30,8 @@ public class PHPUnitPlugin extends AbstractUIPlugin {
                
                super(descriptor);
                
-               System.out.println("desc: "  + descriptor.getInstallURL());
-                               
-               
                plugin= this;
-               
-               
-               String pathSuffix= "icons/"; //$NON-NLS-1$
-               
-               System.out.println("" + Platform.getLocation());
-               
-               System.out.println("" + Platform.getPluginStateLocation(plugin));
-               
-               System.out.println("" + Platform.getLogFileLocation());
-               
-               
-               
-       
-               
-       }
-
-       public String getPath() {
-               return plugin.getDescriptor().getInstallURL().getFile();
+                               
        }