# S368TOPL.def: Collects TopLink Information # $Id: S368TOPL.def,v 1.1 2009/08/07 18:21:31 mschenke Exp $ # ARCS: $Header: /u02/webapps/workbench/cvs/RDA_4/src/scripting/lib/modules/S368TOPL.def,v 1.1 2009/08/07 18:21:31 mschenke Exp $ # # Change History # 20090717 JJU Initial Version. =head1 NAME S368TOPL - Collects TopLink Information =head1 DESCRIPTION This module collects TopLink-related diagnostic information. The following reports can be generated and are regrouped under C: =cut echo tput('bold'),'Processing TopLink ...',tput('off') # Initialization var $ORACLE_HOME = getSetting('ORACLE_HOME','') var $TOPLINK_JLIB = catDir($ORACLE_HOME,'toplink','jlib') var $TOC = '%TOC%' var $TOP = '[[#Top][Back to top]]' pretoc '1:TopLink' =head2 manifest - Manifest Information When F is available, extracts the manifest from the following files located in the F<$ORACLE_HOME/toplink/jlib> directory: =over 4 =item o F =item o F =item o F =item o F =item o F =back =cut if findCommand('unzip') {var $pgm = last report manifest loop $fil ('tljaxb.jar',\ 'tlmwcore.jar',\ 'toplink.jar',\ 'toplink-deprecated.jar',\ 'toplink-oc4j.jar') {next !testFile('f',catFile($TOPLINK_JLIB,$fil)) debug ' Inside TOPL module, extracting ',$fil,' manifest' prefix {if !isCreated() {write '---+!! Manifest Information' write $TOC } write '---+ ',$fil,' Manifest' } var $cmd = concat($pgm,' -p ',lastCommand(),' META-INF/MANIFEST.MF') call writeCommand($cmd) if hasOutput(true) write $TOP } if isCreated() toc '2:[[',getFile(),'][rda_report][Manifest Information]]' } =head2 jlib - jlib Directory Contents Lists the contents of F<$ORACLE_HOME/toplink/jlib> directory. =cut debug ' Inside TOPL module, listing the jlib directory contents' report jlib prefix write '---+ Contents of the jlib Directory' call statDir('n',$TOPLINK_JLIB) if isCreated(true) toc '2:[[',getFile(),'][rda_report][jlib Directory Contents]]' unpretoc =begin credits =over 10 =item RDA 4.17: Anjani Sankar, Miguel Hernandez =back =end credits =head1 COPYRIGHT NOTICE Copyright (c) 2002-2009, Oracle. All rights reserved. =head1 TRADEMARK NOTICE Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. =cut