Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using various Eclipse ini files

I am using a software client based on Eclipse (Ganymede) and its all working fine. However, one small thing would make my world perfect...

In the Eclipse home folder, there is an ini-file. Is there a way to have various ini-files and choose (for example by arguments or environment variables) a specific ini file and create a shortcut for it?

Many thanks,

like image 886
Shyam Avatar asked Dec 19 '10 22:12

Shyam


People also ask

How do I use Eclipse ini?

You can reach this location by first right clicking on Eclipse app and click on “Show Package Contents” and then in the next window navigate to Contents/Eclipse directory, as shown in below images. Here is the example eclipse. ini file from my default eclipse installation.

What is in Eclipse ini file?

app/Contents/MacOS directory) is used. eclipse. ini is a text file containing command-line options that are added to the command line used when Eclipse is started up.


1 Answers

You can make as many shortcut you want with the:

  • the eclipse.exe executable
  • the option --launcher.ini /your/eclipse.ini

See Eclipse Help page on Runtime Options:

--launcher.ini <location> (Executable)

The location of the product .ini file to use.
If not specified the executable will look for a file beside the launcher with the same name and the extension .ini.
(ie eclipse.exe looks for eclipse.ini, product.exe looks for product.ini)

So you can have more than one "eclipse.ini" file: each one will be referenced as an argument within the --launcher.ini option.

like image 174
VonC Avatar answered Oct 23 '22 22:10

VonC