So, Rajesh, a good starting point would be to look at the code for the exec
task and use it to call your application.

Chris Erskine
 
EDS Consulting Services
F5-EDS-001
2424 Garden of the Gods Rd
Colorado Springs, CO  80919
 
Phone: 719-535-6064


> -----Original Message-----
> From: Rajesh [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 17, 2004 6:20 AM
> To: 'Ant Users List'
> Subject: RE: Writing system command as Task
> 
> Yes Jan
> 
> But i want it from my user defind task
> 
> <mysqldume backuppath="..." />
> 
> Inside this class what will i write only using java class Runtime execute
> 
> Or there is a better way
> 
> 
> Regards,
> 
> Rajmahendra R. Hegde
> GK Bharani Software Pvt. Ltd.
> 
> There are two ways of constructing a software design. One way is to make
> it
> so simple that there are obviously no deficiencies. And the other way is
> to
> make it so complicated that there are no obvious deficiencies.
>                                                     -- C.A.R. Hoare
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 17, 2004 6:38 PM
> To: [EMAIL PROTECTED]
> Subject: AW: Writing system command as Task
> 
> <exec>
> 
> Jan
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Rajesh [mailto:[EMAIL PROTECTED] Gesendet am: Mittwoch, 17.
> > November 2004 14:04
> > An: [EMAIL PROTECTED]
> > Betreff: Writing system command as Task
> >
> > Hai all
> >
> > i have a requirement of writing a windows command as a task, say mysql
> > dump command.
> >
> > is there a good way of doing it or i will go with Runtime execute
> > command ?
> >
> > please guide me.
> >
> > Regards,
> >
> > Rajmahendra R. Hegde
> > GK Bharani Software Pvt. Ltd.
> >
> > There are two ways of constructing a software design. One way is to
> > make it so simple that there are obviously no deficiencies. And the
> > other way is to make it so complicated that there are no obvious
> > deficiencies.
> >                                                     -- C.A.R. Hoare
> >
> >
> 
> 
> 
> ---------------------------------------------------------------------
> 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