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 95196 - makenbm can't provide keypass to jarsigner
Summary: makenbm can't provide keypass to jarsigner
Status: RESOLVED WONTFIX
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-12 08:20 UTC by err
Modified: 2013-01-10 08:28 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
verbose build output, exception (3.01 KB, text/plain)
2007-02-12 08:21 UTC, err
Details

Note You need to log in before you can comment on or make changes to this bug.
Description err 2007-02-12 08:20:22 UTC
With JDK 1.6
This create NBM shows the basic problem
  jarsigner: you must enter key password
  Enter key password for jvi: 
  C:\a\j\netbeans-5.5\harness\common.xml:281: exec returned: 1
attached is some verbose build output.

It seems like the system is assuming that the storepass and keypass are the same.
Comment 1 err 2007-02-12 08:21:17 UTC
Created attachment 38335 [details]
verbose build output, exception
Comment 2 Jesse Glick 2007-02-13 00:43:54 UTC
There is no support for keypasses currently, only a storepass. Trying making a
new keystore with just a storepass.
Comment 3 err 2007-02-13 00:54:03 UTC
Yes, storepass only works. I played around with manually running jarsigner
directly after the NBMs are built, but decided I'd forget to do it at just the
wrong time.
Comment 4 Jesse Glick 2007-02-13 00:57:44 UTC
Of course you can simply omit the keystore information passed to the standard
task and build script, and add an override in your build.xml which calls the
regular impl and then also runs <jarsigner>.
Comment 5 err 2007-02-13 01:07:50 UTC
Right, I didn't think that all the way through. My first thought about putting
stuff in build.xml was that I'd forget to take out "secret" info before
submitting to public CVS. But I can put the info in private, *with a different
name*. 
Comment 6 Jaroslav Tulach 2013-01-10 08:28:29 UTC
A bit dizzy report. Just provide patch to the task and build scripts, if you want me to review it.