Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-21 Thread Ken Wesson
On Sun, Aug 21, 2011 at 3:14 AM, Alan D. Salewski wrote: > That presumption is at least partially incorrect. Native apps (cmd.exe, > for instance) launched from a cygwin bash command prompt can "see" > environment variables exported by the parent bash process. I never claimed there wasn't a way t

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-21 Thread Colin Yates
Nothing to add to this discussion, but please *please* realise how destructive these type of posts are. They significantly increase the noise and make us all look like muppets. I respect most of the "usual suspects" in these threads, but please - let's keep this on topic. Alternatively maybe thi

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-21 Thread Alan D. Salewski
On Thu, Aug 18, 2011 at 06:40:50PM -0400, Ken Wesson spake thus: > On Thu, Aug 18, 2011 at 4:56 PM, D L wrote: > > On Thu, Aug 18, 2011 at 7:34 PM, Ken Wesson wrote: > >> > >> On Wed, Aug 17, 2011 at 4:25 PM, Dimitre Liotev wrote: > >> >      you can not set and query such a variable in a Bash s

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-21 Thread Alan D. Salewski
On Fri, Aug 19, 2011 at 05:53:59AM -0700, dmiller spake thus: > I would be concerned about this group, if there was any evidence of > existence. Same here, but even with such evidence I would not be so concerned that I would not make the change. This calls to mind Stuart Feldman's explanation as

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-21 Thread Alan D. Salewski
On Thu, Aug 18, 2011 at 08:05:05PM -0700, dmiller spake thus: > Several comments: > > (c) It could be changed to something like CLOJURE_LOAD_PATH instead. > Would that cause a problem for anyone? > > -David +1 -Al -- - a l a n

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-19 Thread dmiller
I would be concerned about this group, if there was any evidence of existence. On Aug 19, 2:59 am, Ken Wesson wrote: > And, maybe, the ones who have to go and reconfigure everything when > they upgrade ... > -- You received this message because you are subscribed to the Google Groups "Clojure"

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-19 Thread Ken Wesson
On Thu, Aug 18, 2011 at 11:05 PM, dmiller wrote: > Several comments: > > (a) 'clojure.load.path' is not new in 1.3.  It's been in the code > since at least May, 2009. > (b) Regarding Dimitre's comment below, I probably did have Java system > properties on my mind at the time.  I guarantee that I w

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-18 Thread dmiller
Several comments: (a) 'clojure.load.path' is not new in 1.3. It's been in the code since at least May, 2009. (b) Regarding Dimitre's comment below, I probably did have Java system properties on my mind at the time. I guarantee that I was not thinking of picking Bash-compliant names. I doubt tha

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-18 Thread Ken Wesson
On Thu, Aug 18, 2011 at 4:56 PM, D L wrote: > On Thu, Aug 18, 2011 at 7:34 PM, Ken Wesson wrote: >> >> On Wed, Aug 17, 2011 at 4:25 PM, Dimitre Liotev wrote: >> >      you can not set and query such a variable in a Bash script. >> >> Code has already been posted to this thread that does exactly

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-18 Thread D L
On Thu, Aug 18, 2011 at 7:34 PM, Ken Wesson wrote: > > On Wed, Aug 17, 2011 at 4:25 PM, Dimitre Liotev wrote: > >      you can not set and query such a variable in a Bash script. > > Code has already been posted to this thread that does exactly that. Let me rephrase this for you: you can not set

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-18 Thread Ken Wesson
On Wed, Aug 17, 2011 at 4:25 PM, Dimitre Liotev wrote: > you can not set and query such a variable in a Bash script. Code has already been posted to this thread that does exactly that. -- Protege: What is this seething mass of parentheses?! Master: Your father's Lisp REPL. This is the lang

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-18 Thread Dimitre Liotev
Ken Wesson writes: >> I approached the question from the perspective of one wanting to invoke >> Clojure-CLR with the ability to manipulate the value of >> 'clojure.class.path' "on-the-fly" in a way that is common and natural >> for *nix folks. > > And with 'env' it clearly is possible to manipul

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-18 Thread Alan D. Salewski
On Thu, Aug 18, 2011 at 01:39:21AM -0400, Ken Wesson spake thus: > On Thu, Aug 18, 2011 at 12:32 AM, Alan D. Salewski wrote: > > On Wed, Aug 17, 2011 at 01:47:53PM -0400, Ken Wesson spake thus: > >> On Wed, Aug 17, 2011 at 9:48 AM, Alan D. Salewski wrote: > >> > I approached the question from the

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-17 Thread Ken Wesson
On Thu, Aug 18, 2011 at 12:32 AM, Alan D. Salewski wrote: > On Wed, Aug 17, 2011 at 01:47:53PM -0400, Ken Wesson spake thus: >> On Wed, Aug 17, 2011 at 9:48 AM, Alan D. Salewski wrote: >> > I approached the question from the perspective of one wanting to invoke >> > Clojure-CLR with the ability t

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-17 Thread Alan D. Salewski
On Wed, Aug 17, 2011 at 01:47:53PM -0400, Ken Wesson spake thus: > On Wed, Aug 17, 2011 at 9:48 AM, Alan D. Salewski wrote: > >    $ /usr/bin/env -- ALJUNK_CRAP1=junk1 ALJUNK.CRAP2=junk2 /bin/bash -c env > > | grep ALJU > >    ALJUNK.CRAP2=junk2 > >    ALJUNK_CRAP1=junk1 > > > > You approached th

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-17 Thread Ken Wesson
On Wed, Aug 17, 2011 at 9:48 AM, Alan D. Salewski wrote: >    $ /usr/bin/env -- ALJUNK_CRAP1=junk1 ALJUNK.CRAP2=junk2 /bin/bash -c env | > grep ALJU >    ALJUNK.CRAP2=junk2 >    ALJUNK_CRAP1=junk1 > > You approached the question from the perspective of one just wanting to > launch Clojure-CLR wit

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-17 Thread mrwizard82d1
Alan, Thanks for fighting for *nix folks. Although I can solve my singular problem using the solution posted by Stephen, you reminded me of another reason I wrote my question as I did. Although I'm not involved, I understand that people continue to work on the Mono project which provides the CLR

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-17 Thread mrwizard82d1
Thanks, Stephen. Although I was aware of the env command, I had never needed it before. I believe this solution will allow me to solve my immediate problem (running Clojure-CLR with the classpath configured for a specific project as I do in Java). On Aug 17, 6:31 am, Stephen Compall wrote: > The

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-17 Thread Alan D. Salewski
On Tue, Aug 16, 2011 at 01:23:23PM -0400, Ken Wesson spake thus: > On Tue, Aug 16, 2011 at 1:20 AM, Alan D. Salewski wrote: > > On Tue, Aug 16, 2011 at 12:34:39AM -0400, Ken Wesson spake thus: > >> On Mon, Aug 15, 2011 at 11:13 AM, mrwizard82d1 > >> wrote: > >> > I understand that the 1.3 beta p

Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-17 Thread Stephen Compall
The . limitation is in bash vars only; they work fine as environment vars: $ clojure.load.path=whatever command Some error message I forget $ env clojure.load.path=whatever command Sets env var while running command You should already have env installed. It's pretty useful if you like working i

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-16 Thread Ken Wesson
On Tue, Aug 16, 2011 at 1:20 AM, Alan D. Salewski wrote: > On Tue, Aug 16, 2011 at 12:34:39AM -0400, Ken Wesson spake thus: >> On Mon, Aug 15, 2011 at 11:13 AM, mrwizard82d1 >> wrote: >> > I understand that the 1.3 beta plans to add an environment variable >> > named clojure.load.path to provide

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-16 Thread Alan D. Salewski
On Tue, Aug 16, 2011 at 12:34:39AM -0400, Ken Wesson spake thus: > On Mon, Aug 15, 2011 at 11:13 AM, mrwizard82d1 wrote: > > I understand that the 1.3 beta plans to add an environment variable > > named clojure.load.path to provide a "CLASSPATH" mechanism for Clojure > > on the CLR. > > > > Althou

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-15 Thread Ken Wesson
On Mon, Aug 15, 2011 at 11:13 AM, mrwizard82d1 wrote: > I understand that the 1.3 beta plans to add an environment variable > named clojure.load.path to provide a "CLASSPATH" mechanism for Clojure > on the CLR. > > Although I use Windows, I have installed cygwin because I prefer the > Unix tool se

Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-15 Thread mrwizard82d1
I understand that the 1.3 beta plans to add an environment variable named clojure.load.path to provide a "CLASSPATH" mechanism for Clojure on the CLR. Although I use Windows, I have installed cygwin because I prefer the Unix tool set to that provided by Windows. Although a Windows console allows o