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 188501 - cannot build javadoc
Summary: cannot build javadoc
Status: RESOLVED INVALID
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: nbbuild-issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-08 16:58 UTC by fordfrog
Modified: 2010-07-08 17:38 UTC (History)
1 user (show)

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 fordfrog 2010-07-08 16:58:36 UTC
while trying to build javadoc for netbeans 6.9 using the command below, it fails with error. i used sources from netbeans-6.9-201006101454-src.zip.

command:

ant '-Dstop.when.broken.modules=true' '-Dbuild.compiler.debug=false' '-Dbuild.compiler.deprecation=false' '-Dnb.clusters.list=nb.cluster.platform,nb.cluster.apisupport,nb.cluster.cnd,nb.cluster.dlight,nb.cluster.enterprise,nb.cluster.ergonomics,nb.cluster.groovy,nb.cluster.harness,nb.cluster.ide,nb.cluster.identity,nb.cluster.java,nb.cluster.mobility,nb.cluster.nb,nb.cluster.php,nb.cluster.profiler,nb.cluster.ruby,nb.cluster.websvccommon' '-f' 'nbbuild/build.xml' '-Dergonomic.clusters.extra=../../ergonomics_build_fix' 'build-nozip' 'build-javadoc'

output:

javadoc-init:
   [delete] Deleting: /home/fordfrog/src/gentoo/tmp/netbeans-6.9/nbbuild/build/tmp/javadoc-colors/org-apache-xml-resolver.txt
     [arch] Replacing entity -//W3C//DTD XHTML 1.0 Strict//EN at http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd with file:/home/fordfrog/src/gentoo/tmp/netbeans-6.9/nbbuild/external/xhtml1-dtds/xhtml1-strict.dtd
     [arch] /home/fordfrog/src/gentoo/tmp/netbeans-6.9/nbbuild/javadoctools/arch-empty.xml: answers were created for questions version "1.23" but current version of questions is "1.29"
     [arch] /home/fordfrog/src/gentoo/tmp/netbeans-6.9/nbbuild/javadoctools/arch-empty.xml: some questions have not been answered: [arch-where, compat-deprecation, exec-ant-tasks, resources-preferences, security-grant, security-policy]
     [arch] Run with -Darch.generate=true to add missing questions into the end of question file
     [arch] Using /home/fordfrog/src/gentoo/tmp/netbeans-6.9/nbbuild/javadoctools/export2color.xsl as the XSL stylesheet
     [arch] Transforming /home/fordfrog/src/gentoo/tmp/netbeans-6.9/nbbuild/javadoctools/arch-empty.xml into /home/fordfrog/src/gentoo/tmp/netbeans-6.9/nbbuild/build/tmp/javadoc-colors/org-apache-xml-resolver.txt

javadoc-check-timestamps:

javadoc-generate-references:

javadoc-generate-overview:
   [delete] Deleting: /home/fordfrog/src/gentoo/tmp/netbeans-6.9/nbbuild/build/tmp/overview/org-apache-xml-resolver-overview-generic.html
     [arch] Replacing entity -//W3C//DTD XHTML 1.0 Strict//EN at http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd with file:/home/fordfrog/src/gentoo/tmp/netbeans-6.9/nbbuild/external/xhtml1-dtds/xhtml1-strict.dtd
     [arch] /home/fordfrog/src/gentoo/tmp/netbeans-6.9/nbbuild/javadoctools/arch-empty.xml: answers were created for questions version "1.23" but current version of questions is "1.29"
     [arch] /home/fordfrog/src/gentoo/tmp/netbeans-6.9/nbbuild/javadoctools/arch-empty.xml: some questions have not been answered: [arch-where, compat-deprecation, exec-ant-tasks, resources-preferences, security-grant, security-policy]
     [arch] Run with -Darch.generate=true to add missing questions into the end of question file
     [arch] Reading apichanges from /home/fordfrog/src/gentoo/tmp/netbeans-6.9/nbbuild/javadoctools/apichanges-empty.xml
     [arch] Replacing entity -//W3C//DTD XHTML 1.0 Strict//EN at file:/home/fordfrog/src/gentoo/tmp/netbeans-6.9/nbbuild/external/xhtml1-dtds/xhtml1-strict.dtd with file:/home/fordfrog/src/gentoo/tmp/netbeans-6.9/nbbuild/external/xhtml1-dtds/xhtml1-strict.dtd
     [arch] Reading project from /home/fordfrog/src/gentoo/tmp/netbeans-6.9/o.apache.xml.resolver/nbproject/project.xml
     [arch] Using /home/fordfrog/src/gentoo/tmp/netbeans-6.9/nbbuild/javadoctools/exportOverview.xsl as the XSL stylesheet
     [arch] Transforming /home/fordfrog/src/gentoo/tmp/netbeans-6.9/nbbuild/javadoctools/arch-empty.xml into /home/fordfrog/src/gentoo/tmp/netbeans-6.9/nbbuild/build/tmp/overview/org-apache-xml-resolver-overview-generic.html

javadoc-exec-condition:

javadoc-make-plain-title:

javadoc-make-hyperlinked-title:

javadoc-exec-files:

-javadoc-set-footer:

javadoc-exec-packages:

BUILD FAILED
/home/fordfrog/src/gentoo/tmp/netbeans-6.9/nbbuild/build.xml:256: The following error occurred while executing this line:
/home/fordfrog/src/gentoo/tmp/netbeans-6.9/nbbuild/javadoctools/build.xml:73: The following error occurred while executing this line:
/home/fordfrog/src/gentoo/tmp/netbeans-6.9/nbbuild/templates/projectized.xml:235: The following error occurred while executing this line:
/home/fordfrog/src/gentoo/tmp/netbeans-6.9/nbbuild/javadoctools/template.xml:303: No source files and no packages have been specified.

Total time: 9 minutes 34 seconds
Comment 1 Jesse Glick 2010-07-08 17:09:38 UTC
Why are you building Javadoc for o.apache.xml.resolver? This is a library wrapper module, and it is not included in the Javadoc list in nbbuild/build.properties. Do not pass nb.clusters.list to the build-javadoc target.
Comment 2 fordfrog 2010-07-08 17:38:27 UTC
ah, i did not know i cannot build javadoc along with netbeans if specifying clusters for build-nozip. up to that, afaik this used to work up till netbeans 6.8 without problems.