Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2006-10-19 21:37:53 +0000
committerDarin Wright2006-10-19 21:37:53 +0000
commit3deb7efd0af505da4f7e7fc2d6f1bc410dcefc06 (patch)
tree897a6d639fd1035eaa8fd7a408a95a06f313ac5a /org.eclipse.debug.core/schema
parentaa6dc4adb3144ae3f32efe69fd2026d5a14aeb03 (diff)
downloadeclipse.platform.debug-3deb7efd0af505da4f7e7fc2d6f1bc410dcefc06.tar.gz
eclipse.platform.debug-3deb7efd0af505da4f7e7fc2d6f1bc410dcefc06.tar.xz
eclipse.platform.debug-3deb7efd0af505da4f7e7fc2d6f1bc410dcefc06.zip
Bug 157059 [launching] extensible launch options
Diffstat (limited to 'org.eclipse.debug.core/schema')
-rw-r--r--org.eclipse.debug.core/schema/launchDelegates.exsd23
-rw-r--r--org.eclipse.debug.core/schema/launchOptions.exsd136
2 files changed, 4 insertions, 155 deletions
diff --git a/org.eclipse.debug.core/schema/launchDelegates.exsd b/org.eclipse.debug.core/schema/launchDelegates.exsd
index 45a428e4a..06f39c46d 100644
--- a/org.eclipse.debug.core/schema/launchDelegates.exsd
+++ b/org.eclipse.debug.core/schema/launchDelegates.exsd
@@ -114,7 +114,7 @@ Launch configuration instances of this delegate's type will delegate to ins
<attribute name="options" type="string">
<annotation>
<documentation>
- A comma-separated list of the launch options this launch delegate supports. This attribute was added in the 3.3 release.
+ A comma-separated list of launch modes this launch delegate supports in combination with its supported modes. This attribute was added in the 3.3 release to allow configurations to be launched in a mixed mode.
&lt;p&gt;
&lt;strong&gt;EXPERIMENTAL&lt;/strong&gt;. This attribute has been added as
@@ -151,30 +151,15 @@ without consulting with the Platform/Debug team.
id=&quot;com.example.ExampleProfileDelegate&quot;
delegate=&quot;com.example.ExampleProfileDelegate&quot;
type=&quot;org.eclipse.jdt.launching.localJavaApplication&quot;
- modes=&quot;profile&quot;&gt;
+ modes=&quot;profile&quot;
+ options&quot;run, debug&quot;&gt;
&lt;/launchDelegate&gt;
&lt;/extension&gt;
&lt;/pre&gt;
&lt;/p&gt;
-In the example above, the specified launch delegate is contributed to launch Java applications in profile mode.
+In the example above, the specified launch delegate is contributed to launch Java applications in profile mode. The delegate supports mixed mode launching. The delegate supports profiling when launching in run or debug mode.
-The previous example has been deprecated as of 3.3M3, but left in for brevity. See the following example for new usage.
-
-&lt;p&gt;
-&lt;pre&gt;
-&lt;extension point=&quot;org.eclipse.debug.core.launchDelegates&quot;&gt;
- &lt;launchDelegate
- delegate=&quot;org.eclipse.jdt.launching.JavaLaunchDelegate&quot;
- id=&quot;org.eclipse.jdt.launching.JavaLaunchDelegate&quot;
- type=&quot;org.eclipse.jdt.launching.localJavaApplication&quot;
- modes=&quot;profile&quot;&gt;
- &lt;/launchDelegate&gt;
- &lt;/extension&gt;
-&lt;/pre&gt;
-&lt;/p&gt;
-
-In 3.3 mode-based launching has been deprecated, and in its place we have provided launching with options. Options are contributed via the &lt;code&gt;launchOptions&lt;/code&gt; extension point and can be referenced here to describe what options your launch delegate supports. Options are further arranged in the form of expressions that can be evaluated to determine suitablility of your delegate for a variety of combinations of options.
</documentation>
</annotation>
diff --git a/org.eclipse.debug.core/schema/launchOptions.exsd b/org.eclipse.debug.core/schema/launchOptions.exsd
deleted file mode 100644
index 0e829c97e..000000000
--- a/org.eclipse.debug.core/schema/launchOptions.exsd
+++ /dev/null
@@ -1,136 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.debug.core">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.debug.core" id="launchOptions" name="Launch Options"/>
- </appInfo>
- <documentation>
- This extension point is used to contribute launch options to the launch manager.
-Launch options are used as modifiers when executing a launch configuration.
-
-&lt;p&gt;&lt;strong&gt;EXPERIMENTAL&lt;/strong&gt;. This method has been added as
-part of a work in progress. There is no guarantee that this API will
-remain unchanged during the 3.3 release cycle. Please do not use this API
-without consulting with the Platform/Debug team.&lt;/p&gt;
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="launchOption" minOccurs="1" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="launchOption">
- <annotation>
- <appInfo>
- <meta.element translatable="true"/>
- </appInfo>
- </annotation>
- <complexType>
- <attribute name="label" type="string" use="required">
- <annotation>
- <documentation>
- A human readable label for the option e.g. Debug
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- this is a unique id for the launch option e.g. org.eclipse.debug.debugLaunchOption
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- 3.3
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- &lt;p&gt;
-&lt;pre&gt;
- &lt;extension point=&quot;org.eclipse.debug.core.launchOptions&quot;&gt;
- &lt;launchOption
- id=&quot;trace&quot;
- label=&quot;Trace&quot;&gt;
- &lt;/launchOption&gt;
- &lt;/extension&gt;
-&lt;/pre&gt;
-&lt;/p&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2006 IBM Corporation and others.&lt;br&gt;
-All rights reserved. This program and the accompanying materials are made
-available under the terms of the Eclipse Public License v1.0 which
-accompanies this distribution, and is available at
-&lt;a href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>

Back to the top