share template plugin
diff --git a/plugins/org.eclipse.wtp.feature.branding.template/.project b/plugins/org.eclipse.wtp.feature.branding.template/.project
new file mode 100644
index 0000000..1658d71
--- /dev/null
+++ b/plugins/org.eclipse.wtp.feature.branding.template/.project
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.wtp.feature.branding.template</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ </natures>
+</projectDescription>
diff --git a/plugins/org.eclipse.wtp.feature.branding.template/.settings/org.eclipse.pde.core.prefs b/plugins/org.eclipse.wtp.feature.branding.template/.settings/org.eclipse.pde.core.prefs
new file mode 100644
index 0000000..273fac6
--- /dev/null
+++ b/plugins/org.eclipse.wtp.feature.branding.template/.settings/org.eclipse.pde.core.prefs
@@ -0,0 +1,4 @@
+#Fri May 22 23:48:53 EDT 2009
+eclipse.preferences.version=1
+pluginProject.extensions=false
+resolve.requirebundle=false
diff --git a/plugins/org.eclipse.wtp.feature.branding.template/META-INF/MANIFEST.MF b/plugins/org.eclipse.wtp.feature.branding.template/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..de96b88
--- /dev/null
+++ b/plugins/org.eclipse.wtp.feature.branding.template/META-INF/MANIFEST.MF
@@ -0,0 +1,6 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %Bundle-Name
+Bundle-SymbolicName: org.eclipse.wtp.feature.branding.template
+Bundle-Version: 1.0.0.qualifier
+Bundle-Vendor: %Bundle-Vendor
diff --git a/plugins/org.eclipse.wtp.feature.branding.template/OSGI-INF/l10n/bundle.properties b/plugins/org.eclipse.wtp.feature.branding.template/OSGI-INF/l10n/bundle.properties
new file mode 100644
index 0000000..5000ade
--- /dev/null
+++ b/plugins/org.eclipse.wtp.feature.branding.template/OSGI-INF/l10n/bundle.properties
@@ -0,0 +1,3 @@
+#Properties file for org.eclipse.wtp.branding
+Bundle-Name = [fill in same name as feature here]
+Bundle-Vendor = Eclipse Web Tools Platform
\ No newline at end of file
diff --git a/plugins/org.eclipse.wtp.feature.branding.template/about.html b/plugins/org.eclipse.wtp.feature.branding.template/about.html
new file mode 100644
index 0000000..31cec0d
--- /dev/null
+++ b/plugins/org.eclipse.wtp.feature.branding.template/about.html
@@ -0,0 +1,34 @@
+<!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">
+
+<H3>About This Content</H3>
+
+<P>June, 2009</P>
+
+<H3>License</H3>
+
+<P>The Eclipse Foundation 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 Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from the Eclipse Foundation, the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributors license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
+
+</BODY>
+</HTML>
diff --git a/plugins/org.eclipse.wtp.feature.branding.template/about.ini b/plugins/org.eclipse.wtp.feature.branding.template/about.ini
new file mode 100644
index 0000000..59627e0
--- /dev/null
+++ b/plugins/org.eclipse.wtp.feature.branding.template/about.ini
@@ -0,0 +1,12 @@
+# about.ini
+# contains information about a feature
+# Be sure the featureImage points to the feature image file in your feature-branding plugin
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# "%key" are externalized strings defined in about.properties
+# This file does not need to be translated.
+
+# Property "aboutText" contains blurb for "About" dialog (translated)
+aboutText=%blurb
+
+# Property "featureImage" contains path to feature image (32x32)
+featureImage=icons/WTP_icon_x32_v2.png
diff --git a/plugins/org.eclipse.wtp.feature.branding.template/about.mappings b/plugins/org.eclipse.wtp.feature.branding.template/about.mappings
new file mode 100644
index 0000000..eef1f92
--- /dev/null
+++ b/plugins/org.eclipse.wtp.feature.branding.template/about.mappings
@@ -0,0 +1,14 @@
+# about.mappings
+# contains fill-ins for about.properties
+# Note: this is only "filled in" when doing a WTP batch build,
+# not when doing a dev. build from a workbench.
+# If you want the "build id" to display some value in that case,
+# you'd have to manually edit this file, to look like, say
+# 0=20091223
+# in your local version.
+# In the WTP batch build, @build@ is replaced with time stamp of current build
+# which should match the time stamp on download page and zip files.
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file does not need to be translated.
+
+0=@build@
\ No newline at end of file
diff --git a/plugins/org.eclipse.wtp.feature.branding.template/about.properties b/plugins/org.eclipse.wtp.feature.branding.template/about.properties
new file mode 100644
index 0000000..0fe4c2d
--- /dev/null
+++ b/plugins/org.eclipse.wtp.feature.branding.template/about.properties
@@ -0,0 +1,29 @@
+###############################################################################
+# Copyright (c) 2005, 2009 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
+###############################################################################
+
+# about.properties
+# contains externalized strings for about.ini
+# When added for feature branding, be sure to fill in (replace) the parts in
+# square brackets.
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# fill-ins are supplied by about.mappings
+# This file should be translated.
+
+blurb=[provide 'feature name' here]\n\
+\n\
+Version: {featureVersion}\n\
+Build id: {0}\n\
+\n\
+[Provide short description of feature and functions provided here. Up do, approximately
+200 characters or so]
+\n\
+(c) Copyright Eclipse contributors and others 2005, 2009. All rights reserved.\n\
+Visit http://www.eclipse.org/webtools
diff --git a/plugins/org.eclipse.wtp.feature.branding.template/build.properties b/plugins/org.eclipse.wtp.feature.branding.template/build.properties
new file mode 100644
index 0000000..9783e5a
--- /dev/null
+++ b/plugins/org.eclipse.wtp.feature.branding.template/build.properties
@@ -0,0 +1,9 @@
+bin.includes = META-INF/,\
+ OSGI-INF/,\
+ about.html,\
+ about.ini,\
+ about.mappings,\
+ about.properties,\
+ build.properties,\
+ icons/,\
+ OSGI-INF/l10n/
diff --git a/plugins/org.eclipse.wtp.feature.branding.template/featureImage/wtp_feature.png b/plugins/org.eclipse.wtp.feature.branding.template/featureImage/wtp_feature.png
new file mode 100644
index 0000000..6832b65
--- /dev/null
+++ b/plugins/org.eclipse.wtp.feature.branding.template/featureImage/wtp_feature.png
Binary files differ
diff --git a/plugins/org.eclipse.wtp.feature.branding.template/icons/WTP_icon_x32_v2.png b/plugins/org.eclipse.wtp.feature.branding.template/icons/WTP_icon_x32_v2.png
new file mode 100644
index 0000000..6f09c2a
--- /dev/null
+++ b/plugins/org.eclipse.wtp.feature.branding.template/icons/WTP_icon_x32_v2.png
Binary files differ
diff --git a/plugins/org.eclipse.wtp.feature.branding.template/stepByStepInstructions.txt b/plugins/org.eclipse.wtp.feature.branding.template/stepByStepInstructions.txt
new file mode 100644
index 0000000..f5e8a31
--- /dev/null
+++ b/plugins/org.eclipse.wtp.feature.branding.template/stepByStepInstructions.txt
@@ -0,0 +1,75 @@
+
+
+This template bundle is just to help other turn their own bundle into a "feature branding bundle".
+
+It should never be built or used directly.
+
+The files here could be provided as a seperate bundle, whose sole purpose
+is to provide branding information, or (usually better) can be merged in
+with an existing bundle that is always 'included' with the feature to be branded.
+
+steps:
+
+feature.xml
+
+ pick one of the main plugins in that feature and list as "plugin=xxxx" attribute of feature element.
+
+ specify an 'image' file (optional)
+ Can provide a feature install/update image that is used in some install scenerios
+ (not currently used by P2). See
+ http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/misc/feature_manifest.html
+ NOTE: the wtp feature image provided in this template bundle would need to be copied to the root of your
+ feature.
+
+feature.properties
+
+ Be sure the provider name is "Eclipse Web Tools Platform"
+
+in plugin (that you choose above):
+
+ add/copy following files
+
+
+ about.ini
+ about.properties
+ about.mappings
+
+ Those three about.* files should go in root of plugin
+
+ WTP_icon_x32_v2.png
+
+ Often best to put this icon file in icons/WTP_icon_x32_v2.png.
+ but can go anywhere, as long as matches 'featureImage' in about.ini
+
+ edit:
+
+ about.ini:
+
+ make sure the 'featureImage' is correct for where you put the icon file
+
+ about.properties:
+
+ Edit the lines in square brackets.
+ The first line, at least, needs to be changed to match your feature name.
+ And add/edit any other information you think important to describe the feature.
+
+ about.mappings
+
+ no real changes needed (if using standard one). This file has a token
+ 0=@build@
+ were the @build@ is replaced during our WTP batch production builds with the build timestamp
+
+ build.properties:
+
+ make sure the icon file and all three about.* files are included in bin.includes statement
+
+ plugin.properties:
+
+ a. be sure provider name is "Eclipse Web Tools Platform"
+
+ b. change the plugin name to be the same as the feature name, or, at least something
+ meaningful in that context,
+ which is usually not (old) the plugin name itself, if an existing plugin.
+ (see bug 277594 if interested in the odd design, or bug?)
+
+