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.
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
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.
No known problems in continuous builders. Built OK as of Aug 21.
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
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.
Found a JDK bug in handling certain (erroneous) Javadoc.
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!
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?
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.
I tried: cd nbbuild ant build-javadoc It was successful. Also 'ant -f jellytools/build.xml javadoc' works well.