@@ -16,14 +16,53 @@ Included in this package:
1616* shortcuts for loading resources (images or generic data) via class loaders
1717* shortcuts for basic dialogs
1818* enhanced file selection dialogs
19- * wrappers for loading `JFormDesigner < http://www.jformdesigner.com/ > `_ forms
19+ * wrappers for loading `JFormDesigner `_ forms
2020* decorators and functions for safely accessing the GUI from any thread
2121* support for running background tasks in separate threads
2222
2323Requires Jython 2.7 or later.
2424
25- Documentation can be found at the Jython-Swingutils
26- `documentation repository < http://packages.python.org/jython-swingutils/ >`_
25+ Documentation can be found at the Python Packaging
26+ `documentation repository `_.
2727
28- The source code and the issue tracker can be found at
29- `Bitbucket <http://bitbucket.org/agronholm/jython-swingutils/ >`_.
28+ The `source code `_ and the `issue tracker `_ can be found at GitHub.
29+
30+
31+ Building jar files
32+ ------------------
33+
34+ To build a jar file, you need to tell ant where to find jython.jar, by
35+ defining the ``jythonjarpath `` property, either as a command line option
36+ to ant, or in the ``build.properties `` file.
37+
38+ To build a jar file containing the Python source files::
39+
40+ ant srcjar
41+
42+ To build a jar containing compiled bytecode files::
43+
44+ ant binjar
45+
46+
47+ Building signed jar files
48+ -------------------------
49+
50+ Signing the jar files requires three additional properties to be defined:
51+ ``signer ``, ``storepass `` and ``keypass ``. It also requires that you have a
52+ matching code signing key in your keystore (``~/.keystore ``).
53+
54+
55+ To build a signed source jar::
56+
57+ ant signsrcjar
58+
59+ To build a signed, compiled jar (suitable for `Java Web Start `_)::
60+
61+ ant signbinjar
62+
63+
64+ .. _JFormDesigner : http://www.jformdesigner.com/
65+ .. _source code : https://github.com/jython/swingutils
66+ .. _issue tracker : https://github.com/jython/swingutils/issues
67+ .. _documentation repository : http://packages.python.org/jython-swingutils/
68+ .. _Java Web Start : http://docs.oracle.com/javase/tutorial/deployment/webstart/
0 commit comments