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 144812 - Some builds failed with 'netbeans/harness not found'
Summary: Some builds failed with 'netbeans/harness not found'
Status: CLOSED DUPLICATE of bug 144863
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2008-08-22 07:28 UTC by Martin Krauskopf
Modified: 2008-08-25 16:06 UTC (History)
2 users (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.
Comment 1 Martin Krauskopf 2008-08-22 08:29:53 UTC
Problem seems to be that 'ide' cluster is build before 'harness' cluster. Since with the change in
nbbuild/templates/projectized.xml:

  http://hg.netbeans.org/main/diff/8647aaf569db/nbbuild/templates/projectized.xml

'db' modules which is part of 'ide' cluster depends on 'harness' cluster to be built. But it is not. Either there is
wrong build-order evaluation which should be 'harness -> ide' instead of 'ide, harness' or jhindexer task should not
depend on the 'harness' to be built as it was before the above change in projectized.xml.

Below seems to help:

  $ hg di nbbuild/templates/projectized.xml
  diff --git a/nbbuild/templates/projectized.xml b/nbbuild/templates/projectized.xml
  --- a/nbbuild/templates/projectized.xml
  +++ b/nbbuild/templates/projectized.xml
  @@ -297,9 +297,6 @@
                  <fileset dir="${nb_all}">
                      <include name="apisupport.harness/external/jsearch*.jar"/>
                  </fileset>
  -                <fileset dir="${netbeans.dest.dir}/harness">
  -                    <include name="jsearch*.jar"/>
  -                </fileset>
              </classpath>
              <include name="**/*.html"/>
              <exclude name="${javahelp.search}/"/>

but surely you had a reason for such change.
Comment 2 Martin Krauskopf 2008-08-22 08:37:57 UTC
Might be bug is that:

  nb.cluster.ide.depends=nb.cluster.platform

and 

  clusters.config.platform.list=\
          nb.cluster.harness,\
          nb.cluster.platform

But 'harness' is *not* built when before the 'ide'. Not sure how this is supposed to work.

Specifying dependency explicitly seems to help as well (and presumably better fix then the previous one):

  nb.cluster.ide.depends=\
          nb.cluster.platform,\
          nb.cluster.harness

(all in nbbuild/cluster-description.properties)
Comment 3 Martin Krauskopf 2008-08-22 08:40:51 UTC
Sure, should be "(all in nbbuild/cluster.properties)". To hasty with Vim file completion ;)
Comment 4 Jesse Glick 2008-08-22 18:19:50 UTC

*** This issue has been marked as a duplicate of 144863 ***
Comment 5 Martin Krauskopf 2008-08-25 06:40:07 UTC
Wrongly duplicated, BTW (144812 < 144863)
v/c
Comment 6 Jesse Glick 2008-08-25 16:06:09 UTC
I prefer to close as duplicate the issue which has less information or which has not already been resolved. Which issue
was filed first doesn't really matter.