DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20427>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20427 Custom Task calls a perl script and then hangs ------- Additional Comments From [EMAIL PROTECTED] 2003-06-02 22:20 ------- Could you publish some extracts of your custom task showing how your custom task starts the Perl script ? Do you start the Perl script by delegating to ExecuteTask ? (corresponds to the tag <exec/> grep for getProject().createTask( in the source code of ant to see examples how this is done. an example from SignJar.java final ExecTask cmd = (ExecTask) getProject().createTask("exec"); cmd.setExecutable(JavaEnvUtils.getJdkExecutable("jarsigner")); if (maxMemory != null) { cmd.createArg().setValue("-J-Xmx" + maxMemory); } ... ... some arg creation skipped ... log("Signing Jar : " + jarSource.getAbsolutePath()); cmd.setFailonerror(true); cmd.setTaskName(getTaskName()); cmd.execute(); I am not sure that really a bug of ant is behind your problem, it sounds more like an API usage question.