facebook

Way to set IDE environment variables

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #314149 Reply

    Replacements
    Participant

    My development group would like to be able to set environment variables in MyEclipse and use them in different IDE configuration settings. That way we can import a “master” default preferences file and only have to change the variable itself.

    This is for a Linux installation.

    Example:
    Each of us has a home directory where our workspace lives.
    Example 1: /home/suedev1/myeclipse
    Example 2: /home/joedev2/myeclipse
    Example 3: /home/bobdev3/myeclipse

    We would like to be able to have variable in MyEclipse that stores “suedev1” or “joedev2” and then we can access the actual location using the variable “/home/${DEV_HOME}/myeclipse” in the IDE settings.

    We are thinking we could use this variable in setting up the default workspace location and also the location of our individual development application servers (i.e. instead of /home/suedev1/apache-tomcat it could be /home/${DEV_HOME}/apache-tomcat).

    Is this possible? If so, can you give details how to set it up?

    Thanks.

    #314195

    Brian Fernandes
    Moderator

    I’m afraid this isn’t possible in MyEclipse – different components will treat input in different ways and there is no guarantee that a variable in text will be replaced. I know for a fact that the server location is used verbatim, without any variable replacement. I’ll file this in as an enhancement request though, thank you for asking.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Way to set IDE environment variables

You must be logged in to post in the forum log in