Community
Participate
Working Groups
Ant scripts run using external tools do not respect the External Tool Default output level preference. Either the preference should add default arguments when the Ant script is bing run, or the preference should be removed entirely. To reproduce: 1) Create a simple Hello World ant script. I used the one below <project name="foo" default="init"> <target name="init"> <tstamp/> <echo message="Ran Ant ${TSTAMP}"/> </target> </project> 2) Set the default output level to Information(normal), and run. 3) Set the default output level to Debug, and run. Notice that the output from the two runs is the same. 4) The output I expect is what is generated by adding the "-debug" flag to the arguments given under the Run->External Tools->Configure dialog.
Is the intent of this setting to affect how much output is generated (i.e. pass the -debug flag), or is it simply to suppress output below the given threshold?
*** Bug 17689 has been marked as a duplicate of this bug. ***
I believe both implementations would lead to the same user experience. It seems easier to use the existent one (i.e. pass the -debug flag) instead of reimplementing something similar (suppress output below the given threshold). I do not have a use case that requires solution #2.
When we switch to using the debug console, we need to revisit this filter level stuff for all types of tools.
*** Bug 25198 has been marked as a duplicate of this bug. ***
The ouptut level and color preferences should become Ant preferences rather than external tool preferences. As well, the preferences should be interpreted as "default" settings for a script, which can be overriden at the launch configuration level. Currently, with the sharing of the debug console, error and info message colors are controlled by the debug preferences for std err and std out. However, we could override this. External tool programs simply inherit the std out/err colors from the debug preferences - and output level does not effect programs (as this generalization is not something programs understand).
*** Bug 20818 has been marked as a duplicate of this bug. ***
Preference for default output level has been removed, as it can conflict with any arguments on launch configs. Console font setting is inherited from debug console. Moved Ant preferences to top-level page. Migrated (Ant) console (color) preferences to a "Console" preference page below the "Ant" page. There are no longer any generic external tool preferences.
please verify, Darin S.
Verified.