3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/doc
Eelco Dolstra 5d6259a973 Add a setup hook that automatically sets up $CLASSPATH
All JARs in $pkg/share/java (for each $pkg in the build inputs) are
added to $CLASSPATH.  Thus, you can say

  buildInputs = [ setJavaClassPath someJavaDependency ];

and the JARs in someJavaDependency will be found automatically by
tools like javac or ant.

Note that the manual used to say that JARs should be installed in
lib/java; this is now share/java, following the Debian policy:

  http://www.debian.org/doc/packaging-manuals/java-policy/x110.html

The directory share/java makes more sense because JARs are
architecture-independent.  (Also, a quick grep shows that we were not
exactly consistent about this in Nixpkgs.)
2014-01-06 14:36:14 +01:00
..
old Move some old docs 2013-10-01 10:53:21 +02:00
coding-conventions.xml * Package naming / versioning guidelines. 2009-11-18 15:05:09 +00:00
introduction.xml * Sync CSS with the Nix manual. 2012-05-11 21:42:00 +00:00
language-support.xml Add a setup hook that automatically sets up $CLASSPATH 2014-01-06 14:36:14 +01:00
Makefile * Build a PDF of the manual. 2009-07-10 13:41:47 +00:00
manual.xml Unify the Nixpkgs and NixOS version numbers 2013-10-10 13:28:22 +02:00
meta.xml Only show/build a package on the platforms listed in meta.platforms 2013-11-05 00:06:10 +01:00
outline.txt * Moved the Linux kernel maintenance notes to the manual, expanded 2008-08-27 12:59:55 +00:00
package-notes.xml splashutils: Remove 2013-09-26 18:03:43 +02:00
quick-start.xml Clarify a step from the quick start section. 2013-12-30 13:45:46 +01:00
quote-literals.xsl * Start of Nixpkgs 0.10 release notes. 2006-10-06 13:37:31 +00:00
release-notes.xml nixos.org/tarballs -> tarballs.nixos.org 2013-06-25 14:12:16 +02:00
stdenv.xml Fix a few typos 2013-08-11 10:55:53 +00:00
style.css * Sync CSS with the Nix manual. 2012-05-11 21:42:00 +00:00