[Pkg-libvirt-commits] [libguestfs] 12/16: Version 1.25.43.

Hilko Bengen bengen at moszumanska.debian.org
Sun Mar 9 11:21:33 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch experimental
in repository libguestfs.

commit 596955c1b52d8dd6a095254f7878da451a4bbb91
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Sat Mar 8 12:57:23 2014 +0000

    Version 1.25.43.
---
 BUGS                        |  12 ++-
 configure.ac                |   2 +-
 po-docs/ja.po               | 210 +++++++++++++++++++++++++++++++++++++++++---
 po-docs/libguestfs-docs.pot | 186 ++++++++++++++++++++++++++++++++++++---
 po-docs/uk.po               | 207 ++++++++++++++++++++++++++++++++++++++++---
 po/libguestfs.pot           |   4 +-
 6 files changed, 575 insertions(+), 46 deletions(-)

diff --git a/BUGS b/BUGS
index dc52424..badfeec 100644
--- a/BUGS
+++ b/BUGS
@@ -1,5 +1,5 @@
 NOTE: This file is automatically generated from "update-bugs.sh".
-Last updated: 2014-03-06
+Last updated: 2014-03-08
 
 This contains a local list of the bugs that are open against
 libguestfs.  Bugs are tracked in the Red Hat Bugzilla database
@@ -269,6 +269,9 @@ Bugs in NEW or ASSIGNED state are open and waiting for someone to fix.
 1072898 NEW https://bugzilla.redhat.com/show_bug.cgi?id=1072898
   inspect-os fails to find any operating systems
 
+1074005 NEW https://bugzilla.redhat.com/show_bug.cgi?id=1074005
+  java bindings inspect_list_applications2 throws java.lang.ArrayIndexOutOfBoundsException:
+
 503134 ASSIGNED https://bugzilla.redhat.com/show_bug.cgi?id=503134
   guestfish's list splitting does not recognize internal quoting
 
@@ -290,7 +293,7 @@ Bugs in NEW or ASSIGNED state are open and waiting for someone to fix.
 965495 ASSIGNED https://bugzilla.redhat.com/show_bug.cgi?id=965495
   New APIs required in libguestfs for virt-v2v in RHEL 6.5
 
-(90 bugs)
+(91 bugs)
 
 --------------------------------------------------
 Bugs in MODIFIED, POST or ON_QA state are fixed.
@@ -305,13 +308,16 @@ You can help by testing the fixes.
 1072079 POST https://bugzilla.redhat.com/show_bug.cgi?id=1072079
   Ruby bindings for libguestfs throws an error periodically
 
+1073917 POST https://bugzilla.redhat.com/show_bug.cgi?id=1073917
+  java bindings inspect_list_applications2 throws java.lang.ArrayIndexOutOfBoundsException:
+
 1053847 MODIFIED https://bugzilla.redhat.com/show_bug.cgi?id=1053847
   Recommended default clock/timer settings
 
 1020950 ON_QA https://bugzilla.redhat.com/show_bug.cgi?id=1020950
   CVE-2013-4419 libguestfs: insecure temporary directory handling for guestfish's network socket [epel-5]
 
-(5 bugs)
+(6 bugs)
 
 --------------------------------------------------
 These bugs are in the VERIFIED state.
diff --git a/configure.ac b/configure.ac
index 97c2c70..35460e2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,7 +26,7 @@
 # freeform string.
 m4_define([libguestfs_major],   [1])
 m4_define([libguestfs_minor],   [25])
-m4_define([libguestfs_release], [42])
+m4_define([libguestfs_release], [43])
 
 AC_INIT([libguestfs],libguestfs_major.libguestfs_minor.libguestfs_release)
 AC_CONFIG_AUX_DIR([build-aux])
diff --git a/po-docs/ja.po b/po-docs/ja.po
index ee0a8cb..527d918 100644
--- a/po-docs/ja.po
+++ b/po-docs/ja.po
@@ -12,7 +12,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: libguestfs\n"
 "Report-Msgid-Bugs-To: libguestfs at redhat.com\n"
-"POT-Creation-Date: 2014-03-01 16:25+0000\n"
+"POT-Creation-Date: 2014-03-08 12:55+0000\n"
 "PO-Revision-Date: 2013-10-17 14:46+0000\n"
 "Last-Translator: rjones <rjones at redhat.com>\n"
 "Language-Team: Japanese (http://www.transifex.com/projects/p/fedora/language/"
@@ -1448,7 +1448,7 @@ msgstr ""
 #: ../fish/virt-tar-out.pod:41 ../format/virt-format.pod:187
 #: ../fuse/guestmount.pod:410 ../fuse/guestunmount.pod:149
 #: ../golang/examples/guestfs-golang.pod:78 ../guestfs-release-notes.pod:2634
-#: ../inspector/virt-inspector.pod:501 ../java/examples/guestfs-java.pod:81
+#: ../inspector/virt-inspector.pod:501 ../java/examples/guestfs-java.pod:158
 #: ../lua/examples/guestfs-lua.pod:138 ../make-fs/virt-make-fs.pod:217
 #: ../ocaml/examples/guestfs-ocaml.pod:78 ../perl/examples/guestfs-perl.pod:40
 #: ../python/examples/guestfs-python.pod:53 ../rescue/virt-rescue.pod:421
@@ -1513,7 +1513,7 @@ msgstr "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
 #: ../fish/virt-tar-out.pod:55 ../format/virt-format.pod:201
 #: ../fuse/guestmount.pod:428 ../fuse/guestunmount.pod:162
 #: ../golang/examples/guestfs-golang.pod:97 ../guestfs-release-notes.pod:2649
-#: ../inspector/virt-inspector.pod:524 ../java/examples/guestfs-java.pod:100
+#: ../inspector/virt-inspector.pod:524 ../java/examples/guestfs-java.pod:177
 #: ../lua/examples/guestfs-lua.pod:157 ../make-fs/virt-make-fs.pod:235
 #: ../ocaml/examples/guestfs-ocaml.pod:97 ../perl/examples/guestfs-perl.pod:59
 #: ../python/examples/guestfs-python.pod:71 ../rescue/virt-rescue.pod:435
