Quick way to transfer “External Tool Configurations” from one Eclipse install to another?

落爺英雄遲暮 提交于 2019-12-18 18:59:06

问题


Is there a quick way to transfer the "External Tool Configurations" from one Eclipse install to another?

It doesn't seem to offer an import/export setting...


回答1:


I managed to copy my "External Tools Configurations" configuration (i.e. my Ant parameters and environment variables) from one workspace to another by copying .launch files in

<workspace>\.metadata\.plugins\org.eclipse.debug.core\.launches



回答2:


I found one more easy way , you can export the Launch Configurations from

File -> Export-> Run/Debug -> Launch Configurations 



回答3:


  1. Open the "External Tools Configurations" dialog.
  2. Open the "Common" tab.
  3. Select the "Shared file" radio button and enter a path for the location of the configuration file.

Eclipse will store your External Tools Configuration in the file you specified. You can use this file in another instance of Eclipse to load the configuration. Add the 'your tool configuration'.launch file you created to the root of your destination project. The next time you refresh the project, Eclipse will load the configurations.



来源:https://stackoverflow.com/questions/13713765/quick-way-to-transfer-external-tool-configurations-from-one-eclipse-install-to

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!