DocFlex/Javadoc, Version 1.5.5

Release Notes


Table Of Contents


Package Contents

LICENSE.html DocFlex Software License
README.html this file
doc/ DocFlex/Javadoc & DocFlex Technology Documentation
*.bat Files prepared for Windows Installation:
designer.bat
  • launches the Template Designer (Java 5 / Java 6)
designer-1.4.bat
  • the same for Java 1.4
generator.bat
  • starts Javadoc with DocFlex Doclet to generate a demo documentation (Java 5 / Java 6)
generator-1.4.bat
  • the same for Java 1.4
update_templates.bat
  • updates your templates according to new DocFlex/Javadoc version or new license
linux/ Files prepared for Linux Installation:
linux/designer.sh
  • shell script file to launch the Template Designer (Java 5 / Java 6)
linux/designer-1.4.sh
  • the same for Java 1.4
linux/generator.sh
  • shell script to start Javadoc with the DocFlex Doclet and generate a demo (Java 5 / Java 6)
linux/generator-1.4.sh
  • the same for Java 1.4
linux/update_templates.sh
  • shell script to update your templates according to new DocFlex/Javadoc version
linux/docflex.config
  • DocFlex main configuration file prepared for Linux
lib/ DocFlex/Javadoc Runtime Environment:
lib/docflex-javadoc.jar
  • Java library compiled for Java 5 / Java 6
lib/docflex-javadoc-1.4.jar
  • Java library compiled for Java 1.4
lib/docflex.config
  • DocFlex main configuration file prepared for Windows. This file contains locations of other config files and various important settings.
config/ Configuration files (created and updated dynamically):
config/designer.config
  • the Template Designer configuration file
config/generator.config
  • the Generator configuration file
templates/ Contains the Standard Template Sets:

templates/javadoc/

  • The default template set, which you can use to generate Java API documentation for any your projects in any of the supported output formats. It is the most comprehensive and up-to-date template set with the full support of all new Java 5 language features. However, it will equally work under Java 1.4. (See Simultaneous Support of Java 1.4 and Java 5 for more details.)

templates/javadoc-1.4/

  • The reduced template set, which was produced from the default one by removing any support of Java 5. It is based only on the features of Doclet API 1.4. This is roughly the same template set, which was provided by default before DocFlex/Javadoc 1.5 release. The reason why it is included now is to help you to understand how everything works. Since it is designed only for Java 1.4, this template set is substantially simpler than the current default one. Also, if your project does not involve Java 5 extra features (at least those to be documented), you may use this template set as a starting point for your own further customizations.
demo/ Java files for demo generation:
demo/java4/
  • Java 1.4 demo project
demo/java5/
  • Java 5.0 demo project
ant/ Ant example files:
ant/build.xml
  • A simple ANT buildfile to demonstrate integration of DocFlex Doclet with Apache Ant
ant/make.bat
  • The Windows command file to run Ant
ant/make.sh
  • The Linux shell script to run Ant
maven/ Maven 2 installation/example files (see also Running Maven Demo):
maven/install.bat
  • The Windows command file to install DocFlex Doclet into the Apache Maven repository.
maven/install.sh
  • The same prepared for Linux
maven/pom.xml
  • A sample Maven project file configured to generate with Maven a demo JavaDoc using DocFlex Doclet. (This file is used by site.bat and site.sh)
maven/site.bat
  • The Windows command file to generated a project site including a demo JavaDoc generated with DocFlex Doclet.
maven/site.sh
  • The same prepared for Linux

Technical Requirements

DocFlex/Javadoc requires the Javadoc Tool delivered with one of the following Java Development Kits: (JDK 6 may be preferable as it works considerably faster.)

Since DocFlex/Javadoc is a pure Java application (the Template Designer GUI is based entirely on Swing), it is supposed to work on any operating system with the installed JDK.

Specifically, the software includes both MS Windows BAT files and Linux shell script files to run DocFlex/Javadoc immediately on those operating systems. See Windows Installation and Linux Installation respectively.

We were also reported that DocFlex/Javadoc worked successfully under Mac OS X.

Simultaneous Support of Java 1.4 and Java 5

As you know, since JDK 5.0, the Doclet API has been extended to reflect the new language features introduced in Java 5. Because of this, a doclet developed for Java 5 won't work under Java 1.4 (otherwise is possible, of course).

However, as Java 1.4 may be still in use, we have decided in DocFlex/Javadoc v1.5.x to support both Java versions (i.e. the new Doclet API 1.5 and the old Doclet API 1.4).

