Skip to content

Ant build command works but intelliJ does not recognize the whole project #737

Answered by dobicinaitis
SaeidKazemi78 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi!

You're encountering these issues because the project is imported as a Gradle project. Gradle support is still experimental and lacks most build targets/tasks, so you should use Ant instead. Unfortunately, the Gradle configuration files in the repository confuse IntelliJ, causing it to use them by default.

Here's what you need to do:

  • Enable or install the Ant plugin in IntelliJ under ⚙️ ❯ Plugins ....
  • Close the project from FileClose Project, then remove it from recent projects using the three-dot menu.
  • Delete IntelliJ configuration files from the ejbca-ce directory (rm -rf .idea *.iml).
  • Open the ejbca-ce directory in IntelliJ. When prompted to choose between Eclipse and Gradle con…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@SaeidKazemi78
Comment options

Answer selected by SaeidKazemi78
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants