Hi,

The 0(getenv "VAR") was exactly the kind of thing I was looking for (I know
next to nothing about LISP).  I found my problem - missing "export" for that
variable in my bashrc.  DOH!  That note I quoted did come from
describe-variable jde-global-classpath though.

Thanks!

Ian

----- Original Message -----
From: "Paul Kinnucan" <[EMAIL PROTECTED]>
To: "Max Rydahl Andersen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, October 01, 2001 8:28 AM
Subject: Re: Can't use env variable in global classpath


> Max Rydahl Andersen writes:
>  > Well - then I have another follow up question :)
>  >
>  > Why is it that we are not allowed to use environment variables in the
>  > jde-global-classpath ?
>  > As I remember jde support environment variables in most other relevant
>  > settings ?
>  >
>  > Please correct me if I'm wrong :)
>  >
>
> The JDE does support environment variables in jde-global-classpath.
>
> I don't know why your environment variable is not defined in Emacs.
> Are you sure that your .bashrc is being invoked? Have you checked by other
> means that the environment variable (e.g., (getenv "VAR") is defined in
the
> Emacs child process?
>
> - Paul
>
>  > Max
>  >
>  > <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>  > >
>  > > Okay, found this in the docs...
>  > >
>  > > "Note: do not use environment variables in the paths that you set via
>  > > jde-global-classpath."
>  > >
>  > > ...so nevermind my question.
>  > >
>  > > Thanks,
>  > >
>  > > Ian
>  > >
>  > > ----- Original Message -----
>  > > From: <[EMAIL PROTECTED]>
>  > > To: <[EMAIL PROTECTED]>
>  > > Sent: Sunday, September 30, 2001 12:52 AM
>  > > Subject: Can't use env variable in global classpath
>  > >
>  > >
>  > > >
>  > > > Hi,
>  > > >
>  > > > Running latest cygwin on Win2K, pre-compiled NTEmacs 20.7.1, and
>  > JDE2.2.8.
>  > > > I have set the global classpath to include entries that use
> environment > > > variables per the users guide, but when I try to Run App
I
> get
>  > > "Substituting
>  > > > nonexistent environment variable "MY_ENV_VAR".  I am using unix
format
>  > for
>  > > > the variable (e.g. $MY_ENV_VAR).  The variable is set in my .bashrc
> for > > > Cygwin (e.g. export MY_ENV_VAR="/foo/bar").  I launch emacs from
> that
>  > same
>  > > > bash shell (so in other words I am assuming emacs gets the env of
that
>  > > > shell).  What am I missing?
>  > > >
>  > > > Thanks,
>  > > >
>  > > > Ian
>  > > >
>  > > >
>  > > > .
>  > > >
>  > >
>  > > .
>  > >
>  >
>  >
>

.

Reply via email to