The new IDE (v2.6.7) does NOT recognize changes to *.js files when doing a "F5 - Refresh" in Eclipse… despite all the elaborate new file definitions in "C:\nburn\pcbin\MIME_magic.txt". JS (javascript) files work just fine in the web page, but Eclipse won't capture any changes to those files unless you do a complete “Clean” rebuild. So this is broken just as before, and the workaround continues to be to name the *.js files as *.htm…. resulting in a rash of browser warnings but otherwise causing no harm.
Steve
Javascript and Eclipse
Re: Javascript and Eclipse
My workaround has been to go "touch" an HTML file after modifying a .js file. Usually I just add a space character on a comment line.
Much faster than a full rebuild, not as convenient as renaming them .html, which never occurred to me.
Much faster than a full rebuild, not as convenient as renaming them .html, which never occurred to me.
Re: Javascript and Eclipse
Lemme poke Forrest on this one tomorrow. I'm not sure what the deal here is...
Dan Ciliske
Project Engineer
Netburner, Inc
Project Engineer
Netburner, Inc
Re: Javascript and Eclipse
This is fixed in 2.6.8, which is scheduled for imminent release. NBEclipse will now recognize changes in css, js, and images within the project directory.
Forrest Stanley
Project Engineer
NetBurner, Inc
NetBurner Learn Articles: http://www.netburner.com/learn
Project Engineer
NetBurner, Inc
NetBurner Learn Articles: http://www.netburner.com/learn