>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]
