Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-04-11silence PDE warning "not all packages exported"Michael Keppler1-0/+34
Since 2019-03 PDE shows a warning in each plugin which does not export all its packages. Let us silence this warning in all test bundles. Change-Id: I4b9bbf8dccc5ab9976d415988616013ebdb79fb6 Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
2019-04-08upgrade jdt preferencesMichael Keppler2-1/+43
Upgrade JDT preferences to current versions (by means of browsing the project preference pages). There are no changes in preference values. Change-Id: I50367fba1b83d7d2ff5d4f08b1eb4bc37e94288a Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
2018-10-15Releng: Store all project settings explicitlyMichael Keppler3-3/+65
We use project specific properties in many projects. However, the files containing them are old, therefore they do not contain all the keys and values that have been added in newer Eclipse releases. This change makes all those missing settings explicit. All project properties have been opened in the UI and the "Apply" button has been used without changing any controls. We should therefore see only additions in the diff, no changes in values. The main intention of this change is to reduce the noise for actual changes of settings which are intended to be applied afterwards. If that is accepted, I will do the same on jgit and egit-github. The removal of JDT settings in org.eclipse.egit is intentional. That is a PDE project without Java nature. Change-Id: I1b6d56b2f38e85ec8842076a1aa462a990d09f3f Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
2018-09-23Fix Mylyn commit message templateMichael Keppler1-1/+1
The commit message template contains a superfluous blank at the end of the first line, which is deleted by this change. This is only relevant for egit contributors, not for egit users. Change-Id: I2ebaefe80ecaf5a9373575ec7ebdca7201af3e0d Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
2017-08-31[releng] Remove "always use braces" from Eclipse save actionsThomas Wolf1-1/+1
The setting applies to the full file, not just the edited lines, and would thus lead to many edits unrelated to a change, increasing the potential for unnecessary conflicts. Change-Id: I25452f72a4164fbdd951ae9d38f689f8dffd73ab Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
2017-08-26Enhance Eclipse save actionsMatthias Sohn1-7/+7
Add the following Eclipse save actions executed when saving modified lines. This should help to reduce manual work needed to maintain a clean and consistent code style: - organize imports - always use braces around blocks - add missing @Deprecated annotations - remove - unused imports - unnecessary $NON-NLS$ tags - redundant type arguments Change-Id: I66a459421b954752232d8c0031ffcec36ae20ec5 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2017-03-16Configure Eclipse to ignore "Unused exception parameter" in testsDavid Pursehouse1-0/+1
Change-Id: I554c3760f2abcb665a13d7696e26341b5c60d5df Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2016-09-20Change EGit minimum execution environment to JavaSE-1.8Matthias Sohn1-3/+3
Bug: 500059 JGit-Dependency: I47f3f6749a67da52029f84e002d9b155ed56d2b7 Change-Id: I7c13a9617fb32774842dc146dab564d15d5033af Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2015-09-21Use save action to add missing @Override annotations on saveMatthias Sohn1-3/+9
Change-Id: I3c55808a0279ac10a23be40739306259091037d8 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2015-02-10Set minimum required Java version to Java 7Matthias Sohn1-3/+3
Also update the installation instructions. Bug: 458476 Change-Id: I7a2b20bb7d5ec71d63feeb068078bc4a94fa2f24 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2013-01-07Use compiler settings from JGit (mostly)Robin Rosenberg3-7/+111
Change-Id: Id594dc712bf08d8b04e9340ab154b897b95d0819
2012-07-08Enforce the use of Java5 API:s only (with a few exceptions)Robin Rosenberg1-0/+94
This only works with Eclipse 3.6 and newer and requires installation of new package. Documentation is not very good, but there is a blog about it here: http://eclipseandjazz.blogspot.com/2011/10/of-invalid-references-to-system.html API checking is especially useful on OS X where Java5 is not readily available. Change-Id: I574e8c8b2e1b4cad2675b482268cdc98b35da38a
2012-07-03Don't treat optional problems like fatal errorsDani Megert1-1/+34
Change-Id: I21a0a988e32cf0876945e0cd511ed6bafc9c4740 Signed-off-by: Dani Megert <Daniel_Megert@ch.ibm.com>
2012-04-27Revert "Save Actions for removing braces of one-line statements"Robin Stocker1-55/+0
This reverts commit f95c105980fc8dc1c356665bb796f256d62bf1ca. The problem with the save action is that it also results in removed braces for the if in the following example: if (foo) try { bar(); } finally { baz(); } Which, altough it's a single statement, isn't recommended because it's longer than one line and confusing. See I1279030286ef177f3360ff70660a9365e4f3119a for the exact reasons. Change-Id: I4564e3d312fe3663d22ac784de83408509275219 Signed-off-by: Robin Stocker <robin@nibor.org>
2012-01-22Save Actions for removing braces of one-line statementsRobin Stocker1-0/+55
The EGit/JGit code style is to write the following: if (cond) { doSomething(); } as follows: if (cond) doSomething(); As this may need getting used to and as it comes up frequently in reviews, automate it by configuring it as a Java Editor Save Action on the projects. Change-Id: I9e998aa40f50bfa13a1d9887d267e0ecc9833ec9 Signed-off-by: Robin Stocker <robin@nibor.org>
2011-09-05Use commit message best practices for Mylyn Commit templateBenjamin Muskalla2-0/+7
We should use a template for Mylyn commit messages that matches with our guidelines for commit messages. http://wiki.eclipse.org/EGit/Contributor_Guide#Commit_message_guidelines Bug: 337401 Change-Id: I677134d6939b371a9f5a51e4e3b751da5e2bd547 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2010-06-18Fix line endingsMatthias Sohn2-0/+6
Some sources had dos line endings. Also configure all projects to use unix line endings and UTF-8 encoding. Change-Id: I119cad245f0f5ecd20ee1450877cb7e1a5d63783 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2010-02-02Create an automatic UI test for the Git Import WizardRobin Rosenberg1-0/+320
Things like dialogs and such require a different approach. The strategy is to use SWTBot for runnings UI-oriented tests. Cleanup and restructuring by Ketan Padegaonkar using page objects * (http://code.google.com/p/webdriver/wiki/PageObjects) CQ: 3738 Bug: 300768 Change-Id: Ibc4c7a5ad6d9747fceb516c02d96dfc2b09d3b5a Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>

    Back to the top