How do I run a Eclipse launcher file in IntelliJ IDEA?

橙三吉。 提交于 2019-12-03 14:55:06

问题


I have a Eclipse .launch file that a developer has created to set up the classpath, vm and program arguments from a XML file that Eclipse uses to launch the program.

I want to be able to run this file in IntelliJ IDEA but is there an automatic way without manually creating the settings?


回答1:


IDEA doesn't support importing Eclipse .launch files.




回答2:


Try the Eclipser plugin

http://plugins.jetbrains.com/plugin?pluginId=7153

Eclipser will automatically convert Eclipse launch configurations into IntelliJ IDEA configurations

However it currently (as of November 2014) supports only very limited number of launch types:

  • local Java application (...)
  • program launch (...)
  • Maven launcher (...)

See https://github.com/kukido/eclipser/wiki for details.




回答3:


steps to launch eclipse launcher in intellij

  1. download the plugin
  2. install it in intellij
  3. restart intellij
  4. right click .launch
  5. click "convert with eclipser"
  6. check run/debug configurations, an new application process should be added
  7. check working directory is correct or not, if not fix it
  8. run that process, eclipse launcher can be executed



回答4:


For thouse, who wants to launch .product file in idea - see this manual



来源:https://stackoverflow.com/questions/5389446/how-do-i-run-a-eclipse-launcher-file-in-intellij-idea

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