White Paper: Supporting Java Style Comments in ABLDoc

Similar documents
Using update to install a Corticon Studio

White Paper: Addressing POODLE Security Vulnerability and SHA 2 Support in Progress OpenEdge in 10.2B08

Corticon Server: Web Console Guide

White Paper: Addressing POODLE vulnerability and SHA2 support in Progress OpenEdge HF

DataDirect Cloud Distribution Guide

Progress DataDirect for ODBC for Apache Cassandra Driver

Corticon Server: Web Console Guide

White Paper: ELK stack configuration for OpenEdge BPM

Guide to Creating Corticon Extensions

Progress DataDirect for ODBC for Apache Hive Wire Protocol Driver

Corticon Migration Guide

Corticon Installation Guide

The Progress DataDirect for

Progress DataDirect Connect Series for JDBC Installation Guide

Corticon Studio: Quick Reference Guide

Corticon Studio: Rule Language Guide

Corticon Studio: Quick Reference Guide

The Progress DataDirect Autonomous REST Connector for JDBC

Corticon Server: Web Console Guide

Progress DataDirect Hybrid Data Pipeline

The Progress DataDirect for

Corticon Server: Deploying Web Services with.net

Corticon EDC: Using Enterprise Data Connector

Corticon Studio: Quick Reference Guide

Progress DataDirect for JDBC for Apache Hive Driver

Corticon Server: Deploying Web Services with Java

OpenEdge. Database Essentials. Getting Started:

Corticon Server: Deploying Web Services with.net

Corticon Studio: Rule Language Guide

Corticon. Installation Guide

Corticon. Installation Guide

DataDirect Connect Series

What's New in Corticon

Corticon Foundation User Guide

OpenEdge : New Information. Service Pack

Progress DataDirect for ODBC Drivers. Installation Guide

Corticon Studio: Rule Modeling Guide

Corticon: Data Integration Guide

Corticon Extensions Guide

Progress DataDirect OpenAccess REST IP Generator User's Guide. Release 7.2

White Paper Version 1.0. Architect Preferences and Properties OpenEdge 10.2A

ARTIX PROGRESS. Using the Artix Library

Progress Application Server for OpenEdge (PASOE) Spring security configuration

Corticon Server: Deploying Web Services with Java

Corticon Studio: Rule Modeling Guide

Corticon Server: Deploying Web Services with Java

OpenEdge : New Information. Service Pack

Corticon Migration Guide

Corticon Studio: Installation Guide

Corticon Studio: Rule Language Guide

What's New in Corticon

Corticon Server: Integration & Deployment Guide

Progress DataDirect for JDBC for Oracle Eloqua

PSE Pro for Java Release Notes. Release 7.1

Java Browser User Guide

Corticon Server: Integration & Deployment Guide

ARTIX PROGRESS. Getting Started with Artix

Progress DataDirect for ODBC for Oracle Wire Protocol Driver

Progress DataDirect: OpenAccess for OpenEdge Application Server

Progress DataDirect. for ODBC for Apache Cassandra Driver. User's Guide and Reference. Release 8.0.0

Installing ObjectStore for Windows. Release 6.1 February 2003

ObjectStore Release Notes. Release 6.3

Managing ObjectStore. Release 6.1 Service Pack 2

Progress DataDirect for

Java Interface to ObjectStore Tutorial. Release 6.1 Service Pack 2

Progress DataDirect for JDBC for SQL Server

Progress DataDirect for

Java API User Guide. Release 6.1. February 2003

Building ObjectStore C++ Applications

Java Interface to ObjectStore Tutorial Release 6.1 February 2003

Orbix Mainframe. Release Notes. Version 6.3, July 2009

PROGRESS ORBIX. COMet Programmer s Guide and Reference

The OpenEdge Application Modernization Framework. Mike Fechner, Director, Consultingwerk Ltd.

The OpenEdge Application Modernization Framework. Mike Fechner, Director, Consultingwerk Ltd.

What s Next for OpenEdge

ARTIX PROGRESS. WSDL Extension Reference

REST in Peace Mastering the JSDO with a Dynamic ABL backend. Mike Fechner, Consultingwerk Ltd.

Corticon Studio: Extensions Guide

Corticon Studio: Extensions Guide

TIBCO Jaspersoft running in AWS accessing a back office Oracle database via JDBC with Progress DataDirect Cloud.

