Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Eclipse-wide environment variable recognition by sh ell

Maybe I don't understand your problem well, but I guess there is almost all now to set appropriate environment. If your Eclipse launch script (or Windows batch file) sets environment variables, javaw inherits them. They become available through EnvironmentReader. All processes we launch from Eclipse also inherit this environment. The two major things we lack are UI for setting additional environment variables and method of storing these extra settings in environment to make them available to external tools. Both things are easy to implement. Both of them seems to be not critical, just an convenience issue.

cebarne2@xxxxxxxxxxxxxxxxxxx wrote:

We had the need for ENV variables as well.  However, our need was during
the build to help locate compilers, license servers, standard
directories,
etc.  We decided to define our variables in our makefile with the
"export"
command.  Our UI offers an interface for defining these build-time
variables and then our makefile generator places the appropriate
"export"
commands in the makefile.

The only other way we found to do environment variables was some method
on
the Eclipse command-line (a Java argument).

Chad Barnes
Rockwell Collins


|---------+---------------------------->
|         |           roopa.mahishi@phi|
|         |           lips.com         |
|         |           Sent by:         |
|         |           cdt-dev-admin@ecl|
|         |           ipse.org         |
|         |                            |
|         |                            |
|         |           10/18/2004 07:46 |
|         |           AM               |
|         |           Please respond to|
|         |           cdt-dev          |
|         |                            |
|---------+---------------------------->

-----------------------------------------------------------------------
---------------------------------------------------------|
 |
|
 |       To:       cdt-dev@xxxxxxxxxxx
|
 |       cc:
|
 |       Subject:  [cdt-dev] Eclipse-wide environment variable
recognition by shell                                               |

-----------------------------------------------------------------------
---------------------------------------------------------|








Hi,
Is there any way of setting  an environment variable in Eclipse, which
gets
retained thoroughout the current active workspace?

Kindly let me know if there is any way of setting the same

Rgds,
Roopa





_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-dev



_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top