@@ -1881,7 +1881,7 @@ msgstr "L<guestfs(3)>, L<http://libguestfs.org/>, L<http://qemu.org/>."
 #: ../fish/virt-copy-out.pod:49 ../fish/virt-tar-in.pod:58
 #: ../fish/virt-tar-out.pod:51 ../fuse/guestmount.pod:424
 #: ../fuse/guestunmount.pod:158 ../golang/examples/guestfs-golang.pod:93
-#: ../inspector/virt-inspector.pod:510 ../java/examples/guestfs-java.pod:96
+#: ../inspector/virt-inspector.pod:510 ../java/examples/guestfs-java.pod:173
 #: ../lua/examples/guestfs-lua.pod:153 ../ocaml/examples/guestfs-ocaml.pod:93
 #: ../perl/examples/guestfs-perl.pod:55
 #: ../python/examples/guestfs-python.pod:67
@@ -1900,7 +1900,7 @@ msgstr "著者"
 #: ../fish/virt-copy-out.pod:51 ../fish/virt-tar-in.pod:60
 #: ../fish/virt-tar-out.pod:53 ../fuse/guestmount.pod:426
 #: ../fuse/guestunmount.pod:160 ../golang/examples/guestfs-golang.pod:95
-#: ../java/examples/guestfs-java.pod:98 ../lua/examples/guestfs-lua.pod:155
+#: ../java/examples/guestfs-java.pod:175 ../lua/examples/guestfs-lua.pod:155
 #: ../ocaml/examples/guestfs-ocaml.pod:95 ../perl/examples/guestfs-perl.pod:57
 #: ../python/examples/guestfs-python.pod:69
 #: ../ruby/examples/guestfs-ruby.pod:52 ../src/guestfs.pod:4776
@@ -9587,7 +9587,7 @@ msgstr "C<Arg> は未知の引数の名前です。"
 #. type: =head1
 #: ../erlang/examples/guestfs-erlang.pod:89
 #: ../golang/examples/guestfs-golang.pod:70
-#: ../java/examples/guestfs-java.pod:73 ../lua/examples/guestfs-lua.pod:130
+#: ../java/examples/guestfs-java.pod:150 ../lua/examples/guestfs-lua.pod:130
 #: ../ocaml/examples/guestfs-ocaml.pod:70 ../perl/examples/guestfs-perl.pod:32
 #: ../python/examples/guestfs-python.pod:45
 #: ../ruby/examples/guestfs-ruby.pod:28
@@ -9597,7 +9597,7 @@ msgstr "例 1: ディスクイメージの作成"
 #. type: textblock
 #: ../erlang/examples/guestfs-erlang.pod:91
 #: ../golang/examples/guestfs-golang.pod:72
-#: ../java/examples/guestfs-java.pod:75 ../lua/examples/guestfs-lua.pod:132
+#: ../java/examples/guestfs-java.pod:152 ../lua/examples/guestfs-lua.pod:132
 #: ../ocaml/examples/guestfs-ocaml.pod:72 ../perl/examples/guestfs-perl.pod:34
 #: ../python/examples/guestfs-python.pod:47
 #: ../ruby/examples/guestfs-ruby.pod:30
@@ -9607,7 +9607,7 @@ msgstr "@EXAMPLE1@"
 #. type: =head1
 #: ../erlang/examples/guestfs-erlang.pod:93
 #: ../golang/examples/guestfs-golang.pod:74
-#: ../java/examples/guestfs-java.pod:77 ../lua/examples/guestfs-lua.pod:134
+#: ../java/examples/guestfs-java.pod:154 ../lua/examples/guestfs-lua.pod:134
 #: ../ocaml/examples/guestfs-ocaml.pod:74 ../perl/examples/guestfs-perl.pod:36
 #: ../python/examples/guestfs-python.pod:49
 #: ../ruby/examples/guestfs-ruby.pod:32
@@ -9617,7 +9617,7 @@ msgstr "例 2: 仮想マシンのディスクイメージの検査"
 #. type: textblock
 #: ../erlang/examples/guestfs-erlang.pod:95
 #: ../golang/examples/guestfs-golang.pod:76
-#: ../java/examples/guestfs-java.pod:79 ../lua/examples/guestfs-lua.pod:136
+#: ../java/examples/guestfs-java.pod:156 ../lua/examples/guestfs-lua.pod:136
 #: ../ocaml/examples/guestfs-ocaml.pod:76 ../perl/examples/guestfs-perl.pod:38
 #: ../python/examples/guestfs-python.pod:51
 #: ../ruby/examples/guestfs-ruby.pod:34
@@ -9637,7 +9637,7 @@ msgstr ""
 #: ../erlang/examples/guestfs-erlang.pod:118
 #: ../examples/guestfs-testing.pod:399 ../fish/virt-copy-in.pod:66
 #: ../fish/virt-copy-out.pod:55 ../fish/virt-tar-in.pod:64
-#: ../fish/virt-tar-out.pod:57 ../java/examples/guestfs-java.pod:102
+#: ../fish/virt-tar-out.pod:57 ../java/examples/guestfs-java.pod:179
 #: ../perl/examples/guestfs-perl.pod:61 ../sparsify/virt-sparsify.pod:358
 msgid "Copyright (C) 2011-2012 Red Hat Inc."
 msgstr "Copyright (C) 2011-2012 Red Hat Inc."
@@ -37260,8 +37260,8 @@ msgstr "C<\\\\>"
 msgid "A literal backslash character."
 msgstr "文字としてのバックスラッシュ文字。"
 
-#. type: =head1
-#: ../fish/guestfish.pod:609
+#. type: =head2
+#: ../fish/guestfish.pod:609 ../java/examples/guestfs-java.pod:73
 msgid "OPTIONAL ARGUMENTS"
 msgstr "オプション引数"
 