ObjectStore.NET COM Interop User Guide. Release 6.3

OpenEdge Legacy Application Modernization by Example. Mike Fechner, Consultingwerk Ltd.

Progress Software. Publication date 11 Aug 2011 Copyright Progress Software Corporation and/or its subsidiaries or affiliates.

Leverage the Power of Progress Developer Studio for OpenEdge. 8 th Oct, 2013

Webspeed. I am back. Enhanced WebSpeed

Kendo UI Builder. For Business Apps, UI/UX Reigns Supreme

Modernization and how to implement Digital Transformation. Jarmo Nieminen Sales Engineer, Principal

OpenEdge Developers Kit

OpenEdge Developers Kit

Mike Fechner Director

PDSOE Workspace Management and Organisation. Marko Rüterbories Senior Consultant

Mike Fechner, Consultingwerk Ltd.

ROLLBASE ACCESS TO ABL BUSINESS LOGIC VIA OPENCLIENT

Top 7 Data API Headaches (and How to Handle Them) Jeff Reser Data Connectivity & Integration Progress Software

HP Device Manager 4.7

What s New in OpenEdge 11.4?

Theme Editor User Manual by nop4you.com

IBM Cloud Orchestrator. Content Pack for IBM Endpoint Manager for Software Distribution IBM

Crystal Reports 10. Overview. Contents. Configuring JDBC (JNDI) Connectivity

OpenEdge 11 Strategy & Roadmap. Jarmo Nieminen Senior Solution Engineer, Nordics

Transcription:

White Paper: Supporting Java Style Comments in ABLDoc

Notices 2015 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved. These materials and all Progress software products are copyrighted and all rights are reserved by Progress Software Corporation.The information in these materials is subject to change without notice, and Progress Software Corporation assumes no responsibility for any errors that may appear therein. The references in these materials to specific platforms supported are subject to change. Business Making Progress, Corticon, DataDirect (and design), DataDirect Cloud, DataDirect Connect, DataDirect Connect64, DataDirect XML Converters, DataDirect XQuery, Deliver More Than Expected, Easyl, Fathom, Icenium, Kendo UI, Making Software Work Together, OpenEdge, Powered by Progress, Progress, Progress Control Tower, Progress RPM, Progress Software Business Making Progress, Progress Software Developers Network, Rollbase, RulesCloud, RulesWorld, SequeLink, SpeedScript, Stylus Studio, TeamPulse, Telerik, Test Studio, and WebSpeed are registered trademarks of Progress Software Corporation or one of its affiliates or subsidiaries in the U.S. and/or other countries. AccelEvent, AppsAlive, AppServer, BravePoint, BusinessEdge, DataDirect Spy, DataDirect SupportLink,, Future Proof, High Performance Integration, Modulus, NativeScript, OpenAccess, Pacific, ProDataSet, Progress Arcade, Progress Pacific, Progress Profiles, Progress Results, Progress RFID, Progress Progress Software, ProVision, PSE Pro, SectorAlliance, Sitefinity, SmartBrowser, SmartComponent, SmartDataBrowser, SmartDataObjects, SmartDataView, SmartDialog, SmartFolder, SmartFrame, SmartObjects, SmartPanel, SmartQuery, SmartViewer, SmartWindow, WebClient, and Who Makes Progress are trademarks or service marks of Progress Software Corporation and/or its subsidiaries or affiliates in the U.S. and other countries. Java is a registered trademark of Oracle and/or its affiliates. Any other marks contained herein may be trademarks of their respective owners. Please refer to the Release Notes applicable to the particular Progress product release for any third-party acknowledgements required to be provided in the documentation associated with the Progress product. The Release Notes can be found in the OpenEdge installation directory and online at: https://community.progress.com/technicalusers/w/openedgegeneral/1329.openedge-product-documentation-overview.aspx. For the latest documentation updates see OpenEdge Product Documentation on Progress Communities: (https://community.progress.com/technicalusers/w/openedgegeneral/ 1329.openedge-product-documentation-overview.aspx). May 2015 Last updated with new content: Release 11.5.1 3

Notices 4

Table of Contents Introduction...7 Hooking the Custom Comment Tag Parser...9 Hooking the Custom Comment Tag Parser to ABLDoc from Progress Developer Studio for OpenEdge.9 Hooking the Custom Comment Tag Parser to Your ABLDoc ANT Task...10 5

