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 195122

Summary: JUnit plugin is not signed
Product: updatecenters Reporter: Jiri Kovalsky <jkovalsky>
Component: StableAssignee: pgebauer <pgebauer>
Severity: normal CC: jglick, mmirilovic, pjiricka
Priority: P1    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jiri Kovalsky 2011-02-07 10:59:17 UTC
Product Version: NetBeans IDE 7.0 Beta 2 (Build 201102052128)
Java: 1.6.0_23; Java HotSpot(TM) 64-Bit Server VM 19.0-b09
System: Linux version 2.6.35-22-generic running on amd64; UTF-8; cs_CZ (nb)
Userdir: /home/cesilko/.netbeans/7.0beta2

Petr, please sign the JUnit plugin that must be downloaded from the Update Center when resolving conflicts in sample Java applications.
Comment 1 Marian Mirilovic 2011-02-08 15:20:51 UTC
Petr, this must be fixed before Beta 2. Taking into account junit related changes + this notification about problem during installation touching not-signed modules, doesn't look very professional.
Comment 2 pgebauer 2011-02-09 17:00:39 UTC
As I have discovered two modules have to be sign: org-netbeans-modules-junitlib.nbm and org-netbeans-libs-junit4.nbm. However didn't find them neither in the NetBeans IDE build nor in NetBeans AUCs.

Could somebody provide me their bits and a place where I should upload them?
Comment 3 Petr Jiricka 2011-02-09 17:15:54 UTC
I am confused as well. I see libs.junit4 in the sources, but I don't see junitlib in anywhere in the sources. Also, should not both these modules be in somewhere, probably in nb.cluster.stableuc? Cc'ing Jesse to clarify - thanks.
Comment 4 Jesse Glick 2011-02-09 18:41:11 UTC
The NBMs are created on the fly, not downloaded, and they cannot be signed. The current implementation is temporary for b2. See bug #195041 for the expected new implementation.

*** This bug has been marked as a duplicate of bug 195041 ***
Comment 5 Jiri Rechtacek 2011-02-10 17:51:03 UTC
The hot workaround added into beta2 branch (
Comment 6 Jesse Glick 2011-02-10 17:59:27 UTC
(In reply to comment #5)
> The hot workaround added into beta2 branch
> (

The commit comment says "backported from trunk" which I guess was 1b3e333467a2. Better to use 'hg transplant' to backport fixes from trunk to branches and make sure your ~/.hgrc specifies

transplant = --log
Comment 7 Marian Mirilovic 2011-02-11 09:10:55 UTC
Mark as fixed for NB 7.0 Beta 2 - to keep it as a one of the fixed stopper.
Comment 8 Jiri Rechtacek 2011-02-12 08:48:19 UTC
The workaround was applied for both JUnit libs -
Comment 9 Marian Mirilovic 2011-02-12 11:44:04 UTC
(In reply to comment #8)
> The workaround was applied for both JUnit libs -

Jirka, could you please apply this also to beta branch ? Thanks a lot,
Comment 10 Jesse Glick 2011-02-14 15:24:29 UTC
(In reply to comment #9)
> could you please apply this also to beta branch?

What _was_ the beta branch.

(The original fix was reverted in post-beta trunk since it is no longer necessary after the fix of bug #195041.)
Comment 11 Marian Mirilovic 2011-02-14 15:39:35 UTC
Yes, verified in latest Beta 2 build
Comment 12 Quality Engineering 2011-02-16 11:38:43 UTC
Integrated into 'main-golden', will be available in build *201102160501* on (upload may still be in progress)
User: Jiri Rechtacek <>
Log: a workaround of #195122, don't worry unsigned junitlib