librelist archives

« back to archive

Git Bash support?

Git Bash support?

From:
Andrew Pennebaker
Date:
2013-03-13 @ 19:00
In Windows, I often work in a Git Bash terminal, which overall has a much
better featureset than Command Prompt, but at the cost of lacking .BAT file
support. The Windows port of Leiningen seems to rely on .BAT files, but
they're not much use to Git Bash.

Can someone help me setup Leiningen/Clojure to work well with Git Bash?

-- 
Cheers,

Andrew Pennebaker
www.yellosoft.us

Re: [leiningen] Git Bash support?

From:
Colin Jones
Date:
2013-03-13 @ 19:10
We were actually digging into this in #leiningen yesterday with another
msysgit user - the expectation is that any Bash user would use the lein
shell script (not lein.bat), but due to a bug, msys support wasn't working
as expected. We think that
https://github.com/technomancy/leiningen/pull/1057 should fix it, so it
would be great if you could try that out and confirm/deny. Otherwise, the
next release of Leiningen will include that patch.


On Wed, Mar 13, 2013 at 2:00 PM, Andrew Pennebaker <
andrew.pennebaker@gmail.com> wrote:

> In Windows, I often work in a Git Bash terminal, which overall has a much
> better featureset than Command Prompt, but at the cost of lacking .BAT file
> support. The Windows port of Leiningen seems to rely on .BAT files, but
> they're not much use to Git Bash.
>
> Can someone help me setup Leiningen/Clojure to work well with Git Bash?
>
> --
> Cheers,
>
> Andrew Pennebaker
> www.yellosoft.us
>



-- 
Colin Jones
@trptcolin

Re: [leiningen] Git Bash support?

From:
Andrew Pennebaker
Date:
2013-03-13 @ 19:13
Awesome!

... hard to test this when self-install requires Leiningen to already be
installed.


On Wed, Mar 13, 2013 at 3:10 PM, Colin Jones <trptcolin@gmail.com> wrote:

> We were actually digging into this in #leiningen yesterday with another
> msysgit user - the expectation is that any Bash user would use the lein
> shell script (not lein.bat), but due to a bug, msys support wasn't working
> as expected. We think that
> https://github.com/technomancy/leiningen/pull/1057 should fix it, so it
> would be great if you could try that out and confirm/deny. Otherwise, the
> next release of Leiningen will include that patch.
>
>
> On Wed, Mar 13, 2013 at 2:00 PM, Andrew Pennebaker <
> andrew.pennebaker@gmail.com> wrote:
>
>> In Windows, I often work in a Git Bash terminal, which overall has a much
>> better featureset than Command Prompt, but at the cost of lacking .BAT file
>> support. The Windows port of Leiningen seems to rely on .BAT files, but
>> they're not much use to Git Bash.
>>
>> Can someone help me setup Leiningen/Clojure to work well with Git Bash?
>>
>> --
>> Cheers,
>>
>> Andrew Pennebaker
>> www.yellosoft.us
>>
>
>
>
> --
> Colin Jones
> @trptcolin
>



-- 
Cheers,

Andrew Pennebaker
www.yellosoft.us

Re: [leiningen] Git Bash support?

From:
Colin Jones
Date:
2013-03-13 @ 19:28
lein self-install just requires the shell script to be in place, so if you
just want to make the changes by hand to
https://raw.github.com/technomancy/leiningen/stable/bin/lein, that should
work. git apply would probably fail since there have been other changes
since 2.0.0 was released. But these changes are limited to the shell script.


On Wed, Mar 13, 2013 at 2:13 PM, Andrew Pennebaker <
andrew.pennebaker@gmail.com> wrote:

> Awesome!
>
> ... hard to test this when self-install requires Leiningen to already be
> installed.
>
>
> On Wed, Mar 13, 2013 at 3:10 PM, Colin Jones <trptcolin@gmail.com> wrote:
>
>> We were actually digging into this in #leiningen yesterday with another
>> msysgit user - the expectation is that any Bash user would use the lein
>> shell script (not lein.bat), but due to a bug, msys support wasn't working
>> as expected. We think that
>> https://github.com/technomancy/leiningen/pull/1057 should fix it, so it
>> would be great if you could try that out and confirm/deny. Otherwise, the
>> next release of Leiningen will include that patch.
>>
>>
>> On Wed, Mar 13, 2013 at 2:00 PM, Andrew Pennebaker <
>> andrew.pennebaker@gmail.com> wrote:
>>
>>> In Windows, I often work in a Git Bash terminal, which overall has a
>>> much better featureset than Command Prompt, but at the cost of lacking .BAT
>>> file support. The Windows port of Leiningen seems to rely on .BAT files,
>>> but they're not much use to Git Bash.
>>>
>>> Can someone help me setup Leiningen/Clojure to work well with Git Bash?
>>>
>>> --
>>> Cheers,
>>>
>>> Andrew Pennebaker
>>> www.yellosoft.us
>>>
>>
>>
>>
>> --
>> Colin Jones
>> @trptcolin
>>
>
>
>
> --
> Cheers,
>
> Andrew Pennebaker
> www.yellosoft.us
>



-- 
Colin Jones
@trptcolin

Re: [leiningen] Git Bash support?

From:
Charles Norton
Date:
2013-03-14 @ 12:04
Thanks. Tried it. No change in behavior.
Also tried this    



export TRAMPOLINE_FILE ->stty -icanon min 1-echo "$LEIN_JAVA_CMD"\ -client
-XX:+TieredCompilation \ "${BOOTCLASSPATH[@]}"\ $LEIN_JVM_OPTS \ 
-Dfile.encoding=UTF-8 \ ->-Djline.terminal=jline.UnixTerminal \       
-Dmaven.wagon.http.ssl.easy=false \ 
-Dleiningen.original.pwd="$ORIGINAL_PWD"\ -Dleiningen.script="$SCRIPT"\ 
-classpath "$CLASSPATH"\ clojure.main -m leiningen.core.main "$@"->stty 
icanon echo EXIT_CODE=$?

edited where -> 

and it threw errors.


 
Charles M Norton
Database Programmer/Systems Integrator


________________________________
 From: Colin Jones <trptcolin@gmail.com>
To: leiningen@librelist.org 
Sent: Wednesday, March 13, 2013 3:28 PM
Subject: Re: [leiningen] Git Bash support?
 

lein self-install just requires the shell script to be in place, so if you
just want to make the changes by hand 
to https://raw.github.com/technomancy/leiningen/stable/bin/lein, that 
should work. git apply would probably fail since there have been other 
changes since 2.0.0 was released. But these changes are limited to the 
shell script.



On Wed, Mar 13, 2013 at 2:13 PM, Andrew Pennebaker 
<andrew.pennebaker@gmail.com> wrote:

Awesome!
>
>
>... hard to test this when self-install requires Leiningen to already be 
installed.
>
>
>
>On Wed, Mar 13, 2013 at 3:10 PM, Colin Jones <trptcolin@gmail.com> wrote:
>
>We were actually digging into this in #leiningen yesterday with another 
msysgit user - the expectation is that any Bash user would use the lein 
shell script (not lein.bat), but due to a bug, msys support wasn't working
as expected. We think that 
https://github.com/technomancy/leiningen/pull/1057 should fix it, so it 
would be great if you could try that out and confirm/deny. Otherwise, the 
next release of Leiningen will include that patch.
>>
>>
>>
>>On Wed, Mar 13, 2013 at 2:00 PM, Andrew Pennebaker 
<andrew.pennebaker@gmail.com> wrote:
>>
>>In Windows, I often work in a Git Bash terminal, which overall has a 
much better featureset than Command Prompt, but at the cost of lacking 
.BAT file support. The Windows port of Leiningen seems to rely on .BAT 
files, but they're not much use to Git Bash.
>>>
>>>
>>>Can someone help me setup Leiningen/Clojure to work well with Git Bash?
>>>
>>>
>>>-- 
>>>Cheers,
>>>
>>>
>>>Andrew Pennebaker
>>>www.yellosoft.us
>>
>>
>>
>>-- 
>>Colin Jones
>>@trptcolin 
>
>
>
>-- 
>Cheers,
>
>
>Andrew Pennebaker
>www.yellosoft.us


