Avoid ArrayIndexOutOfBoundsException which occurs at changing value of variable.
[phpeclipse.git] / net.sourceforge.phpeclipse.launching / plugin.xml
index ba24ca5..f663157 100644 (file)
@@ -1,82 +1,54 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin
-   id="net.sourceforge.phpeclipse.launching"
-   name="%Plugin.name"
-   version="1.1.7"
-   provider-name="phpeclipse.de"
-   class="net.sourceforge.phpdt.internal.launching.PHPLaunchingPlugin">
-
-   <runtime>
-      <library name="launch.jar">
-         <export name="*"/>
-         <packages prefixes="net.sourceforge.phpdt.internal.launching"/>         
-      </library>
-   </runtime>
-   <requires>
-<!--      <import plugin="org.eclipse.core.runtime.compatibility"/> -->
-      <import plugin="org.eclipse.core.runtime"/>
-      <import plugin="org.eclipse.core.resources"/>
-      <import plugin="org.eclipse.ui"/>
-      <import plugin="org.eclipse.debug.core"/>
-      <import plugin="org.eclipse.jface.text"/>
-      <import plugin="org.eclipse.ui.workbench.texteditor"/>
-      <import plugin="net.sourceforge.phpeclipse"/>
-      <import plugin="net.sourceforge.phpeclipse.debug.core"/>
-      <import plugin="org.eclipse.debug.ui"/>
-      <import plugin="net.sourceforge.phpeclipse.ui"/>
-      <import plugin="org.eclipse.ui.ide"/>
-   </requires>
-
-
+<?eclipse version="3.2"?>
+<plugin>
    <extension
-         point="org.eclipse.debug.core.launchConfigurationTypes">
-      <launchConfigurationType
-            name="%LaunchConfigurationTypePHPApplication.name"
-            delegate="net.sourceforge.phpdt.internal.launching.PHPLaunchConfigurationDelegate"
-            modes="run,debug"
-            id="net.sourceforge.phpdt.launching.LaunchConfigurationTypePHPApplication">
-         <fileExtension
-               default="true"
-               extension="php">
-         </fileExtension>
-         <fileExtension
-               default="true"
-               extension="php3">
-         </fileExtension>
-         <fileExtension 
-               default="true"
-               extension="php4">
-         </fileExtension>
-         <fileExtension 
-               default="true"
-               extension="php5">
-         </fileExtension>
-         <fileExtension 
-               default="true"
-               extension="htm">
-         </fileExtension>
-         <fileExtension 
-               default="true"
-               extension="html">
-         </fileExtension>
-      </launchConfigurationType>
+                point="org.eclipse.debug.core.launchConfigurationTypes">
+         <launchConfigurationType
+                       name="%LaunchConfigurationTypePHPApplication.name"
+                       delegate="net.sourceforge.phpdt.internal.launching.PHPLaunchConfigurationDelegate"
+                       modes="run,debug"
+                       id="net.sourceforge.phpdt.launching.LaunchConfigurationTypePHPApplication">
+                <fileExtension
+                          default="true"
+                          extension="php">
+                </fileExtension>
+                <fileExtension
+                          default="true"
+                          extension="php3">
+                </fileExtension>
+                <fileExtension
+                          default="true"
+                          extension="php4">
+                </fileExtension>
+                <fileExtension
+                          default="true"
+                          extension="php5">
+                </fileExtension>
+                <fileExtension
+                          default="true"
+                          extension="htm">
+                </fileExtension>
+                <fileExtension
+                          default="true"
+                          extension="html">
+                </fileExtension>
+         </launchConfigurationType>
    </extension>
-   
+
   <extension
-         point="org.eclipse.debug.ui.consoleLineTrackers">
-      <consoleLineTracker
-            class="net.sourceforge.phpdt.internal.launching.ConsoleLineTracker"
-            processType="net.sourceforge.phpdt.launching.processType"
-            id="net.sourceforge.phpdt.internal.launching.ConsoleLineTracker">
-      </consoleLineTracker>
+                point="org.eclipse.debug.ui.consoleLineTrackers">
+         <consoleLineTracker
+                       class="net.sourceforge.phpdt.internal.launching.ConsoleLineTracker"
+                       processType="net.sourceforge.phpdt.launching.processType"
+                       id="net.sourceforge.phpdt.internal.launching.ConsoleLineTracker">
+         </consoleLineTracker>
   </extension>
   <extension
-        point="org.eclipse.debug.core.sourceLocators">
-     <sourceLocator
-           class="net.sourceforge.phpdt.internal.launching.PHPSourceLocator"
-           id="net.sourceforge.phpeclipse.launching.PHPSourceLocator"
-           name="PHPSourceLocator"/>
+               point="org.eclipse.debug.core.sourceLocators">
+        <sourceLocator
+                  class="net.sourceforge.phpdt.internal.launching.PHPSourceLocator"
+                  id="net.sourceforge.phpeclipse.launching.PHPSourceLocator"
+                  name="PHPSourceLocator"/>
   </extension>
-  
+
 </plugin>
\ No newline at end of file