@@ -48646,7 +48646,191 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../java/examples/guestfs-java.pod:83
+#: ../java/examples/guestfs-java.pod:75
+msgid ""
+"Some methods take an optional map of optional parameters.  An example of "
+"this is C<g.add_drive> which can be called in one of two ways:"
+msgstr ""
+
+#. type: verbatim
+#: ../java/examples/guestfs-java.pod:78
+#, fuzzy, no-wrap
+#| msgid ""
+#| " g:add_drive (\"test.img\")\n"
+#| "\n"
+msgid ""
+" g.add_drive (\"disk.img\");\n"
+"\n"
+msgstr ""
+" g:add_drive (\"test.img\")\n"
+"\n"
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:80
+#, fuzzy
+#| msgid "The optional arguments are:"
+msgid "or with optional arguments:"
+msgstr "オプション引数は次のとおりです:"
+
+#. type: verbatim
+#: ../java/examples/guestfs-java.pod:82
+#, no-wrap
+msgid ""
+" Map<String, Object> optargs =\n"
+"   new HashMap<String, Object>() {\n"
+"   {\n"
+"     put (\"readonly\", Boolean.TRUE);\n"
+"     put (\"format\", \"raw\");\n"
+"   }\n"
+" };\n"
+" g.add_drive (\"disk.img\", optargs);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:91
+#, fuzzy
+#| msgid "For guestfish, see L<guestfish(1)/OPTIONAL ARGUMENTS>."
+msgid ""
+"For more information on this topic, see L<guestfs(3)/CALLS WITH OPTIONAL "
+"ARGUMENTS>."
+msgstr "guestfish は L<guestfish(1)/OPTIONAL ARGUMENTS> を参照してください。"
+
+#. type: =head3
+#: ../java/examples/guestfs-java.pod:94
+#, fuzzy
+#| msgid "The optional parameters are:"
+msgid "Optional handle parameters"
+msgstr "オプションのパラメーターは次のとおりです:"
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:96
+msgid ""
+"When creating the handle you can also pass a map of optional parameters:"
+msgstr ""
+
+#. type: verbatim
+#: ../java/examples/guestfs-java.pod:99
+#, no-wrap
+msgid ""
+" Map<String, Object> optargs =\n"
+"   new HashMap<String, Object>() {\n"
+"   {\n"
+"     put (\"close_on_exit\", Boolean.FALSE);\n"
+"     put (\"environment\", Boolean.TRUE);\n"
+"   }\n"
+" };\n"
+" GuestFS g = new GuestFS (optargs);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:108
+#, fuzzy
+#| msgid "For further information, see: L<guestfish(1)>."
+msgid "For more information, see L<guestfs(3)/guestfs_create_flags>."
+msgstr "詳細は L<guestfish(1)> を参照してください。"
+
+#. type: =head1
+#: ../java/examples/guestfs-java.pod:110
+#, fuzzy
+#| msgid "COPYING AND CLONING"
+msgid "COMPILING AND RUNNING"
+msgstr "コピー方法およびクローン方法"
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:112
+msgid ""
+"Libguestfs for Java is a Java Native Interface (JNI) extension, supplied in "
+"three parts:"
+msgstr ""
+
+#. type: =item
+#: ../java/examples/guestfs-java.pod:117
+#, fuzzy
+#| msgid "guestfs_xattr"
+msgid "C<libguestfs.jar>"
+msgstr "guestfs_xattr"
+
+#. type: =item
+#: ../java/examples/guestfs-java.pod:119
+msgid "C<libguestfs-I<VERSION>.jar>"
+msgstr ""
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:121
+msgid ""
+"The pure Java JAR file which contains several classes, the primary one being "
+"C<com.redhat.et.libguestfs.GuestFS>.  Upstream, the JAR file contains a "
+"version number in the filename, but some Linux distros may rename it without "
+"the version number."
+msgstr ""
+
+#. type: =item
+#: ../java/examples/guestfs-java.pod:126
+#, fuzzy
+#| msgid "guestfs_is_fifo"
+msgid "C<libguestfs_jni.so>"
+msgstr "guestfs_is_fifo"
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:128
+msgid ""
+"The JNI code (written in C).  This contains private native functions that "
+"interface between Java code and the regular libguestfs C library.  You "
+"should B<not> call these directly."
+msgstr ""
+
+#. type: =item
+#: ../java/examples/guestfs-java.pod:132
+#, fuzzy
+#| msgid ""
+#| " libguestfs-test-tool\n"
+#| "\n"
+msgid "C<libguestfs.so>"
+msgstr ""
+" libguestfs-test-tool\n"
+"\n"
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:134
+msgid "The regular libguestfs C library."
+msgstr ""
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:138
+msgid ""
+"To compile your Java program, you need to locate the JAR file and add it to "
+"the class path.  For example:"
+msgstr ""
+
+#. type: verbatim
+#: ../java/examples/guestfs-java.pod:141
+#, no-wrap
+msgid ""
+" export CLASSPATH=/usr/share/java/libguestfs.jar\n"
+" javac MyProgram.java\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:144
+msgid ""
+"To run your Java program, you also need to ensure that the JAR file is on "
+"the class path, as well as the path of your program.  For example:"
+msgstr ""
+
+#. type: verbatim
+#: ../java/examples/guestfs-java.pod:147
+#, no-wrap
+msgid ""
+" export CLASSPATH=.:/usr/share/java/libguestfs.jar\n"
+" java MyProgram\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:160
 msgid ""
 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-"
 "golang(3)>, L<guestfs-lua(3)>, L<guestfs-ocaml(3)>, L<guestfs-perl(3)>, "
diff --git a/po-docs/libguestfs-docs.pot b/po-docs/libguestfs-docs.pot
index a72e7e1..e98867c 100644
--- a/po-docs/libguestfs-docs.pot
+++ b/po-docs/libguestfs-docs.pot
@@ -6,9 +6,9 @@
 #, fuzzy
 msgid ""
 msgstr ""
-"Project-Id-Version: libguestfs 1.25.42\n"
+"Project-Id-Version: libguestfs 1.25.43\n"
 "Report-Msgid-Bugs-To: libguestfs at redhat.com\n"
-"POT-Creation-Date: 2014-03-06 15:58+0000\n"
+"POT-Creation-Date: 2014-03-08 12:55+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -837,7 +837,7 @@ msgid ""
 msgstr ""
 
 #. type: =head1
