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 > > > > > > > > > . > > > > > > > . > > > >
