Error when tryying to export a feature with digital signing [message #443674] |
Thu, 02 February 2006 16:12  |
Eclipse User |
|
|
|
I've been trying to export a feature/plug-in so that I can use it with Java WebStart. I've added the -vm argument to a shortcut so that it is definitely running on a jdk. I've created a keystore which I've used to sign other jars so I know that works.
The problem is that when I run the export wizard, I get the following error in a dialog:
C:\dev\plugin\assemble.plugin_feature.win32.win32.x86.xml:65 : The following error occurred while executing this line:
C:\dev\plugin\assemble.plugin_feature.win32.win32.x86.xml:28 : exec returned: 1
I managed to snatch a copy of this file before eclipse deletes it and ran it myself using ant. When doing so I get the following error:
[signjar] jarsigner error: java.lang.RuntimeException: keystore load: C:\dev\plugin\${sign.keystore} (The system cannot find the file specified)
Does anyone have any idea why this would happen? I've tried it in Eclipse 3.1.1 and 3.1.2 with the same results.
Drew
|
|
|
|
Re: Error when tryying to export a feature with digital signing [message #449037 is a reply to message #444712] |
Tue, 09 May 2006 03:35  |
Eclipse User |
|
|
|
I have the same problem. However, I have changed the keypass and the
keystore passwords to be the same and I am still seeing the problem. It is
not that big a deal as I can work around the problem by signing the jar
files using a batch file after Eclipse has built them, but it would be nice
if Eclipse could sign them. If I have time maybe I will debug the Eclipse
code and see what is going on.
The error message is, of course, quite useless.
Nigel Westbury
"Thorsten Schlathoelter" <tschlat@gmx.de> wrote in message
news:dt82be$3id$1@utils.eclipse.org...
> Hi,
>
> i have stumbled over the same problem. In my case the reason was that i
had
> chosen different keypass (-keypass) and keystore (-keystore) passwords
when
> generating my keystore. If you manually try to sign the jar, you will be
> asked to enter the keypass for the respective alias. If it is the same as
> the keystore password you will not get prompted. Prompting obviously
doesn't
> work when automatically running from an ant script. Therefore you need to
> have same passwords for keystore and keypass.
>
> see also
> http://java.sun.com/j2se/1.3/docs/tooldocs/win32/keytool.htm l
>
> Hope this helps.
>
> Bye Thorsten
>
> "Andrew Elegante" <aelegante@qcomm.com> wrote in message
> news:8276739.1138914787457.JavaMail.root@cp1.javalobby.org...
> > I've been trying to export a feature/plug-in so that I can use it with
> > Java WebStart. I've added the -vm argument to a shortcut so that it is
> > definitely running on a jdk. I've created a keystore which I've used to
> > sign other jars so I know that works.
> >
> > The problem is that when I run the export wizard, I get the following
> > error in a dialog:
> >
> > C:\dev\plugin\assemble.plugin_feature.win32.win32.x86.xml:65 : The
> > following error occurred while executing this line:
> > C:\dev\plugin\assemble.plugin_feature.win32.win32.x86.xml:28 : exec
> > returned: 1
> >
> > I managed to snatch a copy of this file before eclipse deletes it and
ran
> > it myself using ant. When doing so I get the following error:
> >
> > [signjar] jarsigner error: java.lang.RuntimeException: keystore load:
> > C:\dev\plugin\${sign.keystore} (The system cannot find the file
specified)
> >
> > Does anyone have any idea why this would happen? I've tried it in
Eclipse
> > 3.1.1 and 3.1.2 with the same results.
> >
> > Drew
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03541 seconds