Initial commit
@@ -0,0 +1 @@
|
||||
# Debugging options for the org.eclipse.ant.ui plugin.
|
||||
@@ -0,0 +1,50 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>About</title>
|
||||
<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
|
||||
</head>
|
||||
<body lang="EN-US">
|
||||
<h2>About This Content</h2>
|
||||
|
||||
<p>22nd March, 2004</p>
|
||||
<h3>License</h3>
|
||||
<p>Eclipse.org makes available all content in this plug-in ("Content"). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
|
||||
Common Public License Version 1.0 ("CPL"). A copy of the CPL is available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>.
|
||||
For purposes of the CPL, "Program" will mean the Content.</p>
|
||||
|
||||
<h3>Third Party Content</h3>
|
||||
|
||||
<p>The Content includes items that have been sourced from third parties as follows:</p>
|
||||
|
||||
<p><b>Ant 1.6.1</b></p>
|
||||
<p>The plug-in is based on software developed by The Apache Software Foundation as part of the Ant project.</p>
|
||||
|
||||
<p>The following classes ("Ant-Derived Work") are based on Ant code:</p>
|
||||
|
||||
<ul>
|
||||
<li>org.eclipse.ant.internal.ui.antsupport.InternalAntRunner contained in remoteAnt.jar and remoteAntsrc.zip</li>
|
||||
<li>org.eclipse.ant.internal.ui.editor.utils.ProjectHelper contained in antui.jar and antuisrc.zip </li>
|
||||
</ul>
|
||||
|
||||
<p>Your use of the Ant-Derived Work is subject to the terms and conditions of the Apache Software License 2.0. A copy of the license is contained
|
||||
in the file <a href="asl-v20.txt">asl-v20.txt</a> and is also available at <a href="http://www.apache.org/licenses/LICENSE-2.0.html">http://www.apache.org/licenses/LICENSE-2.0.html</a>.
|
||||
|
||||
<p>The names "Ant" and "Apache Software Foundation" must not be used to endorse or promote products derived from this
|
||||
software without prior written permission. For written permission, please contact <a href="mailto:apache@apache.org">apache@apache.org</a>.</p>
|
||||
|
||||
<h3>Contributions</h3>
|
||||
|
||||
<p>If this Content is licensed to you under the terms and conditions of the CPL, any Contributions, as defined in the CPL, uploaded, submitted, or otherwise
|
||||
made available to Eclipse.org, members of Eclipse.org and/or the host of Eclipse.org web site, by you that relate to such
|
||||
Content are provided under the terms and conditions of the CPL and can be made available to others under the terms of the CPL.</p>
|
||||
|
||||
<p>If this Content is licensed to you under license terms and conditions other than the CPL ("Other License"), any modifications, enhancements and/or
|
||||
other code and/or documentation ("Modifications") uploaded, submitted, or otherwise made available to Eclipse.org, members of Eclipse.org and/or the
|
||||
host of Eclipse.org, by you that relate to such Content are provided under terms and conditions of the Other License and can be made available
|
||||
to others under the terms of the Other License. In addition, with regard to Modifications for which you are the copyright holder, you are also
|
||||
providing the Modifications under the terms and conditions of the CPL and such Modifications can be made available to others under the terms of
|
||||
the CPL.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
BIN
TBE/Eclipse/eclipse/plugins/org.eclipse.ant.ui_3.0.1/antui.jar
Normal file
|
After Width: | Height: | Size: 215 B |
|
After Width: | Height: | Size: 110 B |
|
After Width: | Height: | Size: 159 B |
|
After Width: | Height: | Size: 81 B |
|
After Width: | Height: | Size: 246 B |
|
After Width: | Height: | Size: 144 B |
|
After Width: | Height: | Size: 89 B |
|
After Width: | Height: | Size: 219 B |
|
After Width: | Height: | Size: 209 B |
|
After Width: | Height: | Size: 159 B |
|
After Width: | Height: | Size: 187 B |
|
After Width: | Height: | Size: 359 B |
|
After Width: | Height: | Size: 331 B |
|
After Width: | Height: | Size: 149 B |
|
After Width: | Height: | Size: 145 B |
|
After Width: | Height: | Size: 228 B |
|
After Width: | Height: | Size: 157 B |
|
After Width: | Height: | Size: 211 B |
|
After Width: | Height: | Size: 193 B |
|
After Width: | Height: | Size: 376 B |
|
After Width: | Height: | Size: 213 B |
|
After Width: | Height: | Size: 150 B |
|
After Width: | Height: | Size: 578 B |
|
After Width: | Height: | Size: 327 B |
|
After Width: | Height: | Size: 163 B |
|
After Width: | Height: | Size: 204 B |
|
After Width: | Height: | Size: 379 B |
|
After Width: | Height: | Size: 347 B |
|
After Width: | Height: | Size: 160 B |
|
After Width: | Height: | Size: 206 B |
|
After Width: | Height: | Size: 119 B |
|
After Width: | Height: | Size: 119 B |
|
After Width: | Height: | Size: 370 B |
|
After Width: | Height: | Size: 339 B |
|
After Width: | Height: | Size: 149 B |
|
After Width: | Height: | Size: 577 B |
|
After Width: | Height: | Size: 330 B |
|
After Width: | Height: | Size: 590 B |
|
After Width: | Height: | Size: 185 B |
|
After Width: | Height: | Size: 589 B |
|
After Width: | Height: | Size: 531 B |
|
After Width: | Height: | Size: 359 B |
|
After Width: | Height: | Size: 578 B |
|
After Width: | Height: | Size: 204 B |
|
After Width: | Height: | Size: 374 B |
|
After Width: | Height: | Size: 363 B |
|
After Width: | Height: | Size: 82 B |
|
After Width: | Height: | Size: 359 B |
|
After Width: | Height: | Size: 139 B |
|
After Width: | Height: | Size: 82 B |
|
After Width: | Height: | Size: 68 B |
|
After Width: | Height: | Size: 173 B |
|
After Width: | Height: | Size: 3.1 KiB |
@@ -0,0 +1,59 @@
|
||||
###############################################################################
|
||||
# Copyright (c) 2000, 2004 IBM Corporation and others.
|
||||
# All rights reserved. This program and the accompanying materials
|
||||
# are made available under the terms of the Common Public License v1.0
|
||||
# which accompanies this distribution, and is available at
|
||||
# http://www.eclipse.org/legal/cpl-v10.html
|
||||
#
|
||||
# Contributors:
|
||||
# IBM Corporation - initial API and implementation
|
||||
###############################################################################
|
||||
|
||||
pluginName = Ant UI
|
||||
providerName = Eclipse.org
|
||||
|
||||
AntBuild = Ant Build
|
||||
AntLaunchShortcut.label = Ant Build
|
||||
AntLaunchShortcutWithDialog.label = Ant Build...
|
||||
antLaunchConfigurationTabGroup.description=Create a configuration that will run an Ant buildfile.
|
||||
antBuilderLaunchConfigurationTabGroup.description=Create a configuration that will run an Ant buildfile during a build.
|
||||
|
||||
AntEditor.name=Ant Editor
|
||||
AddBookmark.label=Add Boo&kmark...
|
||||
AddBookmark.tooltip=Add Bookmark...
|
||||
AddTask.label=Add &Task...
|
||||
AddTask.tooltip=Add Task...
|
||||
|
||||
ActionDefinition.antContentAssistProposals.name=Ant Content Assist
|
||||
ActionDefinition.antContentAssistProposals.description=Content Assist in the Ant Editor
|
||||
|
||||
CategoryView.antViews = Ant
|
||||
|
||||
View.antView = Ant
|
||||
ViewCommand.antView.name = Ant
|
||||
ViewCommand.antView.description = Show the Ant view
|
||||
|
||||
PreferencePage.antPreferences = Ant
|
||||
PreferencePage.antRuntimePreferences = Runtime
|
||||
PreferencePage.antEditorPreferences = Editor
|
||||
PreferencePage.antCodeFormatterPreferences = Formatter
|
||||
PreferencePage.antTemplatePreferences = Templates
|
||||
PreferencePage.antCodeAssistPreferences = Code Assist
|
||||
|
||||
templatesName = Ant Templates Definitions
|
||||
|
||||
buildFile.contextType.name= Ant
|
||||
task.contextType.name= Ant Task
|
||||
|
||||
antDocumentFactory.name= Ant Document Factory
|
||||
antDocumentSetupParticipant.name= Ant Document Setup Participant
|
||||
|
||||
ant.resolvers.src= Source Fileset
|
||||
ant.resolvers.src.description= A source fileset
|
||||
ant.resolvers.dst= Destination Fileset
|
||||
ant.resolvers.dst.description= An output fileset
|
||||
|
||||
Ant.marker.label = Ant Buildfile Problem
|
||||
|
||||
antImportWizard.name= Existing Ant Buildfile
|
||||
antImportWizard.description= Creates an Eclipse project from an exisiting Ant buildfile in the filesystem.
|
||||
481
TBE/Eclipse/eclipse/plugins/org.eclipse.ant.ui_3.0.1/plugin.xml
Normal file
@@ -0,0 +1,481 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?eclipse version="3.0"?>
|
||||
<plugin
|
||||
id="org.eclipse.ant.ui"
|
||||
name="%pluginName"
|
||||
version="3.0.1"
|
||||
provider-name="%providerName"
|
||||
class="org.eclipse.ant.internal.ui.model.AntUIPlugin">
|
||||
|
||||
<runtime>
|
||||
<library name="antui.jar">
|
||||
<export name="*"/>
|
||||
</library>
|
||||
</runtime>
|
||||
<requires>
|
||||
<import plugin="org.eclipse.ui.ide" optional="true"/>
|
||||
<import plugin="org.eclipse.ui.views" optional="true"/>
|
||||
<import plugin="org.eclipse.jface.text" optional="true"/>
|
||||
<import plugin="org.eclipse.ui.workbench.texteditor" optional="true"/>
|
||||
<import plugin="org.eclipse.ui.editors" optional="true"/>
|
||||
<import plugin="org.apache.ant"/>
|
||||
<import plugin="org.eclipse.ant.core"/>
|
||||
<import plugin="org.eclipse.core.resources"/>
|
||||
<import plugin="org.eclipse.core.filebuffers"/>
|
||||
<import plugin="org.eclipse.core.variables"/>
|
||||
<import plugin="org.eclipse.ui.externaltools"/>
|
||||
<import plugin="org.eclipse.ui"/>
|
||||
<import plugin="org.eclipse.ui.console"/>
|
||||
<import plugin="org.eclipse.debug.core"/>
|
||||
<import plugin="org.eclipse.debug.ui"/>
|
||||
<import plugin="org.eclipse.jdt.ui"/>
|
||||
<import plugin="org.eclipse.jdt.debug.ui"/>
|
||||
<import plugin="org.eclipse.jdt.launching"/>
|
||||
<import plugin="org.eclipse.core.runtime"/>
|
||||
<import plugin="org.eclipse.jdt.core"/>
|
||||
</requires>
|
||||
|
||||
<extension
|
||||
point="org.eclipse.ui.editors">
|
||||
<editor
|
||||
name="%AntEditor.name"
|
||||
icon="icons/full/obj16/ant_buildfile.gif"
|
||||
filenames="build.xml,*.macrodef,*.ent"
|
||||
class="org.eclipse.ant.internal.ui.editor.AntEditor"
|
||||
contributorClass="org.eclipse.ant.internal.ui.editor.AntEditorActionContributor"
|
||||
id="org.eclipse.ant.ui.internal.editor.AntEditor">
|
||||
</editor>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.debug.core.launchConfigurationTypes">
|
||||
<launchConfigurationType
|
||||
name="%AntBuild"
|
||||
delegate="org.eclipse.ant.internal.ui.launchConfigurations.AntLaunchDelegate"
|
||||
category="org.eclipse.ui.externaltools"
|
||||
modes="run"
|
||||
id="org.eclipse.ant.AntLaunchConfigurationType">
|
||||
</launchConfigurationType>
|
||||
<launchConfigurationType
|
||||
name="%AntBuild"
|
||||
delegate="org.eclipse.ant.internal.ui.launchConfigurations.AntLaunchDelegate"
|
||||
category="org.eclipse.ui.externaltools.builder"
|
||||
modes="run"
|
||||
id="org.eclipse.ant.AntBuilderLaunchConfigurationType">
|
||||
</launchConfigurationType>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.jdt.launching.classpathProviders">
|
||||
<classpathProvider
|
||||
class="org.eclipse.ant.internal.ui.launchConfigurations.AntClasspathProvider"
|
||||
id="org.eclipse.ant.ui.AntClasspathProvider">
|
||||
</classpathProvider>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.jdt.launching.runtimeClasspathEntries">
|
||||
<runtimeClasspathEntry
|
||||
class="org.eclipse.ant.internal.ui.launchConfigurations.AntHomeClasspathEntry"
|
||||
id="org.eclipse.ant.ui.classpathentry.antHome">
|
||||
</runtimeClasspathEntry>
|
||||
<runtimeClasspathEntry
|
||||
class="org.eclipse.ant.internal.ui.launchConfigurations.ContributedClasspathEntriesEntry"
|
||||
id="org.eclipse.ant.ui.classpathentry.extraClasspathEntries">
|
||||
</runtimeClasspathEntry>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.ui.views">
|
||||
<category
|
||||
name="%CategoryView.antViews"
|
||||
id="org.eclipse.ant.ui.views">
|
||||
</category>
|
||||
<view
|
||||
name="%View.antView"
|
||||
icon="icons/full/eview16/ant_view.gif"
|
||||
category="org.eclipse.ant.ui.views"
|
||||
fastViewWidthRatio="0.40"
|
||||
class="org.eclipse.ant.internal.ui.views.AntView"
|
||||
id="org.eclipse.ant.ui.views.AntView">
|
||||
</view>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.ui.commands">
|
||||
<command
|
||||
name="%ViewCommand.antView.name"
|
||||
description="%ViewCommand.antView.description"
|
||||
category="org.eclipse.ui.category.views"
|
||||
id="org.eclipse.ant.ui.views.AntView">
|
||||
</command>
|
||||
<keyBinding
|
||||
string=""
|
||||
scope="org.eclipse.ui.globalScope"
|
||||
command="org.eclipse.ant.ui.views.AntView"
|
||||
configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
|
||||
</keyBinding>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.ui.perspectiveExtensions">
|
||||
<perspectiveExtension
|
||||
targetID="org.eclipse.ui.resourcePerspective">
|
||||
<view
|
||||
relative="org.eclipse.ui.views.ContentOutline"
|
||||
visible="false"
|
||||
id="org.eclipse.ant.ui.views.AntView"
|
||||
relationship="stack">
|
||||
</view>
|
||||
<viewShortcut
|
||||
id="org.eclipse.ant.ui.views.AntView">
|
||||
</viewShortcut>
|
||||
</perspectiveExtension>
|
||||
<perspectiveExtension
|
||||
targetID="org.eclipse.jdt.ui.JavaBrowsingPerspective">
|
||||
<view
|
||||
relative="org.eclipse.ui.views.ContentOutline"
|
||||
visible="false"
|
||||
id="org.eclipse.ant.ui.views.AntView"
|
||||
relationship="stack">
|
||||
</view>
|
||||
<viewShortcut
|
||||
id="org.eclipse.ant.ui.views.AntView">
|
||||
</viewShortcut>
|
||||
</perspectiveExtension>
|
||||
<perspectiveExtension
|
||||
targetID="org.eclipse.jdt.ui.JavaPerspective">
|
||||
<view
|
||||
relative="org.eclipse.ui.views.ContentOutline"
|
||||
visible="false"
|
||||
id="org.eclipse.ant.ui.views.AntView"
|
||||
relationship="stack">
|
||||
</view>
|
||||
<viewShortcut
|
||||
id="org.eclipse.ant.ui.views.AntView">
|
||||
</viewShortcut>
|
||||
</perspectiveExtension>
|
||||
<perspectiveExtension
|
||||
targetID="org.eclipse.jdt.ui.JavaHierarchyPerspective">
|
||||
<view
|
||||
relative="org.eclipse.ui.views.ContentOutline"
|
||||
visible="false"
|
||||
id="org.eclipse.ant.ui.views.AntView"
|
||||
relationship="stack">
|
||||
</view>
|
||||
<viewShortcut
|
||||
id="org.eclipse.ant.ui.views.AntView">
|
||||
</viewShortcut>
|
||||
</perspectiveExtension>
|
||||
<perspectiveExtension
|
||||
targetID="org.eclipse.debug.ui.DebugPerspective">
|
||||
<view
|
||||
relative="org.eclipse.ui.views.ContentOutline"
|
||||
visible="false"
|
||||
id="org.eclipse.ant.ui.views.AntView"
|
||||
relationship="stack">
|
||||
</view>
|
||||
<viewShortcut
|
||||
id="org.eclipse.ant.ui.views.AntView">
|
||||
</viewShortcut>
|
||||
</perspectiveExtension>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.ui.preferencePages">
|
||||
<page
|
||||
name="%PreferencePage.antPreferences"
|
||||
class="org.eclipse.ant.internal.ui.preferences.AntPreferencePage"
|
||||
id="org.eclipse.ant.ui.AntPreferencePage">
|
||||
</page>
|
||||
<page
|
||||
name="%PreferencePage.antRuntimePreferences"
|
||||
category="org.eclipse.ant.ui.AntPreferencePage"
|
||||
class="org.eclipse.ant.internal.ui.preferences.AntRuntimePreferencePage"
|
||||
id="org.eclipse.ant.ui.AntRuntimePreferencePage">
|
||||
</page>
|
||||
<page
|
||||
name="%PreferencePage.antEditorPreferences"
|
||||
category="org.eclipse.ant.ui.AntPreferencePage"
|
||||
class="org.eclipse.ant.internal.ui.preferences.AntEditorPreferencePage"
|
||||
id="org.eclipse.ant.ui.AntEditorPreferencePage">
|
||||
</page>
|
||||
<page
|
||||
name="%PreferencePage.antCodeFormatterPreferences"
|
||||
category="org.eclipse.ant.ui.AntEditorPreferencePage"
|
||||
class="org.eclipse.ant.internal.ui.preferences.AntCodeFormatterPreferencePage"
|
||||
id="org.eclipse.ant.ui.AntCodeFormatterPreferencePage">
|
||||
</page>
|
||||
<page
|
||||
name="%PreferencePage.antCodeAssistPreferences"
|
||||
category="org.eclipse.ant.ui.AntEditorPreferencePage"
|
||||
class="org.eclipse.ant.internal.ui.preferences.AntCodeAssistPreferencePage"
|
||||
id="org.eclipse.ant.ui.AntCodeAssistPreferencePage">
|
||||
</page>
|
||||
<page
|
||||
name="%PreferencePage.antTemplatePreferences"
|
||||
category="org.eclipse.ant.ui.AntEditorPreferencePage"
|
||||
class="org.eclipse.ant.internal.ui.editor.templates.AntTemplatePreferencePage"
|
||||
id="org.eclipse.ant.ui.TemplatesPreferencePage">
|
||||
</page>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.ui.popupMenus">
|
||||
<viewerContribution
|
||||
targetID="org.eclipse.ant.internal.ui.editor.AntEditor.RulerContext"
|
||||
id="org.eclipse.ant.internal.ui.editor.AntEditor.RulerContext">
|
||||
<action
|
||||
label="%AddTask.label"
|
||||
helpContextId="org.eclipse.ui.AddTask_action_context"
|
||||
class="org.eclipse.ui.texteditor.TaskRulerAction"
|
||||
tooltip="%AddTask.tooltip"
|
||||
menubarPath="additions"
|
||||
id="org.eclipse.ui.texteditor.TaskRulerAction">
|
||||
</action>
|
||||
<action
|
||||
label="%AddBookmark.label"
|
||||
helpContextId="org.eclipse.ui.bookmark_action_context"
|
||||
class="org.eclipse.ui.texteditor.BookmarkRulerAction"
|
||||
tooltip="%AddBookmark.tooltip"
|
||||
menubarPath="additions"
|
||||
id="org.eclipse.ui.texteditor.BookmarkRulerAction">
|
||||
</action>
|
||||
</viewerContribution>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.ant.core.extraClasspathEntries">
|
||||
<extraClasspathEntry
|
||||
library="lib/antrunner.jar">
|
||||
</extraClasspathEntry>
|
||||
<extraClasspathEntry
|
||||
library="lib/remoteAnt.jar"
|
||||
eclipseRuntime="false">
|
||||
</extraClasspathEntry>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.debug.ui.consoleColorProviders">
|
||||
<consoleColorProvider
|
||||
class="org.eclipse.ant.internal.ui.console.AntConsoleColorProvider"
|
||||
processType="org.eclipse.ant.ui.antProcess"
|
||||
id="org.eclipse.ant.consoleColorProvider">
|
||||
</consoleColorProvider>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.ui.externaltools.configurationDuplicationMaps">
|
||||
<configurationMap
|
||||
sourceType="org.eclipse.ant.AntLaunchConfigurationType"
|
||||
builderType="org.eclipse.ant.AntBuilderLaunchConfigurationType">
|
||||
</configurationMap>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.debug.ui.launchConfigurationTabGroups">
|
||||
<launchConfigurationTabGroup
|
||||
type="org.eclipse.ant.AntLaunchConfigurationType"
|
||||
helpContextId="org.eclipse.ui.externaltools.launchConfigHelpContext.ant"
|
||||
description="%antLaunchConfigurationTabGroup.description"
|
||||
class="org.eclipse.ant.internal.ui.launchConfigurations.AntTabGroup"
|
||||
id="org.eclipse.ant.ui.launchConfigurationTabGroup.ant">
|
||||
</launchConfigurationTabGroup>
|
||||
<launchConfigurationTabGroup
|
||||
type="org.eclipse.ant.AntBuilderLaunchConfigurationType"
|
||||
helpContextId="org.eclipse.ui.externaltools.launchConfigHelpContext.ant_builder"
|
||||
description="%antBuilderLaunchConfigurationTabGroup.description"
|
||||
class="org.eclipse.ant.internal.ui.launchConfigurations.AntBuilderTabGroup"
|
||||
id="org.eclipse.ant.ui.launchConfigurationTabGroup.ant.builder">
|
||||
</launchConfigurationTabGroup>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.debug.ui.launchConfigurationTypeImages">
|
||||
<launchConfigurationTypeImage
|
||||
icon="icons/full/obj16/ant.gif"
|
||||
configTypeID="org.eclipse.ant.AntLaunchConfigurationType"
|
||||
id="org.eclipse.ant.launchConfigurationTypeImage.ant">
|
||||
</launchConfigurationTypeImage>
|
||||
<launchConfigurationTypeImage
|
||||
icon="icons/full/obj16/ant.gif"
|
||||
configTypeID="org.eclipse.ant.AntBuilderLaunchConfigurationType"
|
||||
id="org.eclipse.ant.launchConfigurationTypeImage.ant.builder">
|
||||
</launchConfigurationTypeImage>
|
||||
</extension>
|
||||
<extension point="org.eclipse.core.runtime.adapters">
|
||||
<factory
|
||||
class=""
|
||||
adaptableType="org.eclipse.ant.internal.ui.editor.model.AntTargetNode">
|
||||
<adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
|
||||
</factory>
|
||||
<factory
|
||||
class=""
|
||||
adaptableType="org.eclipse.ant.internal.ui.editor.model.AntProjectNode">
|
||||
<adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
|
||||
</factory>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.debug.ui.launchShortcuts">
|
||||
<shortcut
|
||||
label="%AntLaunchShortcut.label"
|
||||
icon="icons/full/obj16/ant.gif"
|
||||
category="org.eclipse.ui.externaltools"
|
||||
helpContextId="org.eclipse.ui.externaltools.launchShortcutHelpContext.antShortcut"
|
||||
class="org.eclipse.ant.internal.ui.launchConfigurations.AntLaunchShortcut"
|
||||
modes="run"
|
||||
id="org.eclipse.ant.ui.antShortcut">
|
||||
<contextualLaunch>
|
||||
<enablement>
|
||||
<with variable="selection">
|
||||
<count value="1"/>
|
||||
<iterate>
|
||||
<or>
|
||||
<instanceof value="org.eclipse.ant.internal.ui.editor.model.AntElementNode"/>
|
||||
<and>
|
||||
<test property="org.eclipse.debug.ui.matchesPattern" value="*.xml"/>
|
||||
<test property="org.eclipse.debug.ui.matchesContentType" value="org.eclipse.ant.core.antBuildFile"/>
|
||||
</and>
|
||||
</or>
|
||||
</iterate>
|
||||
</with>
|
||||
</enablement>
|
||||
<contextLabel
|
||||
mode="run"
|
||||
label="%AntLaunchShortcut.label"/>
|
||||
</contextualLaunch>
|
||||
</shortcut>
|
||||
<shortcut
|
||||
label="%AntLaunchShortcutWithDialog.label"
|
||||
icon="icons/full/obj16/ant.gif"
|
||||
category="org.eclipse.ui.externaltools"
|
||||
helpContextId="org.eclipse.ui.externaltools.launchShortcutHelpContext.antShortcutWithDialog"
|
||||
class="org.eclipse.ant.internal.ui.launchConfigurations.AntLaunchShortcutWithDialog"
|
||||
modes="run"
|
||||
id="org.eclipse.ant.ui.antShortcutWithDialog">
|
||||
<contextualLaunch>
|
||||
<enablement>
|
||||
<with variable="selection">
|
||||
<count value="1"/>
|
||||
<iterate>
|
||||
<or>
|
||||
<instanceof value="org.eclipse.ant.internal.ui.editor.model.AntElementNode"/>
|
||||
<and>
|
||||
<test property="org.eclipse.debug.ui.matchesPattern" value="*.xml"/>
|
||||
<test property="org.eclipse.debug.ui.matchesContentType" value="org.eclipse.ant.core.antBuildFile"/>
|
||||
</and>
|
||||
</or>
|
||||
</iterate>
|
||||
</with>
|
||||
</enablement>
|
||||
<contextLabel
|
||||
mode="run"
|
||||
label="%AntLaunchShortcutWithDialog.label"/>
|
||||
</contextualLaunch>
|
||||
</shortcut>
|
||||
</extension>
|
||||
<extension point="org.eclipse.core.runtime.adapters">
|
||||
<factory
|
||||
class=""
|
||||
adaptableType="org.eclipse.core.resources.IFile">
|
||||
<adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
|
||||
</factory>
|
||||
</extension>
|
||||
<!-- Console Extensions -->
|
||||
<extension
|
||||
point="org.eclipse.debug.ui.consoleLineTrackers">
|
||||
<consoleLineTracker
|
||||
class="org.eclipse.ant.internal.ui.console.JavacLineTracker"
|
||||
processType="org.eclipse.ant.ui.antProcess"
|
||||
id="org.eclipse.ant.ui.javacLineTracker">
|
||||
</consoleLineTracker>
|
||||
<consoleLineTracker
|
||||
class="org.eclipse.ant.internal.ui.console.TaskLineTracker"
|
||||
processType="org.eclipse.ant.ui.antProcess"
|
||||
id="org.eclipse.ant.ui.taskLineTracker">
|
||||
</consoleLineTracker>
|
||||
<consoleLineTracker
|
||||
class="org.eclipse.ant.internal.ui.console.BuildFailedTracker"
|
||||
processType="org.eclipse.ant.ui.antProcess"
|
||||
id="org.eclipse.ant.ui.buildFailedTracker">
|
||||
</consoleLineTracker>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.debug.core.statusHandlers">
|
||||
<statusHandler
|
||||
code="1000"
|
||||
plugin="org.eclipse.ant.ui"
|
||||
class="org.eclipse.ant.internal.ui.launchConfigurations.RunAntStatusHandler"
|
||||
id="org.eclipse.ant.ui.statusHandler.runAntInit">
|
||||
</statusHandler>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.debug.core.processFactories">
|
||||
<processFactory
|
||||
class="org.eclipse.ant.internal.ui.launchConfigurations.RemoteAntProcessFactory"
|
||||
id="org.eclipse.ant.ui.remoteAntProcessFactory">
|
||||
</processFactory>
|
||||
</extension>
|
||||
|
||||
<extension
|
||||
point="org.eclipse.ui.editors.templates">
|
||||
<contextType
|
||||
name="%buildFile.contextType.name"
|
||||
class="org.eclipse.ant.internal.ui.editor.templates.BuildFileContextType"
|
||||
id="org.eclipse.ant.ui.templateContextType.buildFile">
|
||||
</contextType>
|
||||
<contextType
|
||||
name="%task.contextType.name"
|
||||
class="org.eclipse.ant.internal.ui.editor.templates.TaskContextType"
|
||||
id="org.eclipse.ant.ui.templateContextType.task">
|
||||
</contextType>
|
||||
<resolver
|
||||
name="%ant.resolvers.src"
|
||||
type="src"
|
||||
icon="templates/resolver.gif"
|
||||
description="%ant.resolvers.src.description"
|
||||
contextTypeId="org.eclipse.ant.ui.templateContextType.XML"
|
||||
class="org.eclipse.ant.internal.ui.editor.templates.AntVariableResolver">
|
||||
</resolver>
|
||||
<resolver
|
||||
name="%ant.resolvers.dst"
|
||||
type="dst"
|
||||
icon="templates/resolver.gif"
|
||||
description="%ant.resolvers.dst.description"
|
||||
contextTypeId="org.eclipse.ant.ui.templateContextType.XML"
|
||||
class="org.eclipse.ant.internal.ui.editor.templates.AntVariableResolver">
|
||||
</resolver>
|
||||
<include
|
||||
file="templates/ant.xml"
|
||||
translations="$nl$/templates/ant.properties">
|
||||
</include>
|
||||
</extension>
|
||||
|
||||
<extension id="buildFileProblem" name="%Ant.marker.label" point="org.eclipse.core.resources.markers">
|
||||
<super type="org.eclipse.core.resources.problemmarker" />
|
||||
<persistent value="true" />
|
||||
</extension>
|
||||
|
||||
<extension
|
||||
point="org.eclipse.ui.importWizards">
|
||||
<wizard
|
||||
id="org.eclipse.ant.internal.ui.import"
|
||||
name="%antImportWizard.name"
|
||||
class="org.eclipse.ant.internal.ui.datatransfer.AntBuildfileImportWizard"
|
||||
icon="icons/full/obj16/ant.gif">
|
||||
<description>
|
||||
%antImportWizard.description
|
||||
</description>
|
||||
</wizard>
|
||||
</extension>
|
||||
|
||||
<extension
|
||||
id="org.eclipse.ant.ui.AntDocumentFactory"
|
||||
name="%antDocumentFactory.name"
|
||||
point="org.eclipse.core.filebuffers.documentCreation">
|
||||
<factory
|
||||
extensions="xml, ent, macrodef"
|
||||
contentTypeId="org.eclipse.ant.core.antBuildFile"
|
||||
class="org.eclipse.ant.internal.ui.editor.text.AntDocumentFactory">
|
||||
</factory>
|
||||
</extension>
|
||||
|
||||
<extension
|
||||
id="org.eclipse.ant.ui.AntDocumentSetupParticipant"
|
||||
name="%antDocumentSetupParticipant.name"
|
||||
point="org.eclipse.core.filebuffers.documentSetup">
|
||||
<participant
|
||||
extensions="xml, ent, macrodef"
|
||||
contentTypeId="org.eclipse.ant.core.antBuildFile"
|
||||
class="org.eclipse.ant.internal.ui.editor.text.AntDocumentSetupParticipant">
|
||||
</participant>
|
||||
</extension>
|
||||
|
||||
</plugin>
|
||||
@@ -0,0 +1,23 @@
|
||||
###############################################################################
|
||||
# Copyright (c) 2000, 2004 IBM Corporation and others.
|
||||
# All rights reserved. This program and the accompanying materials
|
||||
# are made available under the terms of the Common Public License v1.0
|
||||
# which accompanies this distribution, and is available at
|
||||
# http://www.eclipse.org/legal/cpl-v10.html
|
||||
#
|
||||
# Contributors:
|
||||
# IBM Corporation - initial API and implementation
|
||||
###############################################################################
|
||||
|
||||
filesetTemplate1.description= fileset type with include clause
|
||||
targetTemplate1.description= public target
|
||||
targetTemplate2.description= private target
|
||||
propertyTemplate1.description= property with name and location
|
||||
propertyTemplate2.description= property with name and value
|
||||
macrodefTemplate.description= macrodef with a single attribute
|
||||
deleteTemplate1.description= delete files in a fileset
|
||||
deleteTemplate2.description= delete files in a referenced fileset
|
||||
|
||||
javacTemplate1.description= add a javac task
|
||||
buildFileTemplate1.name= Buildfile template
|
||||
buildFileTemplate1.description= simple buildfile with two targets
|
||||
@@ -0,0 +1,164 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
/*******************************************************************************
|
||||
* Copyright (c) 2000, 2004 IBM Corporation and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Common Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
* http://www.eclipse.org/legal/cpl-v10.html
|
||||
*
|
||||
* Contributors:
|
||||
* IBM Corporation - initial API and implementation
|
||||
*******************************************************************************/
|
||||
-->
|
||||
|
||||
<templates>
|
||||
|
||||
<template
|
||||
context="org.eclipse.ant.ui.templateContextType.task"
|
||||
description="%javacTemplate1.description"
|
||||
id="org.eclipse.ant.ui.templates.javac1"
|
||||
name="javac"><javac srcdir="${src}"
|
||||
destdir="${dst}"
|
||||
classpath="${jarfile}"
|
||||
debug="${on}"
|
||||
/>${cursor}</template>
|
||||
|
||||
<template
|
||||
context="org.eclipse.ant.ui.templateContextType.task"
|
||||
description="%filesetTemplate1.description"
|
||||
id="org.eclipse.ant.ui.templates.fileset1"
|
||||
name="fileset"><![CDATA[
|
||||
<fileset dir="${dir}" id="${id}">
|
||||
<include name="${include}"/>
|
||||
<exclude name="${exclude}"/>
|
||||
</fileset>
|
||||
${cursor}
|
||||
]]>
|
||||
</template>
|
||||
|
||||
<template
|
||||
context="org.eclipse.ant.ui.templateContextType.task"
|
||||
description="%deleteTemplate1.description"
|
||||
id="org.eclipse.ant.ui.templates.delete1"
|
||||
name="delete"><![CDATA[
|
||||
<delete>
|
||||
<fileset dir="${dir}">
|
||||
<include name="${include}"/>
|
||||
<exclude name="${exclude}"/>
|
||||
</fileset>
|
||||
</delete>
|
||||
${cursor}
|
||||
]]>
|
||||
</template>
|
||||
|
||||
<template
|
||||
context="org.eclipse.ant.ui.templateContextType.task"
|
||||
description="%deleteTemplate2.description"
|
||||
id="org.eclipse.ant.ui.templates.delete2"
|
||||
name="delete"><![CDATA[
|
||||
<delete>
|
||||
<fileset refid="${cursor}"/>
|
||||
</delete>
|
||||
]]>
|
||||
</template>
|
||||
|
||||
|
||||
|
||||
<template
|
||||
context="org.eclipse.ant.ui.templateContextType.task"
|
||||
description="%propertyTemplate1.description"
|
||||
id="org.eclipse.ant.ui.templates.property1"
|
||||
name="property"><property name="${name}" location="${location}"/>
|
||||
</template>
|
||||
|
||||
<template
|
||||
context="org.eclipse.ant.ui.templateContextType.task"
|
||||
description="%propertyTemplate2.description"
|
||||
id="org.eclipse.ant.ui.templates.property2"
|
||||
name="property"><property name="${name}" value="${value}"/>
|
||||
</template>
|
||||
|
||||
|
||||
<template
|
||||
context="org.eclipse.ant.ui.templateContextType.task"
|
||||
description="%targetTemplate1.description"
|
||||
id="org.eclipse.ant.ui.templates.target1"
|
||||
name="target"><![CDATA[
|
||||
<!-- =================================
|
||||
target: ${name}
|
||||
================================= -->
|
||||
<target name="${name}" depends="${depends}" description="--> ${description}">
|
||||
${cursor}
|
||||
</target>
|
||||
]]>
|
||||
</template>
|
||||
|
||||
<template
|
||||
context="org.eclipse.ant.ui.templateContextType.task"
|
||||
description="%targetTemplate2.description"
|
||||
id="org.eclipse.ant.ui.templates.target2"
|
||||
name="target"><![CDATA[
|
||||
<!-- - - - - - - - - - - - - - - - - -
|
||||
target: ${name}
|
||||
- - - - - - - - - - - - - - - - - -->
|
||||
<target name="${name}">
|
||||
${cursor}
|
||||
</target>
|
||||
]]>
|
||||
</template>
|
||||
|
||||
<template
|
||||
context="org.eclipse.ant.ui.templateContextType.task"
|
||||
description="%macrodefTemplate.description"
|
||||
id="org.eclipse.ant.ui.templates.macrodef"
|
||||
name="macrodef"><![CDATA[
|
||||
<!-- = = = = = = = = = = = = = = = = =
|
||||
macrodef: ${name}
|
||||
= = = = = = = = = = = = = = = = = -->
|
||||
<macrodef name="${name}">
|
||||
<attribute name="${argname}" default="${default}" />
|
||||
<sequential>
|
||||
${cursor}
|
||||
</sequential>
|
||||
</macrodef>
|
||||
]]>
|
||||
</template>
|
||||
|
||||
<template
|
||||
context="org.eclipse.ant.ui.templateContextType.buildFile"
|
||||
description="%buildFileTemplate1.description"
|
||||
id="org.eclipse.ant.ui.templates.buildFile1"
|
||||
name="%buildFileTemplate1.name"><![CDATA[<?xml version="1.0"?>
|
||||
<!-- ======================================================================
|
||||
${date} ${time}
|
||||
|
||||
${project}
|
||||
${description}
|
||||
|
||||
${user}
|
||||
====================================================================== -->
|
||||
<project name="${project}" default="${default}">
|
||||
<description>
|
||||
${description}
|
||||
</description>
|
||||
|
||||
<!-- =================================
|
||||
target: ${default}
|
||||
================================= -->
|
||||
<target name="${default}" depends="${depends}" description="--> ${description}">
|
||||
${cursor}
|
||||
</target>
|
||||
|
||||
<!-- - - - - - - - - - - - - - - - - -
|
||||
target: ${depends}
|
||||
- - - - - - - - - - - - - - - - - -->
|
||||
<target name="${depends}">
|
||||
</target>
|
||||
|
||||
</project>
|
||||
]]>
|
||||
</template>
|
||||
|
||||
</templates>
|
||||
|
After Width: | Height: | Size: 986 B |