How do I force MyEclipse to hot-deploy a JavaScript file to my JBoss instance?

Posted by Mike Cialowicz on Stack Overflow See other posts from Stack Overflow or by Mike Cialowicz
Published on 2010-06-16T14:50:56Z Indexed on 2010/06/16 14:52 UTC
Read the original article Hit count: 176

Filed under:
|
|
|
|

I'm having trouble with MyEclipse 7.1.1 hot-deployment of files to my JBoss 4 server.

The problem is this: while my server is running, I can make changes to various JAVA and HTML files, which are then hot-deployed immediately (I can see the changes reflected in my browser when I refresh the page). However, while working on a particular JavaScript file, my changes are not being hot-deployed. This makes it very difficult to work on and debug this file, since I have to stop my server, redeploy, and start it again each time I make changes. This is a new problem - it didn't used to happen with this file, so I think something got screwed up in my MyEclipse configuration.

I've verified that my projects (JBoss 4 instances) are all set up in "Exploded" mode for hot-deployment.

I'm also 99% sure that this isn't an issue with my browser, since I always refresh with CTRL+F5, and I've tried a number of things like clearing my browser cache to get the currently deployed version of the file.

I've also tried doing a "clean" on the project while the server is running, and that didn't force a deployment either.

Any sort of solution would be helpful. I'd love for MyEclipse to deploy the file automatically, but I'm also open to manually forcing hot-deployment of this particular file while I work on it.

Thank you.

© Stack Overflow or respective owner

Related posts about java

Related posts about eclipse