6

Introduction This document describes how to enable ABLDoc to recognize the Java style comment format. By default, ABLDoc recognizes only the comment format that Progress Developer Studio for OpenEdge provides, as in the following example: /*------------------------------------------------------------------------ File : EX Purpose : Syntax : Description : Author(s) : srireddy Created : Thu Apr 09 14:14:38 IST 2015 Notes : ----------------------------------------------------------------------*/ However, some of you could be using different comment formats such as Java style comment format, that ABLDoc does not recognize the comments. In such cases, OpenEdge might not generate your ABLDoc documentation accurately. Here is an example of Java style comment: /** * Comment summary, you could write much more here, * this could span multiple lines * * @param a First param description * @param b Second param description * @arbitraytag This is an arbitary tag * @return Returns void * */ To support Java style comments, ABLDoc now provides the abldoc-custom-tag-parser.rar file that contains the following files: JavaStyleCommentParser.java: Contains the custom comment tag parser source. Custom-comment-parser.jar: Contains the class file of the comment parser. Templates folder: Contains the modified templates to support Java style comments. abldoc.properties: Contains the modified file to include the custom tag parser name and path. This file is used while generating ABLDoc documentation. Note: You can use these files as references to extend the comment parser to support formats other than Java style comments. 7

Chapter 1: Introduction 8

Hooking the Custom Comment Tag Parser You can hook the custom comment tag parser from Progress Developer Studio for OpenEdge or from your ANT task depending on how you use ABLDoc. Hooking the Custom Comment Tag Parser to ABLDoc from Progress Developer Studio for OpenEdge To hook the custom comment tag parser from Progress Developer Studio for OpenEdge, do the following: 1. Copy the custom-comment-parser.jar file to a local directory. 2. Edit the abldoc.properties file available in the %DLC%\oeide\eclipse\plugins\com.progress.openedge.pdt.abldoc.ui location as follows: a. Add the JavaStyleCommentParser class name of the custom comment tag parser to the tagparser attribute. b. Add the location of the custom-comment-parser.jar file to the tagparserpath attribute. 3. Copy all the templates from the Templates folder into the %DLC%\oeide\eclipse\plugins\com.progress.openedge.pdt.abldoc.core_<version>\abldoc-artifacts\templates location in your local machine. Note: Take a back up of the existing templates in this location on your local machine before copying the templates. 4. Restart Progress Developer Studio for OpenEdge and generate the ABLDoc documentation for your sources. ABLDoc will now recognize Java style comments and generate documentation accordingly. Note: If ABLDoc does not recognize Java style comments, check if the tag parser name and the path specified in abldoc.properties file are correct. If ABLDoc cannot find the custom comment tag parser in the specified path, it uses the default tag parser that supports the default Progress Developer Studio Open Edge style comments style. 9

Chapter 1: Hooking the Custom Comment Tag Parser Hooking the Custom Comment Tag Parser to Your ABLDoc ANT Task To hook the custom comment tag parser to your ANT task, do the following: 1. Copy the custom-comment-parser.jar and place it in the ANT task s classpath. 2. Copy all the templates from the Templates folder into the %DLC%\oeide\eclipse\plugins\com.progress.openedge.pdt.abldoc.core_<version>\abldoc-artifacts\templates location in your local machine. Note: Take a back up of the existing templates in this location on your local machine before copying the templates. 3. Specify the fully qualified tagparser name in the tagparser property in the ABLDoc ANT task. 4. Specify the location of the artifact in the artifactloc property as in the following example: build.xml <abldoc destdir="${basedir}/docs" doctitle="abldoc Documentation" verbose="yes" includeextension="i" artifactloc="<artifact-location>}" tagparser="com.progress.openedge.pdt.abldoc.core.tag.javastylecommentparser"> </abldoc>... Note: For information about the other properties in the ABLDoc ANT task, refer to the Progress Developer Studio for OpenEdge online help. 5. Run the ABLDoc ANT task. ABLDoc will now recognize the Java style comments and generate documentation accordingly. Note: If ABLDoc still does not recognize the Java style comments, check if the tag parser name is correct or if the jar is correctly placed in the ANT classpath. If ABLDoc cannot find the custom comment tag parser in the ANT classpath, it uses the default tag parser that supports the default Progress Developer Studio Open Edge style comments. 10