diff options
author | Michael Keppler <Michael.Keppler@gmx.de> | 2018-10-09 09:15:35 +0200 |
---|---|---|
committer | David Pursehouse <david.pursehouse@gmail.com> | 2018-10-17 11:08:24 +0900 |
commit | 91021cb66f008ccebf430bcd7527bd215cae03aa (patch) | |
tree | eaa254a51d0a0ce75e7ae025a52ebd15ad88fca7 /org.eclipse.jgit.junit.http | |
parent | 7ebd434e913e863aa1508d55779787302fcad1a8 (diff) | |
download | jgit-91021cb66f008ccebf430bcd7527bd215cae03aa.tar.gz jgit-91021cb66f008ccebf430bcd7527bd215cae03aa.zip |
Configure classpath for separate test sources in Eclipse
Eclipse Photon supports separating sources and test sources.
There are no functional changes in the IDE, except for test source
folders having a different icon color.
Users of different IDEs than Eclipse are not affected, since the
attribute on the classpath entries will be ignored by their IDE.
Bug: 539933
Change-Id: Iac6dcdf0c0730ca775bae90df6a685303dc95380
Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.junit.http')
-rw-r--r-- | org.eclipse.jgit.junit.http/.classpath | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/org.eclipse.jgit.junit.http/.classpath b/org.eclipse.jgit.junit.http/.classpath index b862a296d3..3e5654f17e 100644 --- a/org.eclipse.jgit.junit.http/.classpath +++ b/org.eclipse.jgit.junit.http/.classpath @@ -1,7 +1,11 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
+<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> + <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> + <classpathentry kind="src" path="src"> + <attributes> + <attribute name="test" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="output" path="bin"/> +</classpath> |