Chapter 6. Contributors

Table of Contents

6.1. Compiling YaTiSeWoBe from sources
6.1.1. Compiling executable from sources
6.1.2. Compiling documentation from sources
6.1.3. Miscellaneous tricks
6.2. Internationalization (I18N)
6.2.1. Standard translation files
6.2.2. Main translation file
6.3. Shared properties
6.4. Plug-in life cycle
6.4.1. "Create" state
6.4.2. "Init" state
6.4.3. "Start" state
6.4.4. "Stop" state
6.4.5. "Destroy" state
6.5. Meta-information
6.6. Contextual menus
6.7. Alternative implementations
6.7.1. Data store
6.7.2. Graph manager
6.7.3. Graph
6.8. Development tracking
6.8.1. Release history
6.8.2. Foreseeable releases
6.8.3. Directions
6.8.4. Wish-list

In this chapter, we will discuss the subjects on which contributions from advanced users are encouraged, and the hooks YaTiSeWoBe offers to ease those contributions. This section supposes that you have at least some knowledge in computer programming, and more specifically with the Java language. Many tools and tutorials are available for free on the web to learn and help Java development skills. This document is by no means and introduction to those subjects. FIXME: add references

6.1. Compiling YaTiSeWoBe from sources

[Warning]Warning

missing procedure

[Warning]Warning

missing procedure

FIXME: organization of directories

YaTiSeWoBe development is automatized through an Ant v1.6+ [13] build script build.xml located in the YaTiSeWoBe source directory. We will discuss in the following section the details and requirements to compile the executable and the documentation from the source code.

You can obtain the list of available targets by issuing in the source directory:

example$ ant -projecthelp
Buildfile: build.xml
Use this file to build YaTiSeWoBe from source files. 
Type "ant -projecthelp" for help.
Main targets:

 clean            Remove any build generated files.
 release          Prepare a complete release.
 doc              Produce the project documentation in all formats.
 doc-check        Check that the manual is a valid DocBook-XML document.
 doc-collect      Collect link destinations from the document.
 doc.api          Produce the API documentation in javadoc format.
 doc.html         Produce the documentation in HTML format.
 doc.jhelp        Produce the documentation in Java Help format.
 doc.man          Produce the documentation in manpage format.
 doc.pdf          Produce the documentation in PDF format.
 jar              Produce the project runtime.
 macosx           Produce a MacOS X native application.
 pack             Produce all the packs for the application.
 pack.javaws      Produce a pack archive for the Java WebStart platform.
 pack.linux       Produce a pack archive for the GNU/Linux platform.
 pack.macosx      Produce a pack archive for the Apple MacOS X platform.
 pack.macosx.dmg  Produce a MacOS X native installer. Requires DropDMG.
 pack.source      Produce a pack archive containing the source files.
 pack.windows     Produce a pack archive for the Windows platform.
 test             Run JUnit unit tests for the complete source tree.
Default target: jar

example$ 

All the files generated by the ant command go in the directory named build that will be created when the first command is typed.

6.1.1. Compiling executable from sources

FIXME: add requirements section

FIXME: add procedure "compile src"

[Warning]Warning

missing console output

6.1.2. Compiling documentation from sources

Documentation is composed of the JavaDoc API description of the Java source code, and the "YaTiSeWoBe: User's and Contributor's Guide" you are currently reading. Both documents can be generated with the help of ant. The Guide can be produced in HTML, JavaHelp, and PDF formats if you have the proper tools installed and available on your computer.

FIXME: add requirements section, details on local configuration

example$ ant doc       # generate all documentation formats
example$ ant doc.api   # generate javadoc API documentation
example$ ant doc.html  # generate guide in HTML format
example$ ant doc.jhelp # generate guide in JavaHelp format
example$ ant doc.pdf   # generate guide in PDF format

6.1.3. Miscellaneous tricks

FIXME: add procedure "clean"

FIXME: add procedure "doc-check"

FIXME: add procedure "doc-collect"

FIXME: add procedure "release"

FIXME: comment on "java org.nhrg.apps.rv.RasterViewer --clear"