I have written a new class that extends org.apache.tools.ant.Task
The task uses the java classes ProcessBuilder and Process to start an instance of plink.exe which in turn calls a shell script on my remote server.
When I run the new task directly under ant from my windows command prompt, all is fine the entire task completes.
When I run the same task under Teamcity (on the same windows box) using a build task that runs my ant task, the task starts and then seems to stall.
Is there something I need to do to get extensions of ant tasks to run properly under TeamCity?