0 Replies Latest reply: Jan 26, 2013 4:05 PM by 987340 RSS

    error: cannot find symbol

    987340
      Hello,

      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.
      Regards.

      This is a part of my ant file:
      [...]
           <target name="javadoc">
                <javadoc
                     sourcepath="src"
                     destdir="doc"
                     additionalparam=" -author -private -encoding utf8 -docencoding utf8 -charset utf8 ">
                </javadoc>
           </target>
      [...]