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 150541 - Tests are running on Platform, duplicate platform9 cluster
Summary: Tests are running on Platform, duplicate platform9 cluster
Status: RESOLVED INCOMPLETE
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-17 14:08 UTC by Petr Chytil
Modified: 2010-10-15 20:46 UTC (History)
3 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.
Description Petr Chytil 2008-10-17 14:08:08 UTC
There are two weird things in System info, when ide is executed by testdistribution.
- it's the product version, which says NetBeans Platform Dev ..
- and installation showing two platform9 directories
It shows correct data (like RC1 and only one platform9) when ide is ran by it's launcher.

This is output from our tests executed using testdistribution:

    [junit] >Log Session: Friday, October 17, 2008 1:35:59 PM CEST
    [junit] >System Info: 
    [junit]   Product Version         = NetBeans Platform Dev (Build 200810170201)
    [junit]   Operating System        = Mac OS X version 10.5.5 running on i386
    [junit]   Java; VM; Vendor        = 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133; Apple Inc.
    [junit]   Runtime                 = Java(TM) 2 Runtime Environment, Standard Edition 1.5.0_16-b06-284
    [junit]   Java Home               = /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
    [junit]   System Locale; Encoding = en_US; MacRoman
    [junit]   Home Directory          = /Users/petr
    [junit]   Current Directory       = /Users/petr/Work/testy/testdist-200810170201/qa-functional
    [junit]   User Directory          =
/Users/petr/Work/testy/testdist-200810170201/qa-functional/work/org-netbeans-modules-java-editor/userdir0
    [junit]   Installation            = /Users/petr/Work/testy/netbeans/apisupport1
    [junit]                             /Users/petr/Work/testy/netbeans/cnd2
    [junit]                             /Users/petr/Work/testy/netbeans/enterprise5
    [junit]                             /Users/petr/Work/testy/netbeans/groovy1
    [junit]                             /Users/petr/Work/testy/netbeans/gsf1
    [junit]                             /Users/petr/Work/testy/netbeans/harness
    [junit]                             /Users/petr/Work/testy/netbeans/ide10
    [junit]                             /Users/petr/Work/testy/netbeans/identity2
    [junit]                             /Users/petr/Work/testy/netbeans/java2
    [junit]                             /Users/petr/Work/testy/netbeans/mobility8
    [junit]                             /Users/petr/Work/testy/netbeans/nb6.5
    [junit]                             /Users/petr/Work/testy/netbeans/php1
    [junit]                             /Users/petr/Work/testy/netbeans/profiler3
    [junit]                             /Users/petr/Work/testy/netbeans/ruby2
    [junit]                             /Users/petr/Work/testy/netbeans/soa2
    [junit]                             /Users/petr/Work/testy/netbeans/visualweb2
    [junit]                             /Users/petr/Work/testy/netbeans/webcommon1
    [junit]                             /Users/petr/Work/testy/netbeans/websvccommon1
    [junit]                             /Users/petr/Work/testy/netbeans/xml2
    [junit]                             /Users/petr/Work/testy/netbeans/platform9
    [junit]                             /Users/petr/Work/testy/netbeans/platform9
Comment 1 Jesse Glick 2008-10-17 22:44:06 UTC
First of all, are you sure you are running the test distro from 6.5 and not trunk?

The duplicate platform9 dir in the cluster list is probably harmless, but Yarda would know. Possibly a bug in NbModuleSuite.

Regarding the product version - NbModuleSuite does not have any facility to configure a specific branding token that I
know of. Probably you do not need to set a branding, but if you definitely do, then please file an RFE in xtest/nbjunit
(the correct component for NbModuleSuite).
Comment 2 Petr Chytil 2008-10-18 09:42:49 UTC
Yes, both test distro and IDE were 6.5 RC1 in this case. 

There is another unusual thing, which I do not understand. The Maven cluster was by accident present in early RC1 builds
and it's project type was present in new project wizard when ide was executed using the test dist. Surprisingly it was
not there when ide was started using it's launcher. So maybe it is not only about missing branding?
Comment 3 Jesse Glick 2008-11-07 02:43:33 UTC
Regarding Maven cluster - when the IDE is launched with netbeans.exe or whatever then etc/netbeans.conf is read and that
specifies an expected cluster list. NbModuleSuite ignores any bin/ or etc/ directories, it just loads whatever clusters
it finds.
Comment 4 Jesse Glick 2010-02-04 16:11:58 UTC
No known ill effects I guess? Still reproducible somehow?
Comment 5 Jesse Glick 2010-10-15 20:46:21 UTC
No recent info, maybe obsolete.