Skip to contentSkip to conversation

Add feature and plugin.

PATCH In review Ben Konrath 3 participants 4 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add feature and plugin.

Hi,

I made a feature and associated branding plugin for Egit. Including these two plugins allows us to build Egit for Fedora but it also makes it easy to create an update site for Egit. These two plugins also add an entry for Egit in Help -> About Eclipse -> Feature Details.

This is an updated version of the patch that I originally sent privately to Robin Rosenberg. Comments are appreciated.

Cheers, Ben

---
 org.spearce.egit-feature/.project         |   17 +++++++++
 org.spearce.egit-feature/build.properties |    1 +
 org.spearce.egit-feature/feature.xml      |   51 +++++++++++++++++++++++++++++
 org.spearce.egit/.classpath               |    6 +++
 org.spearce.egit/.project                 |   28 ++++++++++++++++
 org.spearce.egit/META-INF/MANIFEST.MF     |    7 ++++
 org.spearce.egit/about.ini                |   28 ++++++++++++++++
 org.spearce.egit/build.properties         |    3 ++
 org.spearce.egit/egit.png                 |  Bin 0 -> 226 bytes
 9 files changed, 141 insertions(+), 0 deletions(-)
 create mode 100644 org.spearce.egit-feature/.project
 create mode 100644 org.spearce.egit-feature/build.properties
 create mode 100644 org.spearce.egit-feature/feature.xml
 create mode 100644 org.spearce.egit/.classpath
 create mode 100644 org.spearce.egit/.project
 create mode 100644 org.spearce.egit/META-INF/MANIFEST.MF
 create mode 100644 org.spearce.egit/about.ini
 create mode 100644 org.spearce.egit/build.properties
 create mode 100644 org.spearce.egit/egit.png
org.spearce.egit-feature/.project new file +17 -0
new file mode 100644
index 0000000..dac8f65
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>org.spearce.egit-feature</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.pde.FeatureBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.pde.FeatureNature</nature>
+	</natures>
+</projectDescription>
org.spearce.egit-feature/build.properties new file +1 -0
new file mode 100644
index 0000000..64f93a9
@@ -0,0 +1 @@
+bin.includes = feature.xml
org.spearce.egit-feature/feature.xml new file +51 -0

51 lines not on this page · raw message

org.spearce.egit/.classpath new file +6 -0
new file mode 100644
index 0000000..acad1c2
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>
org.spearce.egit/.project new file +28 -0
new file mode 100644
index 0000000..bbdc4e3
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>org.spearce.egit</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<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>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>
org.spearce.egit/META-INF/MANIFEST.MF new file +7 -0
new file mode 100644
index 0000000..40da4e0
@@ -0,0 +1,7 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Java Git / Eclipse Git
+Bundle-SymbolicName: org.spearce.egit
+Bundle-Version: 0.2.2
+Bundle-Vendor: spearce.org
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
org.spearce.egit/about.ini new file +28 -0
new file mode 100644
index 0000000..dcab31a
@@ -0,0 +1,28 @@
+# about.ini
+# contains information about a feature
+# 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=Java Git / Eclipse Git (by Shawn Pearce) is a Java Git library and plugin for the Eclipse IDE.
+
+# Property "windowImage" contains path to window icon (16x16)
+# needed for primary features only
+
+# Property "featureImage" contains path to feature image (32x32)
+featureImage=egit.png
+
+# Property "aboutImage" contains path to product image (500x330 or 115x164)
+# needed for primary features only
+
+# Property "appName" contains name of the application (not translated)
+# needed for primary features only
+
+# Property "welcomePerspective" contains the id of the perspective in which the
+# welcome page is to be opened.
+# optional
+
+# Property "tipsAndTricksHref" contains the Help topic href to a tips and tricks page 
+# optional
+# tipsAndTricksHref=/org.eclipse.jdt.doc.user/tips/jdt_tips.html
\ No newline at end of file
org.spearce.egit/build.properties new file +3 -0
new file mode 100644
index 0000000..22d4e45
@@ -0,0 +1,3 @@
+bin.includes = META-INF/,\
+               egit.png,\
+               about.ini
org.spearce.egit/egit.png new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..6782d4ab9b757aaa2c3d5edad42215ea02456836
GIT binary patch
Signature · 1 line
1.5.2.4
#1 lore raw
Quoted 11 lines · Ben Konrath

Hi,

I made a feature and associated branding plugin for Egit. Including these two plugins allows us to build Egit for Fedora but it also makes it easy to create an update site for Egit.

These two plugins also add an
entry for Egit in Help -> About Eclipse -> Feature Details.

When you start writing "also" in your commit messages, it's a pretty good sign that you should have made many smaller commits rathern than one large.

Aside from that, I don't know enough about eclipse, java or xml to be of any assistance, although I appreciate the efforts put into this.

Signature · 3 lines
Andreas Ericsson                   [email protected]
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
#2 lore raw
Quoted 9 lines · Andreas Ericsson
Quoted 5 lines · Ben Konrath

Hi,

I made a feature and associated branding plugin for Egit. Including these two plugins allows us to build Egit for Fedora but it also makes it easy to create an update site for Egit.

Quoted 6 lines
Quoted 3 lines

These two plugins also add an
entry for Egit in Help -> About Eclipse -> Feature Details.

When you start writing "also" in your commit messages, it's a pretty good sign that you should have made many smaller commits rathern than one large.

Ok thanks. I think that I could have split this up into two commits. I'll take that into consideration for future work.

Cheers, Ben

#3 lore raw
In reply to Andreas Ericsson

tisdag 18 september 2007 skrev Andreas Ericsson:

Quoted 9 lines
Quoted 5 lines · Ben Konrath

Hi,

I made a feature and associated branding plugin for Egit. Including these two plugins allows us to build Egit for Fedora but it also makes it easy to create an update site for Egit.

Quoted 6 lines
Quoted 3 lines

These two plugins also add an
entry for Egit in Help -> About Eclipse -> Feature Details.

When you start writing "also" in your commit messages, it's a pretty good sign that you should have made many smaller commits rathern than one large.

Seems it is a hint about what can be done later. That's generally something to put in cover messages.

The ability to create an update site encouraged me to create one too. It makes updating all my eclipses much easier. Thanks Ben.

I've merged and pushed the earlier version before receiving this version whose content comes as a follow up commit.

-- robin