Re:RTFC is the New RTFM
by tterrace on Wednesday April 24, 2013 @11:04AM
(#5601831)
It definitely depends on the language. The author mentions spring security so I'm assuming he's using java, where it's a massive PITA to manually hunt down and attach the sources to the 50 jars you have in lib/. Maven probably has something that will automatically do this but if your legacy project is just using ant then you're pretty much stuck.
[ Parent
| on HN ]
Re:RTFC is the New RTFM
by kaffeinecoma on Wednesday April 24, 2013 @11:12AM
(#5601887)
If you use Intellij + Maven this becomes magically seamless. I assume there is something similar for Eclipse as well. Really worth your time to make this work.
Java is exactly what I'm using, and you are correct... it is a massive PITA to attach sources. Unfortunately, we're not using Maven but plan to in the future.
If you're using eclipse, I found this plugin helps a bit: http://marketplace.eclipse.org/content/java-source-attacher . For most popular jars you can just right click and hit "attach source".