DocFlex/Doclet, Version 1.5.5

Release Notes


Table Of Contents


Package Contents

LICENSE.html DocFlex Freeware Edition License
README.html this file
doc/ documentation
*.bat Files prepared for Windows Installation:
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
linux/ Files prepared for Linux Installation:
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/docflex.config
  • DocFlex main configuration file prepared for Linux
lib/ DocFlex/Doclet Runtime Environment:
lib/docflex-doclet.jar
  • Java library compiled for Java 5 / Java 6 (the templates are embedded in this file as resources)
lib/docflex-doclet-1.4.jar
  • Java library compiled for Java 1.4
lib/docflex.config
  • DocFlex main configuration file prepared for Windows (contains locations of other config files and various important settings)
config/ Configuration files (created and updated dynamically):
config/generator.config
  • the Generator configuration file
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/Doclet 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/Doclet is a pure Java application, 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/Doclet immediately on those operating systems. See Windows Installation and Linux Installation respectively.

We were also reported that DocFlex/Doclet 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!

Limitations of Freeware Edition

The "DocFlex/Doclet" is a freeware edition of DocFlex/Javadoc and subject to the following limitations:
  1. The freeware edition has no specific limitations on the size or content of the processed Java projects neither on the output it generates. (It just makes all the DocFlex Technology is up to.)

  2. The Template Designer is not included in the freeware edition. You can neither create new templates nor modify the existing ones.

  3. All necessary templates provided with the freeware edition are built into the doclet Java library file.

    However, the freeware edition allows to execute any other DocFlex templates created with a properly licensed copy of the full version of DocFlex/Javadoc.

    If you purchase a commercial license, you can create your own templates and distribute them wherever you like, so other people can use your templates with the freeware DocFlex/Doclet edition without additional charge.

Installation

Windows Installation

To install DocFlex/Doclet on Windows, please follow these steps:
  1. Unzip the downloaded archive.
  2. Edit the generator.bat file in DocFlex/Doclet 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 this file from a different location, set also the DFH variable to the absolute pathname of the DocFlex/Doclet installation directory (e.g. set DFH=C:\docflex-doclet-1.5.5).
Now, everything must be ready. Just run generator.bat !

Linux Installation

To install DocFlex/Doclet on Linux, please follow these steps:
  1. Unzip the downloaded archive.
  2. Edit the generator.sh shell script file in linux subdirectory to specify the JDK variable according to the location of JDK1.5 or JDK1.6 installed on your system. Change "Permission" properties of this file to allow it to be executed by Linux.
Now, everything must be ready. Just run 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-doclet.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.

Under 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 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