Comments (7)
The associated PR appears to be sound. Any reason not to merge?
from sbt-extras.
even the brew installed bash doesn't include readarray, making it painful to set project specific jvmopts on MacOS
from sbt-extras.
I'm a bit concerned by this issue, because I also fall in that pit. In 3e34bce of PR #43, I actually propose to add a dependency check on bash version, and refuse to run with bash elder than version 4. Here are a few more inputs about this integration problem:
- Indeed, Mac OS X 10.7 ships bash 3.2.48, released in 2007! (I did not check 10.8). Bash 4 (which introduced
readarray
built-in) came out in february 2009 already! Mmmh... Bash 3 is GPL v2, while Bash 4 is licensed under GPL v3. I let you compare philosophies between*BSD
orLinux
distributions, IBM AIX and 🍎 ... and make your opinion. - Hopefully homebrew provides bash 4.x for quite some time. Thanks homebrew to save OS X!
- @jedws (
even the brew installed bash doesn't include readarray...
): I think you should have something wrong in your brew configuration... it works like a charm for me.
- @jedws (
@paulp should decide if default portability (over "ages") or bash comfort should be privileged... I prefer the second way, which is more modern and elegant in my opinion!
from sbt-extras.
@gildegoma I couldn't get it working for some reason, but all I really wanted was to get enough memory for SBT and didn't spend a lot of time on it. At the moment I'm resorting to hacking the sbt-extras script to do so. Diagnosing the problem was the real time-sink.
from sbt-extras.
@jedws I perfectly understand your point. If this PR is not accepted, sbt-extras
should check and claim "bash 4" requirement to avoid such annoying situation.
from sbt-extras.
PR #46 has been merged, this issue can be closed.
from sbt-extras.
For the record, the reason this situation can arise given that I am on OSX all the time is that I'm also using bash4 all the time. It's not my intention to require bash4, but neither is this project a high enough priority for me for me to do much beyond my own requirements. In any case I take it it's fixed, which is good.
from sbt-extras.
Related Issues (20)
- Update script installation path in README HOT 1
- [Request] Automatically use `sbtn` launcher when possible HOT 2
- -XX:+UseJVMCICompiler option doesn't work with Apple Silicon Mac (M1) HOT 1
- Presence of .sbtopts makes SBT_OPTS ignored
- "Invalid formula" errors on install
- use GitHub Actions instead of Travis CI
- How to use this in Dockerfile? HOT 1
- Ignore CR (\r) when reading .jvmopts, for Windows
- Regression for -sbt-launch-repo option with private nexus HOT 2
- sbtx can't load 1.4.8 or 1.4.9 projects HOT 1
- sbtx --client always returns exitcode=0 HOT 8
- JVM version detection chokes on "17-ea", causing bad JVM option to be passed HOT 1
- Double dash options are incorrectly passed as commands
- "Cannot use JVMCI compiler: No JVMCI compiler found" error with JDK17 HOT 3
- script killed when run inside docker process HOT 1
- -XX:+UseJVMCICompiler with OpenJDK 11.0.14 causes build warnings HOT 5
- .jvmopts is parsed differently comparing to the original(*) sbt launcher HOT 1
- repo.typesafe.com down: Invalid or corrupt jarfile HOT 2
- Cannot set JVM flags via `SBT_OPTS`
- JVM version detection chokes on "17-internal"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sbt-extras.