IntelliJ:从gradle项目自动创建ear artifact [英] IntelliJ: Automatic creation of ear artifact from gradle project

查看:293
本文介绍了IntelliJ:从gradle项目自动创建ear artifact的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 根项目'project-gradle'
我有一个具有以下结构的gradle项目: + ---项目'ejb'
+ ---项目'ear'
\ ---项目'war'

构建完美地运行在命令行上,我使用耳塞并且构建正确。



不幸的是当我将项目导入IntelliJ(或者用gradle创建的intelliJ文件打开它)时,唯一可用的工件就是war。但我需要耳朵。
任何方式得到这个,而不需要手动定义IntelliJ里面的ear-Artifact?

解决方案

似乎自动工件配置不是在IDEA中实现


I'm having a gradle project with the following structure:

Root project 'project-gradle'
 +--- Project 'ejb'
 +--- Project 'ear'
 \--- Project 'war'

The build is working perfectly on command line, I'm using the ear plugin and it is built correctly.

Unfortunately when I import the project to IntelliJ (or open it with the gradle-created intelliJ files), the only available artifact is war. But I need the ear. Any way to get this without manually defining the ear-Artifact inside IntelliJ?

解决方案

Seems automatic artifact configuration is not implemented yet in IDEA

这篇关于IntelliJ:从gradle项目自动创建ear artifact的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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