Redeploy javascript on save?

Hi,

I have a web app with some javascript files in a /scripts directory (don't know if it matters, but just in case).
If I edit one of the js files, save it (with Ctrl-S) and refresh my browser (Firefox, Ctrl-F5), I don't get the new js posted.
Same thing happens with my xhtml/jsf files.

Is this by design?
If so, how do I change it so my xhtml and js files get redeployed (reposted) on save?

I am deploying to Tomcat 5, with Deployment myapp:war exploded.
(I have Perform on 'Update' action: set to Update Classes and Resources. Do I need to set it to redeploy?)

Thanks
Gerardo

1 comment
Comment actions Permalink

Yes, it's by design. In order to redeploy resources to a running javaee app just invoke 'Update running application' action (Ctrl+F10) instead of
'Save'. Changed files will be copied to Tomcat (and saved before that if necessary).

Hi,

I have a web app with some javascript files in a /scripts directory (don't know if it matters, but just in case).
If I edit one of the js files, save it (with Ctrl-S) and refresh my browser (Firefox, Ctrl-F5), I don't get the new js posted.
Same thing happens with my xhtml/jsf files.

Is this by design?
If so, how do I change it so my xhtml and js files get redeployed (reposted) on save?

I am deploying to Tomcat 5, with Deployment myapp:war exploded.
(I have Perform on 'Update' action: set to Update Classes and Resources. Do I need to set it to redeploy?)

Thanks
Gerardo

---
Original message URL: http://www.jetbrains.net/devnet/message/5256937#5256937



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.