This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 62206 - Cannot build javadoc
Summary: Cannot build javadoc
Status: RESOLVED WORKSFORME
Alias: None
Product: qa
Classification: Unclassified
Component: Jellytools (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@qa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-12 09:55 UTC by webhsw
Modified: 2005-09-05 10:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description webhsw 2005-08-12 09:55:45 UTC
Javadoc cannot be build via target "build-javadoc"
Error message is:

C:\DEVEL\netbeans42\nbbuild\javadoctools\template.xml:303: Replace: source file
C:\DEVEL\netbeans42\nbbuild\build\javadoc\org-openide-loaders\overview-summary.html
doesn't exist
Comment 1 Jesse Glick 2005-08-12 16:30:22 UTC
Worked for me last I checked, and seems to be working for automated builder
machines. Need details to reproduce on a virgin source tree: how you got your
source tree (ZIP download? CVS command, and if so, what?), JDK you are using,
Ant version, exact Ant command. Since the problem may be specific to your
environment it would be best if you tried to track down and diagnose the problem
yourself first.
Comment 2 Jesse Glick 2005-08-24 06:41:23 UTC
No known problems in continuous builders. Built OK as of Aug 21.
Comment 3 webhsw 2005-08-25 07:39:50 UTC
I get source tree via CVS commands
-------------------------------------
set CVSROOT=:pserver:anoncvs@cvs.netbeans.org:/cvs

cvs login
cvs -z6 checkout -A -P versioncontrol
cvs -z6 checkout -A -P lexer
cvs -z6 checkout -A -P standard

-------------------------------------

I'm using ant 1.6.5 and JDK 1.5.0
-------------------------------------
My build commands are:

set JAVA_HOME=c:\programme\java\jdk1.5.0
set ANT_OPTS=-Xmx384m -Xincgc

cd nbbuild
call ant build

pause  

call ant build-javadoc

pause
---------------------------------

I always could build javadoc with this enviroment.
It fails since end of June 05
Comment 4 Jesse Glick 2005-08-25 16:51:48 UTC
Wait, I think I know what you are talking about. Seems to be some bug in JDK 1.5
which I will investigate and file. Use JDK 1.4 in the meantime.
Comment 5 Jesse Glick 2005-08-25 17:32:31 UTC
Found a JDK bug in handling certain (erroneous) Javadoc.
Comment 6 Jesse Glick 2005-08-25 17:40:03 UTC
Should be OK now.

Checking in openide/loaders/src/org/openide/loaders/InstanceSupport.java;
/cvs/openide/loaders/src/org/openide/loaders/InstanceSupport.java,v  <-- 
InstanceSupport.java
new revision: 1.12; previous revision: 1.11
done

Thanks for report!
Comment 7 webhsw 2005-08-26 09:12:52 UTC
Now the Javadoc build fails in the module jellytools. The error message is:
------------------------------------
    [javac]
C:\DEVEL\netbeans42\jellytools\src\org\netbeans\jellytools\util\FolderContext.java:242:
warning: [de
.openide.filesystems.FileObject has been deprecated
    [javac]             tp = fo.getFileSystem().getDisplayName() + '|' +
fo.getPackageName('|') + '|' + path;
    [javac]                                                                ^
    [javac]
C:\DEVEL\netbeans42\jellytools\src\org\netbeans\jellytools\util\FolderContext.java:244:
warning: [de
) in org.openide.filesystems.FileObject has been deprecated
    [javac]             throw new JemmyException("Cannot get filesystem for: " +
fo.getPackageNameExt('/', '.'),
    [javac]                                                                        ^
    [javac] 16 errors
    [javac] 25 warnings
  [nbmerge] Failed to build target: all-jellytools

BUILD FAILED
C:\DEVEL\netbeans42\nbbuild\build.xml:259: The following error occurred while
executing this line:
C:\DEVEL\netbeans42\nbbuild\build.xml:540: The following error occurred while
executing this line:
C:\DEVEL\netbeans42\nbbuild\templates\common.xml:80: Compile failed; see the
compiler error output for details.
-----------------------------

Is this module (jellytools) really needed for the NB build? Is is always checked
out by CVS via "stable or standard"
Can you give me a correct list of modules should be checked out to build a
correct NB release?
Comment 8 Jesse Glick 2005-08-26 10:31:22 UTC
Don't know about jellytools. (Nor did you include the actual error message, only
some irrelevant warnings.) It's in the "optional" list for Javadoc, anyway. It
is not needed for the IDE build.
Comment 9 Jiri Skrivanek 2005-09-01 12:25:20 UTC
I tried:

cd nbbuild
ant build-javadoc

It was successful. Also 'ant -f jellytools/build.xml javadoc' works well.