Community
Participate
Working Groups
Trying to use the signjar Ant task if you do not specify certain parameters then the jarsigner tool that it executes will prompt you for them. For things like the password this is what you want to have happen as you do not want to put the password in your Ant build file. But there seems to be no way to enter the information. The SignJar task opens a comand prompt, but it doesn't accept the input. I can't enter it in the log console. If I close the window I then see the prompt in the log console.
*** Bug 20916 has been marked as a duplicate of this bug. ***
With support for the <input> task added via bug 25134, you can ask the user for input during the build. Or you could use a propertyfile that is appropriately secured. Does this meet your requirements?