[GRADLE-238] Eclipse add sources as well Created: 23/Sep/08  Updated: 04/Jan/13  Resolved: 24/Nov/10

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

Type: Improvement
Reporter: Stefan Groschupf Assignee: Hans Dockter
Resolution: Fixed Votes: 12

Issue Links:
Duplicated by GRADLE-898 Automatically detect and attach sourc... Resolved
dependent on GRADLE-201 Enable support for retrieving source ... Resolved


Would be good if not just the binary libs but also the sources would be added to the classpath.
At least it is not documented how to do that.

Comment by Nick Giamouris [ 21/Oct/08 ]

Would also be beneficial to support linked source folders. In 0.4 specifying an srcDir outside of the project dir gives:
Execution failed for task :myProject:eclipseCp.
Cause: Path = C:\myOtherProject\src is not a subdirectory of the project root dir.

Comment by Szczepan Faber [ 27/Feb/09 ]

I would enjoy this plugin more if it downloaded sources by default

Comment by Kirk Rasmussen [ 18/Nov/09 ]

I also agree that this is vital functionality. As a long time Maven and Ivy user this is a sore spot without having this feature especially if you need to debug into 3rd party libraries such as Spring, Hibernate, etc with any regularity.

Comment by Chris Beams [ 07/Jul/10 ]

This issue is duplicated by GRADLE-898, yet both issues remain open. This one has more voters and watchers than 898, so should probably be the one to remain open. For clarity, could 898 be closed?

Also, this issue's Fix Version is at 0.9 (great!), however it depends on GRADLE-201, which is slated for 1.0. We seem to have a conflict Could you provide any comments as to the likelihood of an 0.9 resolution?


Comment by Hans Dockter [ 09/Jul/10 ]

@Chris Re GRADLE-201. This is for a generic convenient way to retrieve sources for an artifact. This does not affect an eclipse solution for 0.9. We do already retrieve sources with the Idea plugin. So we just need to share that code.

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