如何从命令行导入Eclipse gradle项目和运行/启动配置 [英] Howto import Eclipse gradle projects and run / launch configurations from command line

查看:869
本文介绍了如何从命令行导入Eclipse gradle项目和运行/启动配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Vagrant和Chef为虚拟机配置开发环境。它适用于配置Eclipse和所有需要的插件,但让开发人员可以导入导入Gradle项目,运行配置以及Jboss Server运行配置的任务。有没有办法使用命令行导入gradle项目和运行配置?如果是这样,这些步骤可以作为创建虚拟机的一部分自动完成。 TIA for your help。

I am provisioning a dev environment to a VM using Vagrant and Chef. It works great for provisioning Eclipse and all needed plugins but leaves the developer the tasks of importing the Gradle project, their run configurations as well as Jboss Server run configuration. Is there a way to import the gradle projects and the run configurations using the command line? If so, these steps could be automated as part of creating the VM. TIA for your help.

推荐答案


  • 运行配置:文件夹,它们会被eclipse自动拾取。另请参阅: https://stackoverflow.com/a/8625088/1861362

    eclipse项目:您可以使用gradle eclipse插件生成eclipse文件,但我没有意识到有任何方法让它们自动导入到eclipse中。

    eclipse project: you can generate eclipse files using the gradle eclipse plugin, yet I'm not aware of any means to have them automatically imported in eclipse..

    这篇关于如何从命令行导入Eclipse gradle项目和运行/启动配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