Ant FTP (transferring Unix-format file from Windows to Linux fails)

2005-08-24 Thread Sharad Jain
hang and properly transfers file to linux machine while also converting it to unix-format. However, I dont understand why it hangs when the file is in unix-format already ? Any ideas ? -sharad -- = Sharad Jain Gamma Technologies, Inc. 601 Oakmont

task does not support failonerror OR does it ?

2005-05-17 Thread Sharad Jain
It seems that there is no way to tell task to _fail_ when it is not able to unzip a zip-file. I am running a simple unzip-task on unix platform and when there is a read-only file that unzip-task is trying to overwrite, it just outputs following line but reports "BUILD SUCCESSFUL": [unzip] Unable t

Re: using ant for non-java builds?

2004-12-07 Thread Sharad Jain
ons, conclusions and other information in this message that do not relate to the official business of Transurban Limited and CityLink Melbourne Limited shall be understood as neither given nor endorsed by them. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Suppressing DOS window when calling Ant from Java

2004-11-15 Thread Sharad Jain
I am trying to embed Ant into my application. The following code gives me what I need. executeAnt(String antfile, String target, PrintStream myOut, PrintStream myErr, int logLevel) { ProjectHelper helper = ProjectHelper.getProjectHelper(); Project project = new Project(); proj