Comparing Java API's and JavaDocs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MarkoKlacar
    Recognized Expert Contributor
    • Aug 2007
    • 296

    #1

    Comparing Java API's and JavaDocs

    Hi,

    I need to, in some way, compare 2 JavaDocs with eachother in order to know what has the difference between them are.

    Now I've already tried using JDiff but I haven't been able to figure out how to use it to only compare my JavaDoc's and not my source files.

    This may sound wierd since the JavaDoc is generated from the source files, but in this case all I want to do is compare the JavaDoc's.

    Can anybody shed some light on my problem?

    Thanks!
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by MarkoKlacar
    Hi,

    I need to, in some way, compare 2 JavaDocs with eachother in order to know what has the difference between them are.

    Now I've already tried using JDiff but I haven't been able to figure out how to use it to only compare my JavaDoc's and not my source files.

    This may sound wierd since the JavaDoc is generated from the source files, but in this case all I want to do is compare the JavaDoc's.

    Can anybody shed some light on my problem?

    Thanks!
    Documentation written by different people are different in numerous ways. There's
    no (simple) way to compare the both. Why do you want to do that?

    kind regards,

    Jos

    Comment

    • MarkoKlacar
      Recognized Expert Contributor
      • Aug 2007
      • 296

      #3
      Hi Jos,

      I need to keep track of methods, variables, packages that in some way have changed. I know it's not a simple thing to do.

      Are you familiar with JDiff?

      I think it's a good idea, I was trying to find out if there exist similar solutions out there.

      Cheers

      Comment

      • JosAH
        Recognized Expert MVP
        • Mar 2007
        • 11453

        #4
        Originally posted by MarkoKlacar
        Hi Jos,

        I need to keep track of methods, variables, packages that in some way have changed. I know it's not a simple thing to do.

        Are you familiar with JDiff?

        I think it's a good idea, I was trying to find out if there exist similar solutions out there.

        Cheers
        I wouldn't take that route if I were you; use introspection on both classes instead.
        You have to load both versions of the class using different class loaders. Then
        disect both versions using introspection.

        kind regards,

        Jos

        Comment

        Working...