-- 
Colin Jones
@trptcolin 

Re: [leiningen] Git Bash support?

From:
Colin Jones
Date:
2013-03-14 @ 12:49
Charles, your issue that we talked about is a jline2 issue, unrelated to
this fix. I'm responding directly to that ticket.


On Thu, Mar 14, 2013 at 7:04 AM, Charles Norton
<old_road_farm@verizon.net>wrote:

> Thanks. Tried it. No change in behavior.
> Also tried this
>
>
>     export TRAMPOLINE_FILE
> ->  stty -icanon min 1 -echo
>
>     "$LEIN_JAVA_CMD" \
>         -client -XX:+TieredCompilation \
>         "${BOOTCLASSPATH[@]}" \
>         $LEIN_JVM_OPTS \
>         -Dfile.encoding=UTF-8 \->      -Djline.terminal=jline.UnixTerminal \
>         -Dmaven.wagon.http.ssl.easy=false \
>         -Dleiningen.original.pwd="$ORIGINAL_PWD" \
>         -Dleiningen.script="$SCRIPT" \
>         -classpath "$CLASSPATH" \
>         clojure.main -m leiningen.core.main "$@"
> ->  stty icanon echo
>
>     EXIT_CODE=$?
>
> edited where ->
>
> and it threw errors.
>
>
>
> Charles M Norton
> Database Programmer/Systems Integrator
>   ------------------------------
> *From:* Colin Jones <trptcolin@gmail.com>
> *To:* leiningen@librelist.org
> *Sent:* Wednesday, March 13, 2013 3:28 PM
> *Subject:* Re: [leiningen] Git Bash support?
>
> lein self-install just requires the shell script to be in place, so if you
> just want to make the changes by hand to
> https://raw.github.com/technomancy/leiningen/stable/bin/lein, that should
> work. git apply would probably fail since there have been other changes
> since 2.0.0 was released. But these changes are limited to the shell script.
>
>
> On Wed, Mar 13, 2013 at 2:13 PM, Andrew Pennebaker <
> andrew.pennebaker@gmail.com> wrote:
>
> Awesome!
>
> ... hard to test this when self-install requires Leiningen to already be
> installed.
>
>
> On Wed, Mar 13, 2013 at 3:10 PM, Colin Jones <trptcolin@gmail.com> wrote:
>
> We were actually digging into this in #leiningen yesterday with another
> msysgit user - the expectation is that any Bash user would use the lein
> shell script (not lein.bat), but due to a bug, msys support wasn't working
> as expected. We think that
> https://github.com/technomancy/leiningen/pull/1057 should fix it, so it
> would be great if you could try that out and confirm/deny. Otherwise, the
> next release of Leiningen will include that patch.
>
>
> On Wed, Mar 13, 2013 at 2:00 PM, Andrew Pennebaker <
> andrew.pennebaker@gmail.com> wrote:
>
> In Windows, I often work in a Git Bash terminal, which overall has a much
> better featureset than Command Prompt, but at the cost of lacking .BAT file
> support. The Windows port of Leiningen seems to rely on .BAT files, but
> they're not much use to Git Bash.
>
> Can someone help me setup Leiningen/Clojure to work well with Git Bash?
>
> --
> Cheers,
>
> Andrew Pennebaker
> www.yellosoft.us
>
>
>
>
> --
> Colin Jones
> @trptcolin
>
>
>
>
> --
> Cheers,
>
> Andrew Pennebaker
> www.yellosoft.us
>
>
>
>
> --
> Colin Jones
> @trptcolin
>
>
>


-- 
Colin Jones
@trptcolin