Since the binaries compiled for Java 5 are not compatible with Java 1.4, now, DocFlex/Javadoc v1.5.x (both editions) includes two Java libraries: the one compiled for Java 5+ and another one compiled for Java 1.4.

The Doclet DSM, on which any DocFlex/Javadoc templates are based, is always the same. That is, the Java 5 functionality (i.e. the mapping of entire Doclet API 1.5 on a virtual XML document model) is present in both libraries. However, in the version compiled for Java 1.4, everything concerned Java 5 is emulated by the Doclet DSM Driver itself.

As a result, any templates designed for either Java version will work fine under both Java 5+ and Java 1.4 as well. The templates simply won't "notice" the difference!

Licensing / Processing Modes

Depending on your license, DocFlex/Javadoc may work in three different modes: limited, full or trial.

Limited Mode

The Limited Mode is covered by the Limited Free License. It is activated by default when no other licenses have been found. This mode allows you:

Full Mode

The Full Mode is activated in the presence of a Commercial or Academic License for DocFlex/Javadoc. This mode allows you:

Trial Mode

The Trial Mode is activated in the presence of a Trial License for DocFlex/Javadoc. In this mode, the software will work the same as in the full mode except the following limitations:

Installation

Windows Installation

To install DocFlex/Javadoc on Windows, please follow these steps:
  1. Unzip the downloaded archive.

  2. Edit *.bat files in DocFlex/Javadoc root directory to specify the JDK variable according to the location of JDK1.5 or JDK1.6 installed on your system.

  3. If you want to run those files from a different location, set also the DFH variable to the absolute pathname of the DocFlex/Javadoc installation directory (e.g. set DFH=C:\docflex-javadoc-1.5.5).

  4. Copy the DocFlex license key file docflex.license, which you must have received by e-mail, to lib directory. This file should always be near the docflex-javadoc.jar file!
Now, everything must be ready.
Just run designer.bat or generator.bat !

Linux Installation

To install DocFlex/Javadoc on Linux, please follow these steps:
  1. Unzip the downloaded archive.

  2. Edit *.sh shell script files contained in linux subdirectory to specify the JDK variable according to the location of JDK1.5 or JDK1.6 installed on your system.

    For each shell script file, edit its "Permission" properties to allow to be executed by Linux.

  3. Copy the DocFlex license key file docflex.license, which you must have received by e-mail, to lib directory. This file should always be near the docflex-javadoc.jar file!
Now, everything must be ready.
Just run designer.sh or generator.sh !

Running Maven Demo

First, of course, you need to have Maven 2 installed on your system.

If you do not have Maven yet, download it from the Apache Maven web-site: http://maven.apache.org/. The download archive will contain exactly the Maven home directory, which you may unpack at any location (e.g. C:\apache-maven-2.0.9).

Further, please follow these steps (Windows platform):

  1. Edit maven\install.bat to specify 'JAVA_HOME' and 'M2_HOME' variables according to the locations of Java and Maven 2 installed on your system. For example:
    set JAVA_HOME=C:\jdk1.6
    set M2_HOME=C:\apache-maven-2.0.9
  2. Switch the current directory to maven and run install.bat. This will install DocFlex Doclet (i.e. docflex-javadoc.jar containing its executable code) into the Maven repository.
  3. Run site.bat to generate the project web-site. After Maven ends you will see a new 'target' subdirectory.
  4. Open target\site\index.html file. Then, go to "Project Reports" and click "DocFlex Doclet Demo". You will see the demo JavaDoc generated by DocFlex Doclet.
On Linux, everything is the same except that, instead of *.bat, you should use *.sh command files.

Note: To pass those steps, Maven may need to download from Internet and install lots of plugins. (In fact, Maven is all made of various plugins, which it downloads from Internet dynamically as needed.) So, you must be connected to Internet during this.

Getting Help

We are always happy to hear any questions, suggestions, comments, etc. about this product.
Please, e-mail us to: support@docflex.com

Check the latest releases and documentation updates at: www.filigris.com.

Change Log

Version 1.5.5

Version 1.5.4

Version 1.5.3

Version 1.5.2

Version 1.5.1

Version 1.5.0

Version 1.4.11

Version 1.4.10

Version 1.4

Version 1.3

Version 1.2

Version 1.1

Version 1.0

The story starts here!

Copyright© 2008 Filigris Works, Leonid Rudy Softwareprodukte. All rights reserved.
To contact us, please visit www.filigris.com or e-mail to: contact@filigris.com