Gradle

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
To raise new issues or bugs against Gradle, please use forums.gradle.org.
  • Gradle
  • GRADLE-2319

colored output even if stdout is not connected to a terminal

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Resolution: Unresolved
  • Affects Version/s: 1.0-rc-3
  • Fix Version/s: None

Description

Currently output is only colored if stdout is connected to a terminal.
But sometimes one wants also colored output if this is not the case.
e. g. when redirecting the output to "less -R".
Currently I see no way to achieve this like "-color=always" vs. "-color=auto" in tools like "grep" or "ls". I only see a parameter to disable color. Maybe --no-color could be deprecated in favor of a --color[=WHEN] option where WHEN can be never, auto, always with whatever defaults. In the GNU tools, default is no color and --color is equal to --color=auto which is the current default behaviour of gradle.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • History
  • Activity
  • TeamCity
  • Commits
  • Source
  • Reviews
Luke Daley made changes - 03/Jan/13 5:08 AM
Field Original Value New Value
Workflow jira with pivotal tracker [ 15790 ] jira with pivotal tracker (no resolved, only closed) [ 16547 ]
Luke Daley made changes - 04/Jan/13 5:09 AM
Workflow jira with pivotal tracker (no resolved, only closed) [ 16547 ] Copy of jira with pivotal tracker (no closed, only resolved) [ 19292 ]

People

  • Assignee:
    Unassigned
    Reporter:
    Björn Kautler
Vote (0)
Watch (1)

Dates

  • Created:
    19/May/12 10:50 AM
    Updated:
    19/May/12 10:50 AM
  • Atlassian JIRA (v5.0.3#729-sha1:bf569e4)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Gradle. Try JIRA - bug tracking software for your team.