ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Fisher <jfis...@myriad.com>
Subject Re: Attributes for several tasks all at once?
Date Wed, 11 Jul 2001 14:26:16 GMT
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 <stein@xtramind.com>
> To: <ant-user@jakarta.apache.org>
> 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" <saurabh.agarwal@wipro.com>
> > To: <ant-user@jakarta.apache.org>
> > 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


Mime
View raw message