<macrodef name="mysqldume">
    <attribute name="backuppath"/>
    <sequential>
        <exec ...><arg value="@{backuppath}"/></exec>
    </seqential>
</macrodef>

Jan

> -----Urspr�ngliche Nachricht-----
> Von: Rajesh [mailto:[EMAIL PROTECTED]
> Gesendet am: Mittwoch, 17. November 2004 14:20
> An: 'Ant Users List'
> Betreff: 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]
> 

Reply via email to