Thanks ;)

On Dec 19, 2007 5:05 PM, <[EMAIL PROTECTED]> wrote:

> <project>
>  <presetdef name="echo">
>    <echo message="hello"/>
>  </presetdef>
>  <echo/>
> </project>
>
>
> Jan
>
> > -----Ursprüngliche Nachricht-----
> > Von: Dimitris Mouchritsas [mailto:[EMAIL PROTECTED]
> > Gesendet: Mittwoch, 19. Dezember 2007 15:56
> > An: Ant Users List
> > Betreff: Redefining a task
> >
> > Hi everyone, is there a way I can redefine a task to have some default
> > attributes?
> > For example I would like to redefine the javac task to use
> > source="1.4",
> > target="1.4", debug="true" always
> > without needing to define them each time I call the task. Any
> > other property
> > used should be passed to the
> > original task unaltered. Thanks.
> >
> > --
> > Dimitris Mouchritsas
> > Computer Services
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Dimitris Mouchritsas
Computer Services

Reply via email to