Re: exec on batch file causes build to hang

2009-08-17 Thread Scott Stark
> Another possibility is to surround the task with the task. > The task will terminate the task after a certain period of > time. I don't know how well it works on Windows. Nice idea, but: BUILD FAILED C:\working\informix\stop_restart.xml:95: waitfor doesn't support the nested "exec" element.

Re: exec on batch file causes build to hang

2009-08-17 Thread David Weintraub
On Mon, Aug 17, 2009 at 11:00 AM, Scott Stark wrote: > > > Can you run the batch file outside of Ant from the command line without > the > > process hanging? > > Hi David, technically, yes. But the process (batch file) doesn't "hang"; it > executes a java tool and holds that state ("running") unt

Re: Reg:Selection of files on the basis of timestamp

2009-08-17 Thread David Weintraub
On Mon, Aug 17, 2009 at 10:25 AM, S G wrote: > Hi, > I have a folder which has files of different extension. > I have to select files on the basis of timestamp. > For eg : 5 days old. > How to do this? > Thanks & Regards > Sulabh Have you looked at this section: < http://ant.apache.org

Re: exec on batch file causes build to hang

2009-08-17 Thread Scott Stark
> Can you run the batch file outside of Ant from the command line without the > process hanging? Hi David, technically, yes. But the process (batch file) doesn't "hang"; it executes a java tool and holds that state ("running") until the process is terminated by another batch file. In other words,

Reg:Selection of files on the basis of timestamp

2009-08-17 Thread S G
Hi,     I have a folder which has files of different extension.     I have to select files on the basis of timestamp. For eg : 5 days old. How to do this? Thanks & Regards Sulabh

Creating and compiling a Blackberry Project in Eclipse using Ant

2009-08-17 Thread nirmalsat
Hi, I have this particular requirement. I would like to know if this is possible. If it is some sort of guidance would be of great help.Here goes- I need to create a Blackberry project using Eclipse and be able to compile it. The code would initially be in text file. A new project should be creat