Artifact location on disk

Answered

I have my app working fine with a local Tomcat installation, but I am trying to move over to Tomcat running in a Docker container. That I can get to work if I build a war file and then deploy it to Tomcat, but I'd rather work with an exploded war. The problem is when I try to bind the artifact directory to the webapps folder in Docker, there is no artifact folder.

 

When I browse to the folder where the exploded war directory should be, instead I see an xml file named [project_name]_war_exploded.xml. This leaves me with nothing to map over to the Docker container.

 

Another thing I notice is when I try to enable web application support under Add Framework Support, there is no option for web application. This hasn't been an issue so far.

0
5 comments

Hello,

Could you please share idea.log ("Help | Show Log in...") after restarting IDE and building artifact? You could use any file sharing system

 

0

Do you face problem with adding "Web" support with this project only? Is it possible to build artifact with new sample project?

0

I have the web support option available in a different project. However, even in that project, with web support enabled, I still don't have an actual directory under .idea/artifacts. I just have an xml file for the artifact.

0

Artifact should be located under /out/artifacts folder. ".idea" folder keeps only project configuration information

0

Please sign in to leave a comment.