You are not logged in.

#1 2007-09-23 10:05:24

franzb
Member
From: Hanover / Germany
Registered: 2005-02-07
Posts: 27

Package JAVA JDK doesn't contain src.zip

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

#2 2007-09-23 10:09:36

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: Package JAVA JDK doesn't contain src.zip

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

#3 2007-09-23 10:12:36

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Package JAVA JDK doesn't contain src.zip

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

#4 2007-09-23 10:13:03

franzb
Member
From: Hanover / Germany
Registered: 2005-02-07
Posts: 27

Re: Package JAVA JDK doesn't contain src.zip

So should I file a new bug report?

Offline

#5 2007-09-23 10:16:31

franzb
Member
From: Hanover / Germany
Registered: 2005-02-07
Posts: 27

Re: Package JAVA JDK doesn't contain src.zip

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

#6 2007-09-23 10:26:01

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Package JAVA JDK doesn't contain src.zip

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

#7 2007-09-23 10:33:01

franzb
Member
From: Hanover / Germany
Registered: 2005-02-07
Posts: 27

Re: Package JAVA JDK doesn't contain src.zip

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

Board footer

Powered by FluxBB