Re: Could somebody look at the discussion at merge 5

2018-09-05 Thread Emmanuel Bourg
Le 05/09/2018 à 09:53, Javier Fernandez-Sanguino a écrit :

> As mentioned previously in the thread related to this document the
> authoritative location is this one: 
> https://salsa.debian.org/ddp-team/java-faq
> 
> That is where all the document history is (migrated from the former DDP
> SVN).
> 
> Java-policy contains a *copy* of the document and does not have the
> commit history.

Ok, I now see in the java-policy commit history that the FAQ was
periodically synchronized with the DDP repository. Thank you for the
clarification.

I observe though that Sylvestre Ledru edited the FAQ in 2013, and I'm
not sure the changes were propagated to the DDP repository. If the
contents diverged it would be nice to reconcile them first before doing
more changes.

Emmanuel Bourg



Re: Could somebody look at the discussion at merge 5

2018-09-04 Thread Emmanuel Bourg
Le 04/09/2018 à 12:57, Osamu Aoki a écrit :

> This is merged to master with fix to your changes and updated build
> script.  I think you should close merge request ... I don't know how.

The FAQ in the java-policy repository hasn't been updated though. I'm a
bit confused, do we have two versions of the Java FAQ in different
repositories? Which one was more recent before shirish changes?

Emmanuel Bourg



Re: debian-java-faq seems to be pretty old -

2018-09-02 Thread Emmanuel Bourg
Le 02/09/2018 à 16:15, shirish शिरीष a écrit :

> Now while I'm doing the nominal changes am stuck at certain points -
> 
> a. $Revision: 7831 $, $Date: 2013-06-05 21:17:15 +0100 $
> 
> how is the revision and time-stamp derived. If I were to guess it would be
> something to do with moinmoin ?

This is a keyword expansion, a feature of CVS and SVN that Git doesn't
support. With these VCS if a file contained $Revision$ it was expanded
to $Revision: 1234 $ when the file was checked out. Let's ignore that
for now and focus on the content.


> b. In 2.2 at https://www.debian.org/doc/manuals/debian-java-faq/ch2.en.html
> 
> gcj and libgcj: http://gcc.gnu.org/java/
> 
> Classpath http://www.classpath.org. Most of the Standard classes for
> Java 1.2 (except Swing and RMI) are implemented by the ClassPath
> project, it tries to build an alternative to jdk's 1.2 core classes.
> (NB: This was removed from Squeeze)
> 
> Should this content be there anymore ? - guess both can be removed as
> nothing of the two projects remain

All references to GCJ/GIJ/GNU ClassPath should be removed, this is just
History now.


> I was surprised to know that gnu java which at one point was a
> high-priority project was deprecated within gcc

When Sun released Java under the GPL and started the OpenJDK project it
lost its raison d'être.


> c. In 2.4.2 I am not sure what links should be put in place of
> http://pkg-java.alioth.debian.org/developers.html#rules and
> http://pkg-java.alioth.debian.org/building.html

http://pkg-java.alioth.debian.org now maps to https://java.debian.net.


> d. For https://www.debian.org/doc/manuals/debian-java-faq/ch3.en.html
> esp. the non-free java would need to pursue the launchpad ppa archive

Chapter 3 is about update-java-alternatives. How does it relate to the PPA?


> e. 4.5 How can I use the proprietary version of the JDK/JRE from
> Oracle as a Debian package?
> 
> This probably needs an updated answer, either we give the same link as
> above i.e.
> http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html
> or maybe something else as
> http://sylvestre.ledru.info/blog/2012/02/29/java_package_replacement_of_sun_java6
> is no longer sufficient :(

java-package is the supported solution for now. I wish we could also
include in non-free an installer similar to webupd8.org.

Emmanuel Bourg



Re: debian-java-faq seems to be pretty old -

2018-09-01 Thread Emmanuel Bourg
On 31/08/2018 18:27, shirish शिरीष wrote:

> 1.2 Location of this FAQ
> 
> This FAQ is published under the Debian Documentation Project at
> http://www.debian.org/doc/manuals/debian-java-faq/. The java-common
> (available at http://packages.debian.org/java-common) provides an HTML
> version for offline reading.
> 
> this is no longer true -

I refactored java-common 3 years ago to split the documentation from the
default Java packages. The policy and the FAQ are now in the java-policy
repository:

  https://salsa.debian.org/java-team/java-policy

Merge requests to update the documentation are welcome :)

Emmanuel Bourg