-#: ../align/virt-alignment-scan.pod:393 ../appliance/libguestfs-make-fixed-appliance.pod:166 ../builder/virt-builder.pod:1822 ../builder/virt-index-validate.pod:81 ../cat/virt-cat.pod:249 ../cat/virt-filesystems.pod:395 ../cat/virt-ls.pod:491 ../daemon/guestfsd.pod:117 ../df/virt-df.pod:265 ../diff/virt-diff.pod:253 ../edit/virt-edit.pod:362 ../erlang/examples/guestfs-erlang.pod:97 ../examples/guestfs-examples.pod:57 ../examples/guestfs-faq.pod:1294 ../examples/guestfs-performance.pod:55 [...]
+#: ../align/virt-alignment-scan.pod:393 ../appliance/libguestfs-make-fixed-appliance.pod:166 ../builder/virt-builder.pod:1822 ../builder/virt-index-validate.pod:81 ../cat/virt-cat.pod:249 ../cat/virt-filesystems.pod:395 ../cat/virt-ls.pod:491 ../daemon/guestfsd.pod:117 ../df/virt-df.pod:265 ../diff/virt-diff.pod:253 ../edit/virt-edit.pod:362 ../erlang/examples/guestfs-erlang.pod:97 ../examples/guestfs-examples.pod:57 ../examples/guestfs-faq.pod:1294 ../examples/guestfs-performance.pod:55 [...]
 msgid "SEE ALSO"
 msgstr ""
 
@@ -859,7 +859,7 @@ msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
 msgstr ""
 
 #. type: =head1
-#: ../align/virt-alignment-scan.pod:406 ../appliance/libguestfs-make-fixed-appliance.pod:178 ../builder/virt-builder.pod:1844 ../builder/virt-index-validate.pod:90 ../cat/virt-cat.pod:262 ../cat/virt-filesystems.pod:410 ../cat/virt-ls.pod:505 ../daemon/guestfsd.pod:126 ../df/virt-df.pod:277 ../diff/virt-diff.pod:267 ../edit/virt-edit.pod:377 ../erlang/examples/guestfs-erlang.pod:116 ../examples/guestfs-examples.pod:75 ../examples/guestfs-faq.pod:1304 ../examples/guestfs-performance.pod:5 [...]
+#: ../align/virt-alignment-scan.pod:406 ../appliance/libguestfs-make-fixed-appliance.pod:178 ../builder/virt-builder.pod:1844 ../builder/virt-index-validate.pod:90 ../cat/virt-cat.pod:262 ../cat/virt-filesystems.pod:410 ../cat/virt-ls.pod:505 ../daemon/guestfsd.pod:126 ../df/virt-df.pod:277 ../diff/virt-diff.pod:267 ../edit/virt-edit.pod:377 ../erlang/examples/guestfs-erlang.pod:116 ../examples/guestfs-examples.pod:75 ../examples/guestfs-faq.pod:1304 ../examples/guestfs-performance.pod:5 [...]
 msgid "COPYRIGHT"
 msgstr ""
 
@@ -1162,12 +1162,12 @@ msgid ""
 msgstr ""
 
 #. type: =head1
-#: ../appliance/libguestfs-make-fixed-appliance.pod:174 ../erlang/examples/guestfs-erlang.pod:112 ../examples/guestfs-examples.pod:71 ../examples/guestfs-faq.pod:1300 ../examples/guestfs-performance.pod:571 ../examples/guestfs-recipes.pod:666 ../examples/guestfs-testing.pod:393 ../fish/guestfish.pod:1634 ../fish/libguestfs-tools.conf.pod:98 ../fish/virt-copy-in.pod:60 ../fish/virt-copy-out.pod:49 ../fish/virt-tar-in.pod:58 ../fish/virt-tar-out.pod:51 ../fuse/guestmount.pod:424 ../fuse/gu [...]
+#: ../appliance/libguestfs-make-fixed-appliance.pod:174 ../erlang/examples/guestfs-erlang.pod:112 ../examples/guestfs-examples.pod:71 ../examples/guestfs-faq.pod:1300 ../examples/guestfs-performance.pod:571 ../examples/guestfs-recipes.pod:666 ../examples/guestfs-testing.pod:393 ../fish/guestfish.pod:1634 ../fish/libguestfs-tools.conf.pod:98 ../fish/virt-copy-in.pod:60 ../fish/virt-copy-out.pod:49 ../fish/virt-tar-in.pod:58 ../fish/virt-tar-out.pod:51 ../fuse/guestmount.pod:424 ../fuse/gu [...]
 msgid "AUTHORS"
 msgstr ""
 
 #. type: textblock
-#: ../appliance/libguestfs-make-fixed-appliance.pod:176 ../erlang/examples/guestfs-erlang.pod:114 ../examples/guestfs-examples.pod:73 ../examples/guestfs-faq.pod:1302 ../examples/guestfs-performance.pod:573 ../examples/guestfs-recipes.pod:668 ../examples/guestfs-testing.pod:395 ../fish/guestfish.pod:1636 ../fish/libguestfs-tools.conf.pod:100 ../fish/virt-copy-in.pod:62 ../fish/virt-copy-out.pod:51 ../fish/virt-tar-in.pod:60 ../fish/virt-tar-out.pod:53 ../fuse/guestmount.pod:426 ../fuse/g [...]
+#: ../appliance/libguestfs-make-fixed-appliance.pod:176 ../erlang/examples/guestfs-erlang.pod:114 ../examples/guestfs-examples.pod:73 ../examples/guestfs-faq.pod:1302 ../examples/guestfs-performance.pod:573 ../examples/guestfs-recipes.pod:668 ../examples/guestfs-testing.pod:395 ../fish/guestfish.pod:1636 ../fish/libguestfs-tools.conf.pod:100 ../fish/virt-copy-in.pod:62 ../fish/virt-copy-out.pod:51 ../fish/virt-tar-in.pod:60 ../fish/virt-tar-out.pod:53 ../fuse/guestmount.pod:426 ../fuse/g [...]
 msgid "Richard W.M. Jones (C<rjones at redhat dot com>)"
 msgstr ""
 
