`

Eclipse tips (1)

阅读更多
Eclipse Tip: Sharing Java project settings

The Eclipse 3.1 has a new feature. Now the Java project settings like Compiler and Code Style can be shared with the entire team using the version control tool.

To do this right click the project in Package Explorer or Navigator view and got to either Java Code Style or Java Compiler options. Check the Enable project specific settings.

This will create a .settings folder in the project root. Eclipse will add and maintain the project specific configuration in this folder. Commit this folder to the version control. Thats it. Now the project settings are shared with the team. When the other team members synchronize with the repository they will get the project settings too. Any team member can update and check in the settings. Cool!

http://www.vasanth.in/2005/07/13/eclipse-tip-sharing-java-project-settings/

Linking the plugins to your Eclipse installation JbossTools

If you prefer not to pollute your Eclipse installation with third party plugins, a better management option is to externalize these addons. Eclipse has long supported a feature known as "links" which allows you to associate any directory that follows the standard Eclipse structure, and which contains additional features and plugins, with your Eclipse installation. Eclipse effectively performs a runtime merge of the available features and plugins in these directories.

NOTE: The links feature just described became the dropins feature in Eclipse 3.4.

Here's how to "link" the JBoss Tools plugins to your Eclipse installation.

   1. Extract the JBoss Tools release anywhere outside of your Eclipse installation. Be sure to preserve the directory structure of the archive (i.e. the extracted folder should be named "eclipse" and contain a "features" and "plugins" directory). It's convenient to put this eclipse folder inside of a directory with the name of the plugin (i.e., /home/max/eclipse-addons/jbosstools)
   2. Create the file jbosstools.link in the links folder (Eclipse < 3.4) or dropins folder (Eclipse >= 3.4) of your Eclipse installation
   3. The contents of jbosstools.link should consist of a single line that defines the path where you extracted the JBoss Tools plugins (i.e. the location of the "eclipse" directory)

      path=/home/max/eclipse-addons/jbosstools


The links or dropins folder can contain any number of .link files that point to Eclipse extension directories.
Refreshing the plugin cache

Unlike with the Update Manager, Eclipse doesn't know when you install a new set of plugins manually (regardless of whether you extracted them directly into your Eclipse plugin or used the links/dropins feature). Therefore, when you start Eclipse the next time, you need to instruct it to clean out its plugin cache so that it discovers the new plugins (and flushes plugins which have been removed).

eclipse -clean

The main shortcoming of the manual installation is that you have to download and extract the entire JBoss Tools release each time there is an update. The Update Manager, on the other hand, can just download the pieces of JBoss Tools that actually changed, not to mention the fact that the Update Manager can be set to perform updates automatically or simply notify you when they are ready. Decide for yourself which approach works best for you. However, I expect that developers are likely going to find the links/dropins feature most useful.

When using .link file option to install on Eclipse Version: 3.4.1 (Ganymede) on windows, only the "/" works as a path separator instead of "\".



E.g. if you have extracted the JBoss tools under "c:\eclipse-addons\jbtools" then in the .link file this path works: "c:/eclipse-addons/jbtools", but not "c:\eclipse-addons\jbtools"

http://www.jboss.org/community/wiki/installingjbosstools

open-command-prompt-or-windows-explorer

http://tarlogonjava.blogspot.com/2008/07/open-command-prompt-or-windows-explorer.html




分享到:
评论

相关推荐

    Eclipse 安装 与 links方式配置插件

    path=L:\\Java\\eclipse3.2.2\\eclipse\\myPlugins\\NLpack1-eclipse-SDK-3.2-win32 ``` 4. **启动Eclipse** 最后,启动Eclipse。Eclipse会自动读取`links`目录下的链接文件,并加载对应的插件。此时,你应该...

    org.eclipse.tips.json.nl_zh_4.20.0.v20210630020001.jar

    Eclipse-plugins 插件,eclipse 各种插件 .jar 包,免费下载 eclipse202106 -plugins 各种插件 .jar 包,免费下载 如果下载不了,关注我,评论区联系我, Eclipse-plugins eclipse, plugins, eclipse202106, ...

    org.eclipse.tips.core.nl_zh_4.20.0.v20210630020001.jar

    Eclipse-plugins 插件,eclipse 各种插件 .jar 包,免费下载 eclipse202106 -plugins 各种插件 .jar 包,免费下载 如果下载不了,关注我,评论区联系我, Eclipse-plugins eclipse, plugins, eclipse202106, ...

    org.eclipse.tips.ide.nl_zh_4.20.0.v20210630020001.jar

    Eclipse-plugins 插件,eclipse 各种插件 .jar 包,免费下载 eclipse202106 -plugins 各种插件 .jar 包,免费下载 如果下载不了,关注我,评论区联系我, Eclipse-plugins eclipse, plugins, eclipse202106, ...

    org.eclipse.tips.ui.nl_zh_4.20.0.v20210630020001.jar

    Eclipse-plugins 插件,eclipse 各种插件 .jar 包,免费下载 eclipse202106 -plugins 各种插件 .jar 包,免费下载 如果下载不了,关注我,评论区联系我, Eclipse-plugins eclipse, plugins, eclipse202106, ...

    Eclipse中文使用教程

    1 .Eclipse 简介 1 .1历史背景 1 .2开放原始码软件 1 .3 Eclipse 版本介绍 1 .4跨语言 、 跨平台 2. Eclipse Platform 2 .1概观 2 .2架构 2 .3项目与资料夹 2 .4平台核心 2 .5工作区 ( workspace ) 2 .6工作台 ( ...

    Gcc+Eclipse2022+JLink 开发ARM 工具链-【亲自总结,正在试用】

    1. **GCC (GNU Compiler Collection)**:GCC是GNU项目的一部分,是一个开源的编译器套件,支持C、C++、Objective-C、Fortran、Ada和Go等多种编程语言。在ARM开发中,GCC提供了对ARM指令集的编译支持,能够将源代码...

    向eclipse中导入外部项目

    (1)请首先确保您的 Eclipse 是 JavaEE 版本的,或者已经安装了 WTP 插件。 (2)然后修改 Eclipse 工程下的 .project 文件:在 &lt;natures&gt; &lt;/natures&gt; 中加入 &lt;nature&gt;org.eclipse.wst.common.project.facet.core....

    org.eclipse.jdt.tips.user.nl_zh_4.20.0.v20210630020001.jar

    Eclipse-plugins 插件,eclipse 各种插件 .jar 包,免费下载 eclipse202106 -plugins 各种插件 .jar 包,免费下载 如果下载不了,关注我,评论区联系我, Eclipse-plugins eclipse, plugins, eclipse202106, ...

    eclipse导出带有main方法的jar包.docx

    Tips 和注意事项 在使用 Eclipse 导出 jar 包时,需要注意以下几点: * 在复杂的项目中,可能会出现打包不成功的问题。这可能是由于某些类库或依赖关系没有正确地配置。解决该问题的方法是将项目简化为一个简单的 ...

    Eclipse – 整合开发工具

    7 1.Eclipse簡介... 8 1.1歷史背景... 8 1.2開發原始碼軟體... 9 1.3 Eclipse版本介紹... 9 1.4跨語言、跨平台... 10 2. Eclipse Platform.. 12 2.1概觀... 12 2.2架構......

    Eclipse使用指南

    #### - Tips and tricks for eclipse and the plugin MyEclipse 这份文档可能包含了一些提高Eclipse和MyEclipse使用效率的小技巧,例如快捷键、视图配置、性能优化等。 #### - Creating Database Web Applications...

    Eclipse中文教程.pdf

    1.Eclipse简介...........................................................................................................................................................8 1.1历史背景......................

    10-eclipse-tips:JCConf 2014 中的 10 个 Eclipse 技巧演示

    1. **快捷键使用**:Eclipse 提供了丰富的快捷键组合,熟练掌握它们能大大提高编码速度。例如,Ctrl+Shift+T 打开类型搜索,Ctrl+Shift+F 格式化代码,Alt+/ 自动完成代码等。 2. **代码提示与自动完成**:Eclipse ...

    eclipse 中文版教程

    1Eclipse 简介 9 11 历史背景 9 12 开发原始码软件 10 13 Eclipse 版本介绍 10 14 跨语言、跨平台 11 2 Eclipse Platform 13 21 概观 13 22 架构 13 23 项目与资料夹 14 24 平台核心 14 25 工作区...

    Eclipse从入门到精通.rar

    1.Eclipse 简介................. 9 1.1 历史背景............... 9 1.2 开发原始码软件........ 10 1.3 Eclipse 版本介绍...... 10 1.4 跨语言、跨平台........ 11 2. Eclipse Platform .......... 13 2.1 ...

    ABAP Tips

    1. **ABAP基础知识** ABAP是SAP R/3系统的核心编程语言,用于开发业务逻辑和用户界面。它支持面向过程和面向对象的编程,提供了一系列的标准库函数和模块,方便开发者快速构建企业级应用。 2. **程序结构与语法** ...

    Eclipse中文教程

    介绍了Java开发或其他开发的最常用IDE——Eclipse的使用方法,包含以下...1.Eclipse的简介 2.Eclipse Platform 3.喜好设定(Preferences) 4. Java程序开发 5.除错 6.重构(Refactoring) 7.要诀和技巧(Tips and Tricks)

    [Java编程]Eclipse中文教程

    《Eclipse中文教程 整合开发工具(基础篇)》 清晰PDF版本 ...1.Eclipse简介 2.Eclipse Platform 3.喜好设定(Preferences) 4. Java程序开发 5.除错 6.重构(Refactoring) 7.要诀和技巧(Tips and Tricks)

Global site tag (gtag.js) - Google Analytics