0 Replies Latest reply on Jan 26, 2013 10:05 PM by 987340

    error: cannot find symbol


      I want to generate the documentation for my project.
      I have an ant build.xml file.
      So I do :
      $ ant javadoc

      But I got a lot of errors about not found symbols.
      Example :
      [javadoc] /home/.../IXMLColorConstants.java:37: error: cannot find symbol
      [javadoc]      RGB TAG = new RGB(0, 0, 128);
      [javadoc]      ^
      [javadoc] symbol: class RGB
      [javadoc] location: interface IXMLColorConstants

      I don't know exactly why it doesn't find this RGB class which is located the the org.eclipse.swt.graphics.RGB package.

      But anyway, the doc is correctly generated.

      I just don't want to see these errors about external libraries.

      I just want that javadoc reports about errors about my internal classes.

      Is there a way to do this ?

      Thank you.

      This is a part of my ant file:
           <target name="javadoc">
                     additionalparam=" -author -private -encoding utf8 -docencoding utf8 -charset utf8 ">