Bug 68259 - problems reported by Javadoc for JDT plug-ins
Summary: problems reported by Javadoc for JDT plug-ins
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.0 RC4   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-22 22:01 EDT by Jim des Rivieres CLA
Modified: 2004-06-24 09:29 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim des Rivieres CLA 2004-06-22 22:01:33 EDT
Build I200406222000

http://eclipsedrops.ott.oti.com/downloads/master/downloads/drops/I-I20040622-
200406222000/compilelogs/jdt.doc.isv.javadoc.txt

These are 22 complaints that Javadoc has with the doc comments in the JDT plug-
ins:

/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/core/CheckDebugAttributes.java
:18: package org.apache.tools.ant does not exist
import org.apache.tools.ant.BuildException;
                            ^
/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/core/CheckDebugAttributes.java
:19: package org.apache.tools.ant does not exist
import org.apache.tools.ant.Task;
                            ^
/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/core/CheckDebugAttributes.java
:25: cannot resolve symbol
symbol  : class Task 
location: class org.eclipse.jdt.core.CheckDebugAttributes
public class CheckDebugAttributes extends Task {
                                          ^
/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/core/CheckDebugAttributes.java
:30: cannot resolve symbol
symbol  : class BuildException 
location: class org.eclipse.jdt.core.CheckDebugAttributes
	public void execute() throws BuildException {
                                     ^
/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/core/JDTCompilerAdapter.java:1
9: package org.apache.tools.ant does not exist
import org.apache.tools.ant.BuildException;
                            ^
/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/core/JDTCompilerAdapter.java:2
0: package org.apache.tools.ant does not exist
import org.apache.tools.ant.Project;
                            ^
/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/core/JDTCompilerAdapter.java:2
1: package org.apache.tools.ant.taskdefs does not exist
import org.apache.tools.ant.taskdefs.Javac;
                                     ^
/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/core/JDTCompilerAdapter.java:2
2: package org.apache.tools.ant.taskdefs.compilers does not exist
import org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter;
                                               ^
/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/core/JDTCompilerAdapter.java:2
3: package org.apache.tools.ant.types does not exist
import org.apache.tools.ant.types.Commandline;
                                  ^
/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/core/JDTCompilerAdapter.java:2
4: package org.apache.tools.ant.types does not exist
import org.apache.tools.ant.types.FileSet;
                                  ^
/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/core/JDTCompilerAdapter.java:2
5: package org.apache.tools.ant.types does not exist
import org.apache.tools.ant.types.Path;
                                  ^
/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/core/JDTCompilerAdapter.java:2
6: package org.apache.tools.ant.util does not exist
import org.apache.tools.ant.util.JavaEnvUtils;
                                 ^
/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/core/JDTCompilerAdapter.java:4
2: cannot resolve symbol
symbol  : class DefaultCompilerAdapter 
location: class org.eclipse.jdt.core.JDTCompilerAdapter
public class JDTCompilerAdapter extends DefaultCompilerAdapter {
                                        ^
/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/core/JDTCompilerAdapter.java:5
1: cannot resolve symbol
symbol  : class BuildException 
location: class org.eclipse.jdt.core.JDTCompilerAdapter
	public boolean execute() throws BuildException {
                                        ^
/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/core/JDTCompilerAdapter.java:7
4: cannot resolve symbol
symbol  : class Commandline 
location: class org.eclipse.jdt.core.JDTCompilerAdapter
	protected Commandline setupJavacCommand() throws BuildException {
                  ^
/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/core/JDTCompilerAdapter.java:7
4: cannot resolve symbol
symbol  : class BuildException 
location: class org.eclipse.jdt.core.JDTCompilerAdapter
	protected Commandline setupJavacCommand() throws BuildException {
                                                         ^
/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/core/JDTCompilerAdapter.java:3
36: cannot resolve symbol
symbol  : class Path 
location: class org.eclipse.jdt.core.JDTCompilerAdapter
    private void addExtdirs(Path extDirs, Path classpath) {
                            ^
/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/core/JDTCompilerAdapter.java:3
36: cannot resolve symbol
symbol  : class Path 
location: class org.eclipse.jdt.core.JDTCompilerAdapter
    private void addExtdirs(Path extDirs, Path classpath) {
                                          ^



/org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/particip
ants/MoveRefactoring.java:43: warning - @return tag has no arguments.

/org.eclipse.jdt.debug/eval/org/eclipse/jdt/debug/eval/IAstEvaluationEngine.jav
a:101: warning - @param argument "thisContext" is not a parameter name.

/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/refactoring/RenameSupport.java:268: 
warning - Parameter "flags" is documented more than once.
/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/refactoring/RenameSupport.java:309: 
warning - @param argument "method" is not a parameter name.

22 warnings
Comment 1 Dirk Baeumer CLA 2004-06-23 09:56:47 EDT
CCing Philippe since most of the problems are in JDT/Core land.
Comment 2 Dirk Baeumer CLA 2004-06-23 09:58:44 EDT
CCing Darin as well since there is one in debug land

/org.eclipse.jdt.debug/eval/org/eclipse/jdt/debug/eval/IAstEvaluationEngine.jav
a:101: warning - @param argument "thisContext" is not a parameter name.

Comment 3 Darin Swanson CLA 2004-06-23 10:49:46 EDT
I have cleaned up the debug problem.
Comment 4 Dirk Baeumer CLA 2004-06-23 10:55:45 EDT
Fixed the cases in JDT/UI land. Moving on to JDT/Core.
Comment 5 Philipe Mulet CLA 2004-06-23 11:01:32 EDT
JDTCore issues are smelling like a configuration issue in javadoc tool itself. 
Frederic - pls investigate.
Comment 6 Frederic Fusier CLA 2004-06-23 12:10:27 EDT
Fixed by Jeem.

Problem came from missing classpath entry "../org.apache.ant/ant.jar;" javadoc
options file: org.eclipse.jdt.doc.isv/jdtOptions.txt
Comment 7 Frederic Fusier CLA 2004-06-24 05:38:21 EDT
Jeem,
It still fails in I200406231717 build. Looking at path to ant.jar in -classpath,
it seems that it should be "../org.apache.ant/lib/ant.jar;" instead of
"../org.apache.ant/ant.jar;" as you added it yesterday.

If you agree, I'll commit the change and request Markus Keller for a new version
of doc.map.

Thx
Comment 8 Frederic Fusier CLA 2004-06-24 06:00:51 EDT
Fixed jdtOptions.txt and released in HEAD as ZRH has planned an input on doc.isv
for 8:00 AM build...
Comment 9 Jim des Rivieres CLA 2004-06-24 09:29:28 EDT
Good find Frederic. I'll fix the Linux file too (jdtOptions no ".txt") for the 
12:00 EDT build.