Hot deploy with IntelliJ IDEA 12 on Tomcat 7

Hi everyone,

I am currently using IntelliJ IDEA 12 and want to deploy my maven managed JSF web application on a Tomcat 7.

The usual start and deploy works as intended. Unfortunatly the hot deploy featuredoes not work in debug mode for resources (=xhtml, css, ...).

If I trigger "Update resources" IntelliJ does not detect any changes in files, as a consequence, the files are not pushed to the tomcat folder.

Does anyone know why the changes on filesystem basis does not work?
Do I need to configure the directory in IntelliJ in which the resources can be found?

My project structure:
* project (pom)
** Core (war)
*** src
**** main
***** java (sources)
***** resources (*.properties etc)
***** webapp (xhtml, css, img...)
** Module (jar)

thanks,
-zerni

3 comments

Hello,

Do you deploy your application as an IDEA artifact or as an external source?
If you are not sure about the answer, please attach screenshot of the 'Deployment' tab of your Tomcat run configuration.

Regards,
Michael

0

Hi Michael,

here is the deployment tab:



Attachment(s):
deployment.png
0

Thanks,

Can you please also attach .idea folder for your project (may be the better place to do that would be the new youtrack with attachment visible for 'idea-developers' only).

Regards,
Michael

0

Please sign in to leave a comment.