java, *.src.jar packaging
Hello, sometimes it is convenient to have java sources (.src.jar file) installed. These files act as documentation. They are used by IDEs together with javadoc for completion, hilithing etc. I would like to add -source subpackage to some java libraries. My question is: where to install .src.jar files? 1. to /usr/share/java - but there is already to many files 2. to %{_docdir} (/usr/share/doc/%{name}-source) - I don't think it's a good idea 3. create new directory, like /usr/share/javasrc - Needs modification in packages that provides jdk As far as I know other distros don't package these files at all, so there is no convention to follow. -- Regards, Paweł ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: java, *.src.jar packaging
On Wed, 14 Apr 2010, Paweł Zuzelski wrote: Hello, sometimes it is convenient to have java sources (.src.jar file) installed. These files act as documentation. They are used by IDEs together with javadoc for completion, hilithing etc. I would like to add -source subpackage to some java libraries. My question is: where to install .src.jar files? 1. to /usr/share/java - but there is already to many files 2. to %{_docdir} (/usr/share/doc/%{name}-source) - I don't think it's a good idea 3. create new directory, like /usr/share/javasrc - Needs modification in packages that provides jdk As far as I know other distros don't package these files at all, so there is no convention to follow. http://www.pathname.com/fhs/pub/fhs-2.3.html#USRSRCSOURCECODE -- Jan Rękorajski| ALL SUSPECTS ARE GUILTY. PERIOD! bagginsatmimuw.edu.pl | OTHERWISE THEY WOULDN'T BE SUSPECTS, WOULD THEY? BOFH, MANIAC | -- TROOPS by Kevin Rubio ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: java, *.src.jar packaging
On Wednesday 14 April 2010 20:51:47 Jan Rękorajski wrote: As far as I know other distros don't package these files at all, so there is no convention to follow. http://www.pathname.com/fhs/pub/fhs-2.3.html#USRSRCSOURCECODE we also have %{_examplesdir} which could fit. -- glen ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en