[GRADLE-1218] Generated Eclipse classpath should order src/*/java before src/*/resources Created: 15/Nov/10  Updated: 04/Jan/13  Resolved: 13/Jan/11

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 0.9.2

Type: Improvement
Reporter: Chris Beams Assignee: Peter Niederwieser
Resolution: Duplicate Votes: 0

Issue Links:
Duplicate
Duplicates GRADLE-1078 eclipse .classpath generation should ... Resolved

 Description   

Repro:

$ git clone --recursive git://git.springsource.org/spring-integration/spring-integration.git
$ cd spring-integration
$ git checkout cc569a6c8e9bcf74bcf46ca1baf1a7ce894534a5
$ ./gradlew :spring-integration-core:eclipseClasspath
$ head -6 spring-integration-core/.classpath
<classpath>
  <classpathentry kind="output" path="build/classes/main"/>
  <classpathentry output="build/classes/main" kind="src" path="src/main/resources"/>
  <classpathentry output="build/classes/main" kind="src" path="src/main/java"/>
  <classpathentry output="build/classes/test" kind="src" path="src/test/resources"/>
  <classpathentry output="build/classes/test" kind="src" path="src/test/java"/>

Notice that src/main/resources is ordered before src/main/java and likewise with test source folders. This violates expectations for Eclipse users. Java source folders should come before their respective resource folders.


Generated at Wed Jun 30 11:49:59 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.