Hi
I am unable to create documentation for a package body. I have tried to parse it from the file as well as the DB but it never creates a <package_name>.html as it creates for package spec.
It is working fine for the package spec but in my project, all comments are present in the package body code.
Please see below command line and the attached sql files.
./pldoc.sh -doctitle PKG_TEST -d /home/amlsad01/pldoc-0.9.5/test/ -verbose /home/amlsad01/pldoc-0.9.5/pkg_test.sql
./pldoc.sh -doctitle PKG_TEST -d /home/amlsad01/pldoc-0.9.5/test_db/ -verbose -url <db_url> -user <usr> -password <passwd> -sql PKG_TEST -types "'PACKAGE BODY'"
When I try it by removing types "Package Body", it generates doc from the package spec.
Please help urgently.
Thanks in advance
Gurpreet
Package Body
You need the \ characters to escape the quotation marks: e.g.
-types "\"PROCEDURE,FUNCTION,TRIGGER,PACKAGE,TYPE,PACKAGE BODY,TYPE BODY\""
Hi Stuart,
Thanks for the replying but using escape characters for PACKAGE BODY still did not resolve problem.
I tried using "\"PACKAGE BODY\"" as well as "'PACKAGE BODY'" (single quotes inside double quotes).
pldoc ran fine and it displayed the usage of PACKAGE BODY in all_objects query but no html file was created for my package. Rather an html file was created for the schema name.
Could you please help me with this issue?
Thanks,
Gurpreet
The information is parsed into application.xml as PACKAGE_BODY and OBJECT_BODY elements, but the XSLT scripts do not yet prices these elements.
Committing changes for 0.9.7
Hi Stuart,
This issue is now resolved with version 0.9.7
Thanks much for your kind help.
Grrpreet