When a source folder is marked as a test folder, JDT requires that it has an output folder different from the one used for regular sources. Therefore give the test folders in org.eclipse.jgit.test a separate output folder "bin-tst". Moreover JDT reports errors if non-test classes have dependencies on test classes. Therefore remove the "test" annotation from org.eclipse.jgit.junit. Change-Id: Ib527439ff5b7d7b570b8a60819ecaa70f59c63a3 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>tags/v5.2.0.201811281532-m3
<classpath> | <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.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="con" path="org.eclipse.pde.core.requiredPlugins"/> | ||||
<classpathentry kind="src" path="src"> | |||||
<attributes> | |||||
<attribute name="test" value="true"/> | |||||
</attributes> | |||||
</classpathentry> | |||||
<classpathentry kind="src" path="src"/> | |||||
<classpathentry kind="output" path="bin"/> | <classpathentry kind="output" path="bin"/> | ||||
</classpath> | </classpath> |
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||
<classpath> | <classpath> | ||||
<classpathentry excluding="**/*.idx|**/*.pack" kind="src" path="tst"> | |||||
<classpathentry excluding="**/*.idx|**/*.pack" kind="src" path="tst" output="bin-tst"> | |||||
<attributes> | <attributes> | ||||
<attribute name="test" value="true"/> | <attribute name="test" value="true"/> | ||||
</attributes> | </attributes> | ||||
</classpathentry> | </classpathentry> | ||||
<classpathentry kind="src" path="src"> | |||||
<classpathentry kind="src" path="src"/> | |||||
<classpathentry kind="src" path="tst-rsrc" output="bin-tst"> | |||||
<attributes> | <attributes> | ||||
<attribute name="test" value="true"/> | <attribute name="test" value="true"/> | ||||
</attributes> | </attributes> | ||||
</classpathentry> | </classpathentry> | ||||
<classpathentry kind="src" path="tst-rsrc"> | |||||
<attributes> | |||||
<attribute name="test" value="true"/> | |||||
</attributes> | |||||
</classpathentry> | |||||
<classpathentry kind="src" path="exttst"> | |||||
<classpathentry kind="src" path="exttst" output="bin-tst"> | |||||
<attributes> | <attributes> | ||||
<attribute name="test" value="true"/> | <attribute name="test" value="true"/> | ||||
</attributes> | </attributes> |
/bin | /bin | ||||
/target | /target | ||||
/bin-tst/ |
src/ | src/ | ||||
bin.includes = META-INF/,\ | bin.includes = META-INF/,\ | ||||
.,\ | .,\ | ||||
plugin.properties | |||||
plugin.properties,\ | |||||
bin-tst/,\ | |||||
bin/ | |||||
additional.bundles = org.apache.log4j,\ | additional.bundles = org.apache.log4j,\ | ||||
org.slf4j.impl.log4j12 | org.slf4j.impl.log4j12 |