Here are the steps you should follow:

1. Get the source for Ant 1.6.5
2. Download the patch file from the bug report.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36302
3. Patch the file
src/main/org/apache/tools/ant/util/TeeOutputStream.java in the 1.6.5
source
4. build
5. Copy ant.jar from the dist/lib directory of the source distribution
to %ANT_HOME%/lib
6. Test it

The issue you are interested in fixing is addressed by a patch to
TeeOutputStream.java, not the SSHExec.java file.

-Rob Anderson

> -----Original Message-----
> From: glenn opdycke-hansen [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, January 26, 2006 4:40 AM
> To: Ant Users List
> Subject: Re: sshexec fix for ant1.7 question
> 
> I was not clear.  What a meant by patching ant is updating 
> some ant source files from 1.7, eg SSHExec.java, and 
> rebuilding ant locally (with the build.bat file)
> 
> I see that the new files are written to dist/lib and to dist/bin.
> specifically, i see ant-jsch.jar and ant.jar and others files.
> 
> Should I copy the new jar files to an existing ant installation?
> What is the next step?
> 
> Please let me know if i am on the right track or if you have 
> other advice for this.
> 
> Thanks.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] For 
> additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to