aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2017-09-05 19:04:38 +0200
committerJulien Lepiller <julien@lepiller.eu>2017-10-03 21:37:47 +0200
commit8df1faa047870c51954275664e8e7efc94e6fc56 (patch)
tree4987e1636a97c41f33bf8d07e799f8edafd6ee2a /doc
parent4d6801b735550ee804454a6d4f0d44c3372e0ae9 (diff)
downloadgnu-guix-8df1faa047870c51954275664e8e7efc94e6fc56.tar
gnu-guix-8df1faa047870c51954275664e8e7efc94e6fc56.tar.gz
guix: ant-build-system: Add main-class support.
* guix/build-system/ant.scm: New #:main-class argument * guix/build/ant-build-system.scm: Generate a manifest file with additional properties. * doc/guix.texi (Build Systems): Document it.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index b9d127c47c..312f5e7822 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -3479,6 +3479,10 @@ build file @file{build.xml} with tasks to build the specified jar
archive. In this case the parameter @code{#:source-dir} can be used to
specify the source sub-directory, defaulting to ``src''.
+The @code{#:main-class} parameter can be used with the minimal ant
+buildfile to specify the main class of the resulting jar. This makes the
+jar file executable.
+
The parameter @code{#:build-target} can be used to specify the Ant task
that should be run during the @code{build} phase. By default the
``jar'' task will be run.