[dbdoclet] Re: dbdoclet - program.dot.qualified-names

On Today at 4:13pm, MF=>Michael Fuchs <MichaelFuchs@xxxxxxxxxxx> wrote:

MF> Hello Haroon,
MF> 
MF> I tried to use the property program.dot.qualified-names with my sample
MF> code and it worked. Can you send me your dbdoclet.properties file ?
MF> 
MF> Bye
MF>   Michael

Hi Michael,

I replied to you off-list with 3 attachments:

1. dbdoclet.properties file
2. sample .dot file
3. sample .png file

I believe I have tracked the problem down in the source. Taking out this 
extra:
        bop.setFlag(false);
method call in DocletOptions.java seems to fix the fully qualified name 
issue for me.

Here's a diff:

diff -ru 
../dbdoclet-0.52-src.orig/src/java/com/mf/doclet/DocletOptions.java 
./src/java/com/mf/doclet/DocletOptions.java
--- ../dbdoclet-0.52-src.orig/src/java/com/mf/doclet/DocletOptions.java 
2003-12-01 14:36:37.000000000 -0500
+++ ./src/java/com/mf/doclet/DocletOptions.java 2003-12-05 
11:19:13.000000000 -0500
@@ -611,7 +611,6 @@
         // program.dot.qualified-names
         bopt = new BooleanOption();
         bopt.setPropertyName("program.dot.qualified-names");
-        bopt.setFlag(false);
         optList.add(bopt);
 
         // -nodeprecated, standard

Let me know if that was the problem. Now, I get fully qualified names if 
program.dot.qualified-names=true and I get unqualified names if
program.dot.qualified-names=false.

Cheers,
--
Haroon Rafique
<haroon.rafique@xxxxxxxxxxx>


Other related posts: