[GRADLE-1292] setting eclipseClasspath defaultOutputDir doesn't get applied properly in the eclipse .classpath file Created: 06/Jan/11  Updated: 04/Jan/13  Resolved: 09/May/11

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

Type: Bug
Reporter: Ken Avery Assignee: Szczepan Faber
Resolution: Not A Bug Votes: 0


 Description   

When attempting to set the defaultOutputDir for the eclipse plugin, the "Default Output Folder" gets updated properly but the project sourceSets do not.

I am using the following code in my build.gradle script:

eclipseClasspath

{ defaultOutputDir = new File(project.getProjectDir().getAbsolutePath() + "/eclipseBin"); }

I see the following result in the generated eclipse .classpath file:

<classpathentry kind="output" path="eclipseBin"/>
<classpathentry output="build/classes/main" kind="src" path="src/main/java"/>
<classpathentry output="build/classes/test" kind="src" path="src/test/java"/>

I would have expected the "eclipseBin" path seen in the first line to be applied to the output for the next two lines ("src/main/java" and "src/test/java")



 Comments   
Comment by Szczepan Faber [ 09/May/11 ]

At this moment, eclipseClasspath task does not generate the 'output' attribute for entries of type 'src'. So I think I'm going to close this issue.

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