How to get MyEclipse to actively deploy a JavaScript file in my JBoss instance?

I'm having problems deploying MyEclipse 7.1.1 files hot on 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-rolled immediately (I can see the changes reflected in my browser when I refresh the page). However, while working on a specific JavaScript file, my changes are not rolled out. This makes it very difficult to work and debug this file, since I have to stop my server, redeploy and start it every time I make changes. This is a new problem - nothing happened to this file, so I think something was messed up in my MyEclipse configuration.

I have verified that my projects (JBoss 4 instances) are configured in split mode for hot deployment.

I am also 99% sure that this is not a problem with my browser, since I always update with CTRL + F5, and I tried several things, such as clearing the browser cache, to get the current deployed version of the file.

I also tried to make a "clean" project while the server was running, and this also did not trigger the deployment.

Any solution would be helpful. I would really like MyEclipse to automatically expand the file, but I can also manually force a hot deployment of this file while working on it.

Thank.

+3
source share
2

IE, .

:

  • GZIP OFF. , JS GZIP .
  • IE8 " -" CTRL + F5 ( ).
+1
   var dwScriptFileUrl = location.protocol + '//' + location.host + '/' + appName + '/extend.js?' + Math.random();
   var dwDOM = document.all('myiframe0').contentWindow.document;
var dwScript = dwDOM.createElement("script");
dwScript.type = "text/javascript";
dwScript.src = dwScriptFileUrl;
dwDOM.body.appendChild(dwScript);
0

Source: https://habr.com/ru/post/1750314/


All Articles