@@ -8163,22 +8163,22 @@ msgid "C<Arg> is the name of the unknown argument."
 msgstr ""
 
 #. type: =head1
-#: ../erlang/examples/guestfs-erlang.pod:89 ../golang/examples/guestfs-golang.pod:70 ../java/examples/guestfs-java.pod:73 ../lua/examples/guestfs-lua.pod:130 ../ocaml/examples/guestfs-ocaml.pod:70 ../perl/examples/guestfs-perl.pod:32 ../python/examples/guestfs-python.pod:45 ../ruby/examples/guestfs-ruby.pod:28
+#: ../erlang/examples/guestfs-erlang.pod:89 ../golang/examples/guestfs-golang.pod:70 ../java/examples/guestfs-java.pod:150 ../lua/examples/guestfs-lua.pod:130 ../ocaml/examples/guestfs-ocaml.pod:70 ../perl/examples/guestfs-perl.pod:32 ../python/examples/guestfs-python.pod:45 ../ruby/examples/guestfs-ruby.pod:28
 msgid "EXAMPLE 1: CREATE A DISK IMAGE"
 msgstr ""
 
 #. type: textblock
-#: ../erlang/examples/guestfs-erlang.pod:91 ../golang/examples/guestfs-golang.pod:72 ../java/examples/guestfs-java.pod:75 ../lua/examples/guestfs-lua.pod:132 ../ocaml/examples/guestfs-ocaml.pod:72 ../perl/examples/guestfs-perl.pod:34 ../python/examples/guestfs-python.pod:47 ../ruby/examples/guestfs-ruby.pod:30
+#: ../erlang/examples/guestfs-erlang.pod:91 ../golang/examples/guestfs-golang.pod:72 ../java/examples/guestfs-java.pod:152 ../lua/examples/guestfs-lua.pod:132 ../ocaml/examples/guestfs-ocaml.pod:72 ../perl/examples/guestfs-perl.pod:34 ../python/examples/guestfs-python.pod:47 ../ruby/examples/guestfs-ruby.pod:30
 msgid "@EXAMPLE1@"
 msgstr ""
 
 #. type: =head1
-#: ../erlang/examples/guestfs-erlang.pod:93 ../golang/examples/guestfs-golang.pod:74 ../java/examples/guestfs-java.pod:77 ../lua/examples/guestfs-lua.pod:134 ../ocaml/examples/guestfs-ocaml.pod:74 ../perl/examples/guestfs-perl.pod:36 ../python/examples/guestfs-python.pod:49 ../ruby/examples/guestfs-ruby.pod:32
+#: ../erlang/examples/guestfs-erlang.pod:93 ../golang/examples/guestfs-golang.pod:74 ../java/examples/guestfs-java.pod:154 ../lua/examples/guestfs-lua.pod:134 ../ocaml/examples/guestfs-ocaml.pod:74 ../perl/examples/guestfs-perl.pod:36 ../python/examples/guestfs-python.pod:49 ../ruby/examples/guestfs-ruby.pod:32
 msgid "EXAMPLE 2: INSPECT A VIRTUAL MACHINE DISK IMAGE"
 msgstr ""
 
 #. type: textblock
-#: ../erlang/examples/guestfs-erlang.pod:95 ../golang/examples/guestfs-golang.pod:76 ../java/examples/guestfs-java.pod:79 ../lua/examples/guestfs-lua.pod:136 ../ocaml/examples/guestfs-ocaml.pod:76 ../perl/examples/guestfs-perl.pod:38 ../python/examples/guestfs-python.pod:51 ../ruby/examples/guestfs-ruby.pod:34
+#: ../erlang/examples/guestfs-erlang.pod:95 ../golang/examples/guestfs-golang.pod:76 ../java/examples/guestfs-java.pod:156 ../lua/examples/guestfs-lua.pod:136 ../ocaml/examples/guestfs-ocaml.pod:76 ../perl/examples/guestfs-perl.pod:38 ../python/examples/guestfs-python.pod:51 ../ruby/examples/guestfs-ruby.pod:34
 msgid "@EXAMPLE2@"
 msgstr ""
 
@@ -8192,7 +8192,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../erlang/examples/guestfs-erlang.pod:118 ../examples/guestfs-testing.pod:399 ../fish/virt-copy-in.pod:66 ../fish/virt-copy-out.pod:55 ../fish/virt-tar-in.pod:64 ../fish/virt-tar-out.pod:57 ../java/examples/guestfs-java.pod:102 ../perl/examples/guestfs-perl.pod:61 ../sparsify/virt-sparsify.pod:358
+#: ../erlang/examples/guestfs-erlang.pod:118 ../examples/guestfs-testing.pod:399 ../fish/virt-copy-in.pod:66 ../fish/virt-copy-out.pod:55 ../fish/virt-tar-in.pod:64 ../fish/virt-tar-out.pod:57 ../java/examples/guestfs-java.pod:179 ../perl/examples/guestfs-perl.pod:61 ../sparsify/virt-sparsify.pod:358
 msgid "Copyright (C) 2011-2012 Red Hat Inc."
 msgstr ""
 
@@ -33375,8 +33375,8 @@ msgstr ""
 msgid "A literal backslash character."
 msgstr ""
 
-#. type: =head1
-#: ../fish/guestfish.pod:609
+#. type: =head2
+#: ../fish/guestfish.pod:609 ../java/examples/guestfs-java.pod:73
 msgid "OPTIONAL ARGUMENTS"
 msgstr ""
 
