How to add facets to an IntelliJ Java/Gradle proje

2019-05-31 03:48发布

Background

  1. Download and install IntelliJ 12.04 Community Edition
  2. Create project from external source (point to Gradle build script)
  3. Specify JDK 7 as project's SDK

Note: Project is open source at github: Netflix/karyon

Problem

Want to simply war the project. In playing on the commercial version with GAE plugin installed, I was able to specify the Web Application facet, and create the war via the artifact functionality. With the setup described above, the only available facet is Android.

Question

How can I create a self sufficient war (includes all dependencies and hence can be dropped in any container without additional classpath requirements) from within the IDE?

1条回答
趁早两清
2楼-- · 2019-05-31 04:16

IntelliJ IDEA Community edition doesn't have Java EE support, you need to use some other tool for packaging the war (e.g. Maven).

查看更多
登录 后发表回答