views:

329

answers:

2

I use ivy with the ivy eclipse plugin to download dependencies. Works great. But how can I attach the source code for those libraries, in order to step into these libraries?

+1  A: 

There is an ant task that will modify the .classpath file to reference the source attachments.

Rich Seller
+4  A: 

Have you tried attaching the source configurations?

<dependencies defaultconfmapping="*->default,sources">
Robert Munteanu
doesn't seem to do anything. Does this actually work for you? Or is it just an idea?
Jens Schauder
It does work for me.
Robert Munteanu
Now it works for me as well. I had to do 'resolve' via menu. Strange, I thought it does that whenever one edits the ivy.xml ... anyway. Thanx for the help
Jens Schauder