On Wed, 11 Jul 2001, Steffen Euch <[EMAIL PROTECTED]> wrote:
> Is it possible to set the attributes (classpath, debug, deprecation,
> failonerror, ...) for several <javac> tasks all at once?
Ant2 is supposed to provide a way in form of user preferences (no, no
implementation and no schedule yet 8-). This means you can give
default values for attributes that have not been specified explicitly.
> Or is there an ant feature that can be used like the C-preprocessor,
> to automatically replace text with other text (e.g. attributes for a
> task)?
Properties?
<property name="javac.debug" value="off" />
<javac debug="${debug}" ... />
and you can say
anf -Djavac.debug=true
on the command line to enable debug for all javac tasks at once. But
you still have to list these attributes yourself.
Stefan
- Attributes for several tasks all at once? Steffen Euch
- Re: Attributes for several tasks all at once? Saurabh Agarwal
- Re: Attributes for several tasks all at onc... Steffen Euch
- Re: Attributes for several tasks all at... Saurabh Agarwal
- Re: Attributes for several tasks al... Ingmar Stein
- Re: Attributes for several tas... Saurabh Agarwal
- Re: Attributes for several... Joe Fisher
- Re: Attributes for several tasks all at onc... Ingmar Stein
- Re: Attributes for several tasks all at once? Stefan Bodewig
- Re: Attributes for several tasks all at onc... Larry V. Streepy, Jr.
- Re: Attributes for several tasks all at... Steffen Euch
- Re: Attributes for several tasks all at onc... Steffen Euch
- Re: Attributes for several tasks all at... Stefan Bodewig
- Re: Attributes for several tasks al... Steffen Euch
- Re: Attributes for several tasks all at once? Diane Holt
- Re: Attributes for several tasks all at once? Peter Donald
- Re: Attributes for several tasks all at once? Larry V. Streepy, Jr.
