jruaux      2003/02/24 06:12:35

  Modified:    integration/eclipse plugin.xml
  Log:
  Added a temporary launchConfigurationType
  
  Revision  Changes    Path
  1.3       +134 -81   jakarta-cactus/integration/eclipse/plugin.xml
  
  Index: plugin.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/integration/eclipse/plugin.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- plugin.xml        7 Feb 2003 17:25:27 -0000       1.2
  +++ plugin.xml        24 Feb 2003 14:12:35 -0000      1.3
  @@ -1,89 +1,142 @@
   <?xml version="1.0" encoding="UTF-8"?>
  -<plugin id="org.apache.cactus.eclipse" name="%pluginName" version="0.1"
  -  provider-name="%providerName"
  -  class="org.apache.cactus.eclipse.ui.CactusPlugin">
  +<plugin
  +   id="org.apache.cactus.eclipse"
  +   name="%pluginName"
  +   version="0.1"
  +   provider-name="%providerName"
  +   class="org.apache.cactus.eclipse.ui.CactusPlugin">
   
  -  <runtime>
  -    <library name="cactussupport.jar">
  -      <export name="*" />
  -    </library>
  -  </runtime>
  -  <requires>
  -    <import plugin="org.eclipse.ui" />
  -    <import plugin="org.eclipse.core.resources" />
  -    <import plugin="org.eclipse.core.boot" />
  -    <import plugin="org.eclipse.debug.core" />
  -    <import plugin="org.eclipse.debug.ui" />
  -    <import plugin="org.eclipse.jdt.core" />
  -    <import plugin="org.eclipse.jdt.ui" />
  -    <import plugin="org.eclipse.jdt.debug" />
  -    <import plugin="org.eclipse.swt" />
  -    <import plugin="org.eclipse.core.runtime" />
  -    <import plugin="org.eclipse.jdt.launching" />
  -    <import plugin="org.eclipse.jdt.debug.ui" />
  -    <import plugin="org.eclipse.jdt.junit" />
  -    <import plugin="org.junit" />
  -    <import plugin="org.eclipse.ant.core" />
  -    <import plugin="org.apache.ant" />
  -  </requires>
  +   <runtime>
  +      <library name="cactussupport.jar">
  +         <export name="*"/>
  +      </library>
  +   </runtime>
  +   <requires>
  +      <import plugin="org.eclipse.ui"/>
  +      <import plugin="org.eclipse.core.resources"/>
  +      <import plugin="org.eclipse.core.boot"/>
  +      <import plugin="org.eclipse.debug.core"/>
  +      <import plugin="org.eclipse.debug.ui"/>
  +      <import plugin="org.eclipse.jdt.core"/>
  +      <import plugin="org.eclipse.jdt.ui"/>
  +      <import plugin="org.eclipse.jdt.debug"/>
  +      <import plugin="org.eclipse.swt"/>
  +      <import plugin="org.eclipse.core.runtime"/>
  +      <import plugin="org.eclipse.jdt.launching"/>
  +      <import plugin="org.eclipse.jdt.debug.ui"/>
  +      <import plugin="org.eclipse.jdt.junit"/>
  +      <import plugin="org.junit"/>
  +      <import plugin="org.eclipse.ant.core"/>
  +      <import plugin="org.apache.ant"/>
  +      <import plugin="org.eclipse.ui.externaltools"/>
  +   </requires>
   
   
  -  <!-- Registers the Cactus launch configuration -->
  -  <extension point="org.eclipse.debug.core.launchConfigurationTypes">
  -    <launchConfigurationType name="%Launch.label"
  -      delegate="org.apache.cactus.eclipse.launcher.CactusLaunchConfiguration"
  -      modes="run, debug" id="org.apache.cactus.eclipse.launchconfig">
  -      <fileExtension default="false" extension="java"></fileExtension>
  -      <fileExtension default="false" extension="class"></fileExtension>
  -    </launchConfigurationType>
  -  </extension>
  -  <!-- Registers the Cactus launch shortcut (runs a launch configuration
  +<!-- Registers the Cactus launch configuration -->
  +   <extension
  +         point="org.eclipse.debug.core.launchConfigurationTypes">
  +      <launchConfigurationType
  +            name="%Launch.label"
  +            delegate="org.apache.cactus.eclipse.launcher.CactusLaunchConfiguration"
  +            modes="run, debug"
  +            id="org.apache.cactus.eclipse.launchconfig">
  +         <fileExtension
  +               default="false"
  +               extension="java">
  +         </fileExtension>
  +         <fileExtension
  +               default="false"
  +               extension="class">
  +         </fileExtension>
  +      </launchConfigurationType>
  +   </extension>
  +<!-- Registers the Cactus launch shortcut (runs a launch configuration
       on a selected class in the workbench) -->
  -  <extension point="org.eclipse.debug.ui.launchShortcuts">
  -    <shortcut label="%CactusShortcut.label" icon="icons/calaunch.gif"
  -      modes="run, debug"
  -      class="org.apache.cactus.eclipse.launcher.CactusLaunchShortcut"
  -      id="org.apache.cactus.eclipse.cactusShortcut">
  -      <perspective id="org.eclipse.jdt.ui.JavaPerspective"></perspective>
  -      <perspective id="org.eclipse.jdt.ui.JavaHierarchyPerspective"></perspective>
  -      <perspective id="org.eclipse.jdt.ui.JavaBrowsingPerspective"></perspective>
  -      <perspective id="org.eclipse.debug.ui.DebugPerspective"></perspective>
  -    </shortcut>
  -  </extension>
  -  <!-- Registers the Cactus launch configuration image (it is the image that
  +   <extension
  +         point="org.eclipse.debug.ui.launchShortcuts">
  +      <shortcut
  +            label="%CactusShortcut.label"
  +            icon="icons/calaunch.gif"
  +            modes="run, debug"
  +            class="org.apache.cactus.eclipse.launcher.CactusLaunchShortcut"
  +            id="org.apache.cactus.eclipse.cactusShortcut">
  +         <perspective
  +               id="org.eclipse.jdt.ui.JavaPerspective">
  +         </perspective>
  +         <perspective
  +               id="org.eclipse.jdt.ui.JavaHierarchyPerspective">
  +         </perspective>
  +         <perspective
  +               id="org.eclipse.jdt.ui.JavaBrowsingPerspective">
  +         </perspective>
  +         <perspective
  +               id="org.eclipse.debug.ui.DebugPerspective">
  +         </perspective>
  +      </shortcut>
  +   </extension>
  +<!-- Registers the Cactus launch configuration image (it is the image that
       appears in the Launch configuration dialog box) -->
  -  <extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
  -    <launchConfigurationTypeImage icon="icons/calaunch.gif"
  -      configTypeID="org.apache.cactus.eclipse.launchconfig"
  -      id="org.apache.cactus.eclipse.launchimage"></launchConfigurationTypeImage>
  -  </extension>
  -  <!-- Registers the JUnit Tab groups for the Cactus plugin (in the future
  +   <extension
  +         point="org.eclipse.debug.ui.launchConfigurationTypeImages">
  +      <launchConfigurationTypeImage
  +            icon="icons/calaunch.gif"
  +            configTypeID="org.apache.cactus.eclipse.launchconfig"
  +            id="org.apache.cactus.eclipse.launchimage">
  +      </launchConfigurationTypeImage>
  +   </extension>
  +<!-- Registers the JUnit Tab groups for the Cactus plugin (in the future
       Cactus will have its own TabGroup) -->
  -  <extension point="org.eclipse.debug.ui.launchConfigurationTabGroups">
  -    <launchConfigurationTabGroup type="org.apache.cactus.eclipse.launchconfig"
  -      class="org.eclipse.jdt.internal.junit.launcher.JUnitTabGroup"
  -      
id="org.apache.cactus.eclipse.launchConfigurationTabGroup.junit"></launchConfigurationTabGroup>
  -  </extension>
  -  <!-- Registers the Cactus preferences page -->
  -  <extension point="org.eclipse.ui.preferencePages">
  -    <page name="%PreferencePage.label"
  -      class="org.apache.cactus.eclipse.ui.CactusPreferencePage"
  -      id="org.apache.cactus.eclipse.preferencePage"></page>
  -    <page name="%ContainersPreferencePage.label"
  -      category="org.apache.cactus.eclipse.preferencePage"
  -      class="org.apache.cactus.eclipse.ui.ContainersPreferencePage"
  -      id="org.apache.cactus.eclipse.ui.containersPreferencePage"></page>
  -  </extension>
  -  <!-- Adds a popup menu in the JDT perspective -->
  -  <extension id="org.apache.cactus.eclipse.ui.PopupMenus" name="Cactify"
  -    point="org.eclipse.ui.popupMenus">
  -    <objectContribution id="org.apache.cactus.eclipse.ui.Cactify"
  -      objectClass="org.eclipse.core.resources.IProject" adaptable="true">
  -      <action id="org.apache.cactus.eclipse.ui.CactifyAction"
  -        label="%PopupMenu.cactify" tooltip="%PopupMenu.cactifyTip"
  -        menubarPath="additions" icon="icons/calaunch.gif" enablesFor="1"
  -        class="org.apache.cactus.eclipse.ui.CactifyActionDelegate"></action>
  -    </objectContribution>
  -  </extension>
  +   <extension
  +         point="org.eclipse.debug.ui.launchConfigurationTabGroups">
  +      <launchConfigurationTabGroup
  +            type="org.apache.cactus.eclipse.launchconfig"
  +            class="org.eclipse.jdt.internal.junit.launcher.JUnitTabGroup"
  +            id="org.apache.cactus.eclipse.launchConfigurationTabGroup.junit">
  +      </launchConfigurationTabGroup>
  +   </extension>
  +<!-- Registers the Cactus preferences page -->
  +   <extension
  +         point="org.eclipse.ui.preferencePages">
  +      <page
  +            name="%PreferencePage.label"
  +            class="org.apache.cactus.eclipse.ui.CactusPreferencePage"
  +            id="org.apache.cactus.eclipse.preferencePage">
  +      </page>
  +      <page
  +            name="%ContainersPreferencePage.label"
  +            category="org.apache.cactus.eclipse.preferencePage"
  +            class="org.apache.cactus.eclipse.ui.ContainersPreferencePage"
  +            id="org.apache.cactus.eclipse.ui.containersPreferencePage">
  +      </page>
  +   </extension>
  +<!-- Adds a popup menu in the JDT perspective -->
  +   <extension
  +         id="org.apache.cactus.eclipse.ui.PopupMenus"
  +         name="Cactify"
  +         point="org.eclipse.ui.popupMenus">
  +      <objectContribution
  +            objectClass="org.eclipse.core.resources.IProject"
  +            adaptable="true"
  +            id="org.apache.cactus.eclipse.ui.Cactify">
  +         <action
  +               label="%PopupMenu.cactify"
  +               icon="icons/calaunch.gif"
  +               tooltip="%PopupMenu.cactifyTip"
  +               class="org.apache.cactus.eclipse.ui.CactifyActionDelegate"
  +               menubarPath="additions"
  +               enablesFor="1"
  +               id="org.apache.cactus.eclipse.ui.CactifyAction">
  +         </action>
  +      </objectContribution>
  +   </extension>
  +   <extension
  +         point="org.eclipse.debug.core.launchConfigurationTypes">
  +      <launchConfigurationType
  +            name="Cactus Ant"
  +            delegate="org.apache.cactus.eclipse.containers.ant.AntLaunchDelegate"
  +            modes="run, debug"
  +            id="org.apache.cactus.eclipse.launching.ant">
  +      </launchConfigurationType>
  +   </extension>
   
  -</plugin>
  \ No newline at end of file
  +</plugin>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to