Bug 351525 - [patch] Build PDE Core Ant tasks using workspace builder
diff --git "a/ui/org.eclipse.pde.core/.externalToolBuilders/org.eclipse.pde.core localbuild.xml \133Builder\135.launch" "b/ui/org.eclipse.pde.core/.externalToolBuilders/org.eclipse.pde.core localbuild.xml \133Builder\135.launch"
new file mode 100644
index 0000000..9ec8da3
--- /dev/null
+++ "b/ui/org.eclipse.pde.core/.externalToolBuilders/org.eclipse.pde.core localbuild.xml \133Builder\135.launch"
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ Copyright (c) 2011 IBM Corporation and others.
+ 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
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ IBM Corporation - initial API and implementation
+ -->
+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="workspaceBinaries,"/>
+<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="workspaceBinaries,"/>
+<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.pde.core"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/org.eclipse.pde.core/localbuild.xml}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
+</launchConfiguration>
diff --git a/ui/org.eclipse.pde.core/.gitignore b/ui/org.eclipse.pde.core/.gitignore
new file mode 100644
index 0000000..bca6136
--- /dev/null
+++ b/ui/org.eclipse.pde.core/.gitignore
@@ -0,0 +1 @@
+/ant_tasks
diff --git a/ui/org.eclipse.pde.core/.project b/ui/org.eclipse.pde.core/.project
index 985f436..0389dfa 100644
--- a/ui/org.eclipse.pde.core/.project
+++ b/ui/org.eclipse.pde.core/.project
@@ -21,6 +21,16 @@
</arguments>
</buildCommand>
<buildCommand>
+ <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>LaunchConfigHandle</key>
+ <value><project>/.externalToolBuilders/org.eclipse.pde.core localbuild.xml [Builder].launch</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
<name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
<arguments>
</arguments>
diff --git a/ui/org.eclipse.pde.core/localbuild.xml b/ui/org.eclipse.pde.core/localbuild.xml
new file mode 100644
index 0000000..51ae781
--- /dev/null
+++ b/ui/org.eclipse.pde.core/localbuild.xml
Binary files differ