@@ -44271,7 +44271,165 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../java/examples/guestfs-java.pod:83
+#: ../java/examples/guestfs-java.pod:75
+msgid ""
+"Some methods take an optional map of optional parameters.  An example of "
+"this is C<g.add_drive> which can be called in one of two ways:"
+msgstr ""
+
+#. type: verbatim
+#: ../java/examples/guestfs-java.pod:78
+#, no-wrap
+msgid ""
+" g.add_drive (\"disk.img\");\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:80
+msgid "or with optional arguments:"
+msgstr ""
+
+#. type: verbatim
+#: ../java/examples/guestfs-java.pod:82
+#, no-wrap
+msgid ""
+" Map<String, Object> optargs =\n"
+"   new HashMap<String, Object>() {\n"
+"   {\n"
+"     put (\"readonly\", Boolean.TRUE);\n"
+"     put (\"format\", \"raw\");\n"
+"   }\n"
+" };\n"
+" g.add_drive (\"disk.img\", optargs);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:91
+msgid ""
+"For more information on this topic, see L<guestfs(3)/CALLS WITH OPTIONAL "
+"ARGUMENTS>."
+msgstr ""
+
+#. type: =head3
+#: ../java/examples/guestfs-java.pod:94
+msgid "Optional handle parameters"
+msgstr ""
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:96
+msgid "When creating the handle you can also pass a map of optional parameters:"
+msgstr ""
+
+#. type: verbatim
+#: ../java/examples/guestfs-java.pod:99
+#, no-wrap
+msgid ""
+" Map<String, Object> optargs =\n"
+"   new HashMap<String, Object>() {\n"
+"   {\n"
+"     put (\"close_on_exit\", Boolean.FALSE);\n"
+"     put (\"environment\", Boolean.TRUE);\n"
+"   }\n"
+" };\n"
+" GuestFS g = new GuestFS (optargs);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:108
+msgid "For more information, see L<guestfs(3)/guestfs_create_flags>."
+msgstr ""
+
+#. type: =head1
+#: ../java/examples/guestfs-java.pod:110
+msgid "COMPILING AND RUNNING"
+msgstr ""
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:112
+msgid ""
+"Libguestfs for Java is a Java Native Interface (JNI) extension, supplied in "
+"three parts:"
+msgstr ""
+
+#. type: =item
+#: ../java/examples/guestfs-java.pod:117
+msgid "C<libguestfs.jar>"
+msgstr ""
+
+#. type: =item
+#: ../java/examples/guestfs-java.pod:119
+msgid "C<libguestfs-I<VERSION>.jar>"
+msgstr ""
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:121
+msgid ""
+"The pure Java JAR file which contains several classes, the primary one being "
+"C<com.redhat.et.libguestfs.GuestFS>.  Upstream, the JAR file contains a "
+"version number in the filename, but some Linux distros may rename it without "
+"the version number."
+msgstr ""
+
+#. type: =item
+#: ../java/examples/guestfs-java.pod:126
+msgid "C<libguestfs_jni.so>"
+msgstr ""
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:128
+msgid ""
+"The JNI code (written in C).  This contains private native functions that "
+"interface between Java code and the regular libguestfs C library.  You "
+"should B<not> call these directly."
+msgstr ""
+
+#. type: =item
+#: ../java/examples/guestfs-java.pod:132
+msgid "C<libguestfs.so>"
+msgstr ""
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:134
+msgid "The regular libguestfs C library."
+msgstr ""
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:138
+msgid ""
+"To compile your Java program, you need to locate the JAR file and add it to "
+"the class path.  For example:"
+msgstr ""
+
+#. type: verbatim
+#: ../java/examples/guestfs-java.pod:141
+#, no-wrap
+msgid ""
+" export CLASSPATH=/usr/share/java/libguestfs.jar\n"
+" javac MyProgram.java\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:144
+msgid ""
+"To run your Java program, you also need to ensure that the JAR file is on "
+"the class path, as well as the path of your program.  For example:"
+msgstr ""
+
+#. type: verbatim
+#: ../java/examples/guestfs-java.pod:147
+#, no-wrap
+msgid ""
+" export CLASSPATH=.:/usr/share/java/libguestfs.jar\n"
+" java MyProgram\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:160
 msgid ""
 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-erlang(3)>, "
 "L<guestfs-golang(3)>, L<guestfs-lua(3)>, L<guestfs-ocaml(3)>, "
diff --git a/po-docs/uk.po b/po-docs/uk.po
index 918a86d..07145bc 100644
--- a/po-docs/uk.po
+++ b/po-docs/uk.po
@@ -9,7 +9,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: libguestfs\n"
 "Report-Msgid-Bugs-To: libguestfs at redhat.com\n"
-"POT-Creation-Date: 2014-03-01 16:25+0000\n"
+"POT-Creation-Date: 2014-03-08 12:55+0000\n"
 "PO-Revision-Date: 2013-10-17 14:46+0000\n"
 "Last-Translator: rjones <rjones at redhat.com>\n"
 "Language-Team: Ukrainian (http://www.transifex.com/projects/p/fedora/"
@@ -1418,7 +1418,7 @@ msgstr ""
 #: ../fish/virt-tar-out.pod:41 ../format/virt-format.pod:187
 #: ../fuse/guestmount.pod:410 ../fuse/guestunmount.pod:149
 #: ../golang/examples/guestfs-golang.pod:78 ../guestfs-release-notes.pod:2634
-#: ../inspector/virt-inspector.pod:501 ../java/examples/guestfs-java.pod:81
+#: ../inspector/virt-inspector.pod:501 ../java/examples/guestfs-java.pod:158
 #: ../lua/examples/guestfs-lua.pod:138 ../make-fs/virt-make-fs.pod:217
 #: ../ocaml/examples/guestfs-ocaml.pod:78 ../perl/examples/guestfs-perl.pod:40
 #: ../python/examples/guestfs-python.pod:53 ../rescue/virt-rescue.pod:421
@@ -1483,7 +1483,7 @@ msgstr "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
 #: ../fish/virt-tar-out.pod:55 ../format/virt-format.pod:201
 #: ../fuse/guestmount.pod:428 ../fuse/guestunmount.pod:162
 #: ../golang/examples/guestfs-golang.pod:97 ../guestfs-release-notes.pod:2649
-#: ../inspector/virt-inspector.pod:524 ../java/examples/guestfs-java.pod:100
+#: ../inspector/virt-inspector.pod:524 ../java/examples/guestfs-java.pod:177
 #: ../lua/examples/guestfs-lua.pod:157 ../make-fs/virt-make-fs.pod:235
 #: ../ocaml/examples/guestfs-ocaml.pod:97 ../perl/examples/guestfs-perl.pod:59
 #: ../python/examples/guestfs-python.pod:71 ../rescue/virt-rescue.pod:435
