ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erskine, Chris" <chris.ersk...@eds.com>
Subject RE: Writing system command as Task
Date Wed, 17 Nov 2004 13:28:27 GMT
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:rajesh@gkbcinc.com]
> 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: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de]
> Sent: Wednesday, November 17, 2004 6:38 PM
> To: user@ant.apache.org
> Subject: AW: Writing system command as Task
> 
> <exec>
> 
> Jan
> 
> > -----Urspr√ľngliche Nachricht-----
> > Von: Rajesh [mailto:rajesh@gkbcinc.com] Gesendet am: Mittwoch, 17.
> > November 2004 14:04
> > An: user@ant.apache.org
> > 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message