You are not logged in.
I'm doing some development in Java. IDEs like Eclipse and Netbeans allow to open the source files to java system classes if you give the path to the JDK sources.
With the vanilla JDK installation there comes a file src.zip in the toplevel jdk directory that contains all sources. Somehow this is missing from the arch package. Is there any reason for that (other than size)? If so would it be possible to provide it in another package (something like jdk-source)?
Yes I know, I could download the jdk myself and extract the file - but then I would have to do that again with every package upgrade...I'd like it to be in sync with the installed jdk.
Has anyone suggestions? Did I overlook anything here? Shall I file a bug report?
Cheers
Franz
Offline
This did get provided at some stage. There was a bug request asking for this to be included. Maybe it got reverted somewhere along the line.
Offline
It seems like src.zip is actually included:
~$ pacman -Qo /opt/java/src.zip
/opt/java/src.zip is owned by jdk 6u2-1
I've pointed eclipse to it and it works flawlessly.
Offline
So should I file a new bug report?
Offline
Ramses:
[franz@seoul pacman.d]$ pacman -S -s jdk
extra/jdk 6u2-1
Sun's Java Development Kit
[franz@seoul pacman.d]$ pacman -Ql jdk|grep src.zip
[franz@seoul pacman.d]$
With mine it doesn't seem to be included...?
Offline
I've just checked my local package and the one on my mirror (which is ftp.belnet.be) and both do contain src.zip... Maybe try deleting your local package (from /var/cache/pacman/pkg/) and reinstall jdk?
Offline
Thank you Ramses, that did it!
Obviously pacman thought my installed jkd (6-2) was newer than the repo one (6-2u1)...the forced update to 6-2u1 then contained src.zip.
Cheers
Franz
Offline