@@ -1840,7 +1840,7 @@ msgstr ""
 #: ../fish/virt-copy-out.pod:49 ../fish/virt-tar-in.pod:58
 #: ../fish/virt-tar-out.pod:51 ../fuse/guestmount.pod:424
 #: ../fuse/guestunmount.pod:158 ../golang/examples/guestfs-golang.pod:93
-#: ../inspector/virt-inspector.pod:510 ../java/examples/guestfs-java.pod:96
+#: ../inspector/virt-inspector.pod:510 ../java/examples/guestfs-java.pod:173
 #: ../lua/examples/guestfs-lua.pod:153 ../ocaml/examples/guestfs-ocaml.pod:93
 #: ../perl/examples/guestfs-perl.pod:55
 #: ../python/examples/guestfs-python.pod:67
@@ -1859,7 +1859,7 @@ msgstr "АВТОРИ"
 #: ../fish/virt-copy-out.pod:51 ../fish/virt-tar-in.pod:60
 #: ../fish/virt-tar-out.pod:53 ../fuse/guestmount.pod:426
 #: ../fuse/guestunmount.pod:160 ../golang/examples/guestfs-golang.pod:95
-#: ../java/examples/guestfs-java.pod:98 ../lua/examples/guestfs-lua.pod:155
+#: ../java/examples/guestfs-java.pod:175 ../lua/examples/guestfs-lua.pod:155
 #: ../ocaml/examples/guestfs-ocaml.pod:95 ../perl/examples/guestfs-perl.pod:57
 #: ../python/examples/guestfs-python.pod:69
 #: ../ruby/examples/guestfs-ruby.pod:52 ../src/guestfs.pod:4776
@@ -9409,7 +9409,7 @@ msgstr "C<Аргумент> — назва невідомого аргумент
 #. type: =head1
 #: ../erlang/examples/guestfs-erlang.pod:89
 #: ../golang/examples/guestfs-golang.pod:70
-#: ../java/examples/guestfs-java.pod:73 ../lua/examples/guestfs-lua.pod:130
+#: ../java/examples/guestfs-java.pod:150 ../lua/examples/guestfs-lua.pod:130
 #: ../ocaml/examples/guestfs-ocaml.pod:70 ../perl/examples/guestfs-perl.pod:32
 #: ../python/examples/guestfs-python.pod:45
 #: ../ruby/examples/guestfs-ruby.pod:28
@@ -9419,7 +9419,7 @@ msgstr "ПРИКЛАД 1. СТВОРЕННЯ ОБРАЗУ ДИСКА"
 #. type: textblock
 #: ../erlang/examples/guestfs-erlang.pod:91
 #: ../golang/examples/guestfs-golang.pod:72
-#: ../java/examples/guestfs-java.pod:75 ../lua/examples/guestfs-lua.pod:132
+#: ../java/examples/guestfs-java.pod:152 ../lua/examples/guestfs-lua.pod:132
 #: ../ocaml/examples/guestfs-ocaml.pod:72 ../perl/examples/guestfs-perl.pod:34
 #: ../python/examples/guestfs-python.pod:47
 #: ../ruby/examples/guestfs-ruby.pod:30
@@ -9429,7 +9429,7 @@ msgstr "@EXAMPLE1@"
 #. type: =head1
 #: ../erlang/examples/guestfs-erlang.pod:93
 #: ../golang/examples/guestfs-golang.pod:74
-#: ../java/examples/guestfs-java.pod:77 ../lua/examples/guestfs-lua.pod:134
+#: ../java/examples/guestfs-java.pod:154 ../lua/examples/guestfs-lua.pod:134
 #: ../ocaml/examples/guestfs-ocaml.pod:74 ../perl/examples/guestfs-perl.pod:36
 #: ../python/examples/guestfs-python.pod:49
 #: ../ruby/examples/guestfs-ruby.pod:32
@@ -9439,7 +9439,7 @@ msgstr "ПРИКЛАД 2. ПЕРЕВІРКА ОБРАЗУ ДИСКА ВІРТУ
 #. type: textblock
 #: ../erlang/examples/guestfs-erlang.pod:95
 #: ../golang/examples/guestfs-golang.pod:76
-#: ../java/examples/guestfs-java.pod:79 ../lua/examples/guestfs-lua.pod:136
+#: ../java/examples/guestfs-java.pod:156 ../lua/examples/guestfs-lua.pod:136
 #: ../ocaml/examples/guestfs-ocaml.pod:76 ../perl/examples/guestfs-perl.pod:38
 #: ../python/examples/guestfs-python.pod:51
 #: ../ruby/examples/guestfs-ruby.pod:34
@@ -9459,7 +9459,7 @@ msgstr ""
 #: ../erlang/examples/guestfs-erlang.pod:118
 #: ../examples/guestfs-testing.pod:399 ../fish/virt-copy-in.pod:66
 #: ../fish/virt-copy-out.pod:55 ../fish/virt-tar-in.pod:64
-#: ../fish/virt-tar-out.pod:57 ../java/examples/guestfs-java.pod:102
+#: ../fish/virt-tar-out.pod:57 ../java/examples/guestfs-java.pod:179
 #: ../perl/examples/guestfs-perl.pod:61 ../sparsify/virt-sparsify.pod:358
 msgid "Copyright (C) 2011-2012 Red Hat Inc."
 msgstr "© Red Hat Inc., 2011–2012"
@@ -36102,8 +36102,8 @@ msgstr "C<\\\\>"
 msgid "A literal backslash character."
 msgstr ""
 
-#. type: =head1
-#: ../fish/guestfish.pod:609
+#. type: =head2
+#: ../fish/guestfish.pod:609 ../java/examples/guestfs-java.pod:73
 msgid "OPTIONAL ARGUMENTS"
 msgstr ""
 
