[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/3] doc: Add specification for Java packages

From: Hartmut Goebel
Subject: [PATCH 1/3] doc: Add specification for Java packages
Date: Thu, 14 Apr 2016 21:51:35 +0200

* doc/guix.texi (Java Packages): New subsection.
 doc/guix.texi | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/doc/guix.texi b/doc/guix.texi
index dcc1124..c1f80cb 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -10979,6 +10979,25 @@ are also prepended by @code{perl-}.  Such modules tend 
to have the word
 prefix.  For instance, @code{libwww-perl} becomes @code{perl-libwww}.
address@hidden Java Packages
address@hidden Java Packages
+Java programs standing for themselves are named as any other package,
+using the lowercase upstream name.
+To avoid confusion and naming clashes with other programming languages,
+it's desirable that the name of a package for a Java package is prefixed
+with @code{java-}.  If a project already contains the word
address@hidden, we drop this; for instance, the package @code{dnsjava}
+is packaged under the name @code{java-dns}.
+For Java packages containing a single class or a small class hierarchy,
+we use the lowercase class name, replace all occurrences of @code{.} by
+dashes and prepend the prefix @code{java-}. So the class
address@hidden becomes package
 @node Fonts
 @subsection Fonts

reply via email to

[Prev in Thread] Current Thread [Next in Thread]