Skip to content

Commit

Permalink
Changed .gitignore to ignore all files in .settings except
Browse files Browse the repository at this point in the history
for the ones that we want to preserve, to ensure a common
coding style between IDEA and Eclipse
  • Loading branch information
clintongormley committed Sep 13, 2013
1 parent d66d326 commit a6fffae
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ docs/html/
docs/build.log

## eclipse ignores (use 'mvn eclipse:eclipse' to build eclipse projects)
## The only configuration files which are not ignored are .settings since
## these files ensure common coding style across Eclipse and IDEA
## The only configuration files which are not ignored are certain files in
## .settings (as listed below) since these files ensure common coding
## style across Eclipse and IDEA.
## Other files (.project, .classpath) should be generated through Maven which
## will correctly set the classpath based on the declared dependencies.
.project
Expand All @@ -22,7 +23,10 @@ eclipse-build
*/.project
*/.classpath
*/eclipse-build
/.settings/org.eclipse.m2e.*
/.settings/
!/.settings/org.eclipse.core.resources.prefs
!/.settings/org.eclipse.jdt.core.prefs
!/.settings/org.eclipse.jdt.ui.prefs

## netbeans ignores
nb-configuration.xml
Expand Down

0 comments on commit a6fffae

Please sign in to comment.