@@ -47253,7 +47253,188 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../java/examples/guestfs-java.pod:83
+#: ../java/examples/guestfs-java.pod:75
+msgid ""
+"Some methods take an optional map of optional parameters.  An example of "
+"this is C<g.add_drive> which can be called in one of two ways:"
+msgstr ""
+
+#. type: verbatim
+#: ../java/examples/guestfs-java.pod:78
+#, fuzzy, no-wrap
+#| msgid ""
+#| " g:add_drive (\"test.img\")\n"
+#| "\n"
+msgid ""
+" g.add_drive (\"disk.img\");\n"
+"\n"
+msgstr ""
+" g:add_drive (\"test.img\")\n"
+"\n"
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:80
+#, fuzzy
+#| msgid "The optional arguments are:"
+msgid "or with optional arguments:"
+msgstr "Додатковими аргументами є:"
+
+#. type: verbatim
+#: ../java/examples/guestfs-java.pod:82
+#, no-wrap
+msgid ""
+" Map<String, Object> optargs =\n"
+"   new HashMap<String, Object>() {\n"
+"   {\n"
+"     put (\"readonly\", Boolean.TRUE);\n"
+"     put (\"format\", \"raw\");\n"
+"   }\n"
+" };\n"
+" g.add_drive (\"disk.img\", optargs);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:91
+#, fuzzy
+#| msgid "For further information, see: L<guestfs(3)/ENVIRONMENT VARIABLES>."
+msgid ""
+"For more information on this topic, see L<guestfs(3)/CALLS WITH OPTIONAL "
+"ARGUMENTS>."
+msgstr ""
+"Докладніші дані можна знайти на сторінці L<guestfs(3)/ЗМІННІ СЕРЕДОВИЩА>"
+
+#. type: =head3
+#: ../java/examples/guestfs-java.pod:94
+#, fuzzy
+#| msgid "The optional parameters are:"
+msgid "Optional handle parameters"
+msgstr "Додатковими параметрами є:"
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:96
+msgid ""
+"When creating the handle you can also pass a map of optional parameters:"
+msgstr ""
+
+#. type: verbatim
+#: ../java/examples/guestfs-java.pod:99
+#, no-wrap
+msgid ""
+" Map<String, Object> optargs =\n"
+"   new HashMap<String, Object>() {\n"
+"   {\n"
+"     put (\"close_on_exit\", Boolean.FALSE);\n"
+"     put (\"environment\", Boolean.TRUE);\n"
+"   }\n"
+" };\n"
+" GuestFS g = new GuestFS (optargs);\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:108
+#, fuzzy
+#| msgid "For further information, see: L<guestfish(1)>."
+msgid "For more information, see L<guestfs(3)/guestfs_create_flags>."
+msgstr "Докладніші дані можна знайти на сторінці L<guestfish(1)>."
+
+#. type: =head1
+#: ../java/examples/guestfs-java.pod:110
+#, fuzzy
+#| msgid "COPYING AND CLONING"
+msgid "COMPILING AND RUNNING"
+msgstr "КОПІЮВАННЯ ТА КЛОНУВАННЯ"
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:112
+msgid ""
+"Libguestfs for Java is a Java Native Interface (JNI) extension, supplied in "
+"three parts:"
+msgstr ""
+
+#. type: =item
+#: ../java/examples/guestfs-java.pod:117
+#, fuzzy
+#| msgid "libguestfs"
+msgid "C<libguestfs.jar>"
+msgstr "libguestfs"
+
+#. type: =item
+#: ../java/examples/guestfs-java.pod:119
+msgid "C<libguestfs-I<VERSION>.jar>"
+msgstr ""
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:121
+msgid ""
+"The pure Java JAR file which contains several classes, the primary one being "
+"C<com.redhat.et.libguestfs.GuestFS>.  Upstream, the JAR file contains a "
+"version number in the filename, but some Linux distros may rename it without "
+"the version number."
+msgstr ""
+
+#. type: =item
+#: ../java/examples/guestfs-java.pod:126
+#, fuzzy
+#| msgid "libguestfs"
+msgid "C<libguestfs_jni.so>"
+msgstr "libguestfs"
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:128
+msgid ""
+"The JNI code (written in C).  This contains private native functions that "
+"interface between Java code and the regular libguestfs C library.  You "
+"should B<not> call these directly."
+msgstr ""
+
+#. type: =item
+#: ../java/examples/guestfs-java.pod:132
+#, fuzzy
+#| msgid "libguestfs"
+msgid "C<libguestfs.so>"
+msgstr "libguestfs"
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:134
+msgid "The regular libguestfs C library."
+msgstr ""
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:138
+msgid ""
+"To compile your Java program, you need to locate the JAR file and add it to "
+"the class path.  For example:"
+msgstr ""
+
+#. type: verbatim
+#: ../java/examples/guestfs-java.pod:141
+#, no-wrap
+msgid ""
+" export CLASSPATH=/usr/share/java/libguestfs.jar\n"
+" javac MyProgram.java\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:144
+msgid ""
+"To run your Java program, you also need to ensure that the JAR file is on "
+"the class path, as well as the path of your program.  For example:"
+msgstr ""
+
+#. type: verbatim
+#: ../java/examples/guestfs-java.pod:147
+#, no-wrap
+msgid ""
+" export CLASSPATH=.:/usr/share/java/libguestfs.jar\n"
+" java MyProgram\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../java/examples/guestfs-java.pod:160
 msgid ""
 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-"
 "golang(3)>, L<guestfs-lua(3)>, L<guestfs-ocaml(3)>, L<guestfs-perl(3)>, "
diff --git a/po/libguestfs.pot b/po/libguestfs.pot
index b511c1c..095238b 100644
--- a/po/libguestfs.pot
+++ b/po/libguestfs.pot
@@ -6,10 +6,10 @@
 #, fuzzy
 msgid ""
 msgstr ""
-"Project-Id-Version: libguestfs 1.25.42\n"
+"Project-Id-Version: libguestfs 1.25.43\n"
 "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?"
 "component=libguestfs&product=Virtualization+Tools\n"
-"POT-Creation-Date: 2014-03-06 15:58+0000\n"
+"POT-Creation-Date: 2014-03-08 12:55+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list