p.s. See the last example in the <echo> manual. Jan
>-----Ursprüngliche Nachricht----- >Von: [email protected] [mailto:[email protected]] >Gesendet: Donnerstag, 8. Januar 2009 13:30 >An: [email protected] >Betreff: AW: Ant running in debug mode? > >>Is there any way to detect my ant is running in debug mode or >not ? eg. >>using -d or not >> >>I want to track it. > >The debug level directly passed to Ants logging framework. Once Ant is >running you cant access this information. > >But you could write > <echo level="debug" message="Loglevel is DEBUG or higher"/> > <echo level="verbose" message="Loglevel is VERBOSE or higher"/> > <echo level="info" message="Loglevel is INFO or higher"/> > <echo level="warning" message="Loglevel is WARNING or higher"/> > <echo level="error" message="Loglevel is ERROR or higher"/> > > >Jan > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
