Ant build
command works but intelliJ does not recognize the whole project
#737
-
I want to build ejbca-ce project and deploy it on wildfly , please tell me what is your IDE to build , or guide me about how to resolve this on intelliJ ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Personally I use Eclipse, but others use other IDEs. |
Beta Was this translation helpful? Give feedback.
-
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:
After completing these steps, all imports should resolve. Happy coding! 🧑💻 P.S. Once Gradle is fully supported (no ETA yet), you should be able to import the project hassle-free just as you did initially. |
Beta Was this translation helpful? Give feedback.
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:
Plugins ...
.File
❯Close Project
, then remove it from recent projects using the three-dot menu.ejbca-ce
directory (rm -rf .idea *.iml
).ejbca-ce
directory in IntelliJ. When prompted to choose between Eclipse and Gradle con…