I need to know if it is possible to create dynamic web projects (like Eclipse) in IntelliJIDEA.
I tried different solutions but with not luck.
Is there anyone who has experience on this?
If someone is still trying to accomplish that task, after some time I retried to simulate dynamic web projects in IntelliJ and now I have a kind of solution.
I'm using this solution to recreate my old eclipse workspace and I'm successfully using it, so you can consider it a working way.
Like someone said in the above comments we need to use artifacts. I'm using ultimate edition of IntelliJ, don't know if artifacts are available on the standard edition but i think so.
Creating the Artifact
File
Project Structure
Artifacts
+
symbolOther
That will create an unamed artifact
+
symbolDirectory Content
With this process we have an artifact linked to the choosen folder.
Deploying the Artifact
To deploy the artifact (Tomcat deploy in my case) together the .war file:
Add configuration
Tomcat Template
Deployment
fix
button (if requested by IDEA)build
and build :war
)+
symbolBuild Artifacts
ok
build
and the build:war
tasks.