Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6736821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:10:31+00:00 2026-05-26T11:10:31+00:00

I am using Git Bash git’s mingw console to run Specs2 tests using SBT

  • 0

I am using “Git Bash” git’s mingw console to run Specs2 tests using SBT on Windows. The mingw console has color support but my specs2 tests do not display in color. How can I get my mingw, sbt, specs2, windows setup to display tests in color?

I tried adding the following options to my build.sbt configuration, but it did not change anything.

testOptions in Test += Tests.Argument("jline.terminal","jline.UnsupportedTerminal")

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:10:32+00:00Added an answer on May 26, 2026 at 11:10 am

    I was able to get this working by downloading Cygwin and using the mintty terminal instead of “Git Bash”, along with the following script. However while this gained me color for specs2 I lost color for git. But at least I have a resizable terminal now.

    #!/bin/sh
    
    #must be saved with unix line endings
    #setup for using sbt with cygwin's mintty terminal (gets you colored specs2 tests)
    
    BASEDIR=$(dirname $0)
    stty -icanon min 1 -echo > /dev/null 2>&1
    java -Djline.terminal=jline.UnixTerminal -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256m -Xmx512M -Xss2M -jar `cygpath -m $BASEDIR/sbt-launch.jar` "$@"
    stty icanon echo > /dev/null 2>&1
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using windows git bash, when i run the command git push beanstalk
Problem: edited files on windows, using git-bash, to fix IE7 problems committed, pushed to
Using Git Bash on Windows, if I create a bash script, where do I
I am using Git on Windows 7 and access my repositories through Git Bash.
I've been using git for some time now on Windows (with msysGit) and I
I am using git for windows to manage a local project. I have two
Hey there. I'm using Git for windows (The msysgit project). And working with the
Under Windows 7 I'd like to change the settings for the Git Bash Here
I have Ruby and GIT installed on my windows box. To run GIT commands
I am using: Windows XP Python 2.6.2 (standard install from python.org) git version 1.6.5.1-preview20091022

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.