try setting a property
<property name="some option" value="some value"/>

then in each javac
<target name="many javacs">
     <javac srcdir="..." destdir="..." debug="${some option}"/>
     <javac srcdir="..." destdir="..." debug="${some option}"/>
     <javac srcdir="..." destdir="..." debug="${some option}"/>
 </target>

I think that is what you are asking, or at least the best I think it can be
done

Saurabh Agarwal wrote:

> Hey,
> Thats my fault, I misunderstood it!!!!!!!!!
> If anyone knows then tell me please!!!!
>
> ----- Original Message -----
> From: Ingmar Stein <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 11, 2001 5:46 PM
> Subject: Re: Attributes for several tasks all at once?
>
> > Man...
> >
> > he want to do the following:
> >
> > <target name="many javacs">
> >     <javac srcdir="..." destdir="..." debug="..."/>
> >     <javac srcdir="..." destdir="..." debug="..."/>
> >     <javac srcdir="..." destdir="..." debug="...""/>
> > </target>
> >
> > Now, he wants to set the options for each of the javac tasks all at once.
> >
> > ----- Original Message -----
> > From: "Saurabh Agarwal" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, July 11, 2001 2:11 PM
> > Subject: Re: Attributes for several tasks all at once?
> >
> >
> > > <target name="make-classes" >
> > >     <javac srcdir="${build_dir}\src"
> > >          destdir="${build_dir_classes}"
> > >          debug="on"
> > >          classpath="${classpath}"
> > >   >
> > >      </javac>
> > > </target>
> >
> >
>
>   ------------------------------------------------------------------------
>                            Name: Wipro_Disclaimer.txt
>    Wipro_Disclaimer.txt    Type: Plain Text (text/plain)
>                        Encoding: 7bit

Reply via email to