Robert Christian
Robert Christian

Reputation: 18310

How to add facets to an IntelliJ Java/Gradle project to create a self-sufficient war

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?

Upvotes: 1

Views: 1851

Answers (1)

CrazyCoder
CrazyCoder

Reputation: 402095

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

Upvotes: 1

Related Questions