ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29382] - GenKey task depends on path for java keytool
Date Fri, 04 Jun 2004 00:38:30 GMT
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=29382>.
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=29382

GenKey task depends on path for java keytool





------- Additional Comments From mbh@charter.net  2004-06-04 00:38 -------
keytool is named in GenerateKey.execute() (very near the end of org/apache/tools/ant/taskdefs/
GenerateKey.java):

        final ExecTask cmd = (ExecTask) getProject().createTask("exec");
        cmd.setExecutable("keytool");

Possible fix (change only to second line):
        final ExecTask cmd = (ExecTask) getProject().createTask("exec");
        cmd.setExecutable(JavaEnvUtils.getJdkExecutable("keytool"));

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message