Книга: Embedded Linux development using Eclipse

6.1.1 Installing Features in External Directories

6.1.1 Installing Features in External Directories

Normally, features are installed in eclipse/features and plug-ins are installed in eclipse/plugins. If, for whatever reason, you should need to reinstall Eclipse, all of the additional features and plug-ins you had previously installed would also have to be reinstalled. But if they’re installed in an external directory, reinstalling Eclipse itself doesn’t affect them.

The previous version of the software update feature offered an option to install features and plug-ins in alternate directories. The current version doesn’t seem to have that option. Nevertheless, if you install plug-ins manually, you’re free to put them wherever you like.

If you do create an external directory for plug-ins, you have to let Eclipse know about it. On startup, Eclipse looks for a directory eclipse/links. In that directory create one or more text files whose names end in .link. Each file contains an entry of the form:

path=<path_to_eclipse plug-ins>

For example, path=/usr/local/eclipse-plugins

Оглавление книги


Генерация: 0.031. Запросов К БД/Cache: 0 / 0
поделиться
Вверх Вниз