Jörn Kottmann wrote: > Hi Thilo, > > the source code lookup does not work, because there is simply no source > code in > our jars. > > Creating a src.jar is one way to add source code in eclipse, but I > always prefer > to include the source code in the jar directly.
I prefer the other way ;-) The reason is that this keeps your jar files leaner, and you only add the source code for development. If you look around Apache, I think that's what a lot of projects do. > > To include the source code in a jar with the classes just put the .java > files in the package > hierarchy like the .class files. > > Jörn
