You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2007/03/20 00:57:08 UTC
DO NOT REPLY [Bug 41895] New: - exec input="inpfile" doesn't work
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41895>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=41895
Summary: exec input="inpfile" doesn't work
Product: Ant
Version: 1.7.0
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: blocker
Priority: P2
Component: Core
AssignedTo: dev@ant.apache.org
ReportedBy: ehuyben@yahoo.com
CC: ehuyben@yahoo.com
Example:
The input file passw is not read. The same problem occurs by the
inputstring="abcde".
used java 1.6.0
<!-- create RSA private key for the root certificate -->
<exec executable="openssl.exe" input="${param2}/passw" timeout="3000"
failonerror="true">
<arg value="genrsa"/>
<arg value="-des3"/>
<arg value="-out"/>
<arg value="${param2}/${param1}.key"/>
<arg value="-rand"/>
<arg value="${param2}/.rand"/>
<arg value="1024"/>
</exec>
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
DO NOT REPLY [Bug 41895] - exec input="inpfile" doesn't work
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41895>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=41895
------- Additional Comments From robert.clark@quest.com 2007-03-19 17:17 -------
I don't think this is a bug in Ant. OpenSSL will generally not accept passphrase
input from stdin unless you explicitly allow it. It defaults to reading from
the console.
Try adding:
<arg value="-passout"/>
<arg value="stdin"/>
to the task and see if that does the trick for you.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org