Associate *.git* files with TextEditor
Builded against Indigo and tested in Kepler.
<editor
class="org.eclipse.ui.editors.text.TextEditor"
contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
default="true"
extensions="gitignore,gitmodules,gitattributes"
icon="icons/git.ico"
id="org.eclipse.ui.DefaultTextEditor"
name="Text Editor">
</editor>
I got tired of Eclipse opening .gitignore in external Editor and Eclipse crashes when changing files associations.
Bug 412518 - Changing file associations causes Eclipse Kepler to crash (was .gitignore value causes Eclipse crash)
.gitattributes file will not be used by EGit, see open Bug 342372 - support gitattributes
- In Eclipse import.. Git
- as New general project
- right-click import Existing Maven projects
mvn packagenpm install http-server -ghttp-server gitaddon.site\target\repository -p 8010- start http://localhost:8010/
- // navigate
http://localhost:8010/in browser to check - Help->Install New Software, enter http://localhost:8010/ in Work With
Run offline if to re-build
mvn -o package
check issues
Created with Open-Archetypes
http://code.google.com/p/open-archetypes/
mvn archetype:generate -DarchetypeCatalog=http://open-archetypes.github.io/maven-repo/snapshots/
or with Eclipse
Please be careful if you use Nexus
For kepler update MANIFEST.MF as below in .test project (see #3)
Require-Bundle: org.eclipse.jdt.junit4.runtime;bundle-version="1.1.0", org.junit;bundle-version="4.11.0"
MIT License was chosen at http://choosealicense.com/
http://www.xiconeditor.com/ Online Icon Editor
Thanks to Bananeweizen for help.
Not used here, but you also may be interested in A Maven Archetype for Hadoop Jobs

