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 - JUnit plugin is not signed
Summary: JUnit plugin is not signed
Status: VERIFIED FIXED
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Stable (show other bugs)
Version: 7.0
Hardware: All All
: P1 normal (vote)
Assignee: pgebauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-07 10:59 UTC by Jiri Kovalsky
Modified: 2011-02-16 11:38 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 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 cluster.properties 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 (http://hg.netbeans.org/releases/rev/5c449a5785d3)
Comment 6 Jesse Glick 2011-02-10 17:59:27 UTC
(In reply to comment #5)
> The hot workaround added into beta2 branch
> (http://hg.netbeans.org/releases/rev/5c449a5785d3)

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

[defaults]
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 - http://hg.netbeans.org/releases/rev/c4653c02b9b3
Comment 9 Marian Mirilovic 2011-02-12 11:44:04 UTC
(In reply to comment #8)
> The workaround was applied for both JUnit libs -
> http://hg.netbeans.org/releases/rev/c4653c02b9b3

Jirka, could you please apply this also to beta branch ? Thanks a lot,
*Marian
Comment 10 Jesse Glick 2011-02-14 15:24:29 UTC
(In reply to comment #9)
>> http://hg.netbeans.org/releases/rev/c4653c02b9b3
> 
> 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 http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/1b3e333467a2
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: a workaround of #195122, don't worry unsigned junitlib