Java: Difference between revisions
imported>Milahu add section: Maven |
imported>Milahu add section: Ant |
||
| Line 130: | Line 130: | ||
[https://github.com/fzakaria/mvn2nix mvn2nix] can be used to translate Maven sources to Nix sources | [https://github.com/fzakaria/mvn2nix mvn2nix] can be used to translate Maven sources to Nix sources | ||
=== | === Ant === | ||
[https://ant.apache.org/ivy/ | [https://ant.apache.org/manual/running.html Ant] is a build tool for Java. To build the <code>compile</code> target, run | ||
<pre>ant compile</pre> | |||
To list available build targets, run | |||
<pre>ant -p</pre> | |||
==== Ivy ==== | |||
[https://ant.apache.org/ivy/ Ivy] is a package manager for Ant | |||
To replace ivy, see for example [https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/jedit pkgs/applications/editors/jedit] | To replace ivy, see for example [https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/jedit pkgs/applications/editors/jedit] | ||