9
OraDoclet – Oracle Schema Documentation Generator Albert Guo [email protected]

Ora Doclet Oracle Schema Documentation Generator

Embed Size (px)

Citation preview

Page 1: Ora Doclet   Oracle Schema Documentation Generator

OraDoclet – Oracle Schema Documentation GeneratorAlbert Guo

[email protected]

Page 2: Ora Doclet   Oracle Schema Documentation Generator

Agenda

What is OraDoclet

OraDoclet Installation

OraDoclet Usage

Page 3: Ora Doclet   Oracle Schema Documentation Generator

What is OraDoclet

Page 4: Ora Doclet   Oracle Schema Documentation Generator

Overview

The purpose of OraDoclet is generation of the detailed database documentation resembling the JavaDoc style.

It is a custom doclet that functions either with the JavaDoc tool or as a standalone Java application.

The documentation generated has a form of static html files and describes all objects in the given Oracle database schema.

Page 5: Ora Doclet   Oracle Schema Documentation Generator

OraDoclet Installation

Page 6: Ora Doclet   Oracle Schema Documentation Generator

OraDoclet Installation

Requirements:

a) Java Virtual Machine, version 1.4 or later. http://java.sun.com

b) Oracle Server, version 8.1.6 or later. http://technet.oracle.com

c) Oracle Server Client (optional when using JDBC Thin driver) http://technet.oracle.com

Installation process:

a) Check the runtime environment. Type in shell "java -version“ to see the version number

b) Unpack OraDoclet files into the destination directory

c) The compilation may require the following libraries in the class path:

– %JAVA_HOME%\lib\tools.jar

– %ORACLE_HOME%\jdbc\lib\classes12.zip,where %ORACLE_HOME% is the directory where Oracle client components located

Page 7: Ora Doclet   Oracle Schema Documentation Generator

OraDoclet Usage

Page 8: Ora Doclet   Oracle Schema Documentation Generator

OraDoclet Usage

The most simple way to use OraDoclet is to run as a normal java application providing the necessary parameters in the command line.

java net.oradoclet.OraDoclet <dbconnect> [<output_directory> [<copyright_notice>]]

java -classpath ".;E:\mylib\Oracle\oradoclet.jar;E:\mylib\Oracle\ojdbc14.jar" net.oradoclet.OraDoclet pdm/[email protected]:1521:WIND E:\mylib\oradoclet-0.2\dbdoc PTC

Page 9: Ora Doclet   Oracle Schema Documentation Generator

Generation Results