This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The new javascript editor is not working correctly under maven ".war" project. If I create a netbeans ".war" project then it works. Under maven project I can't get code compilation, highlighting works fine but even simple code compilation, like document.getElementById() doesn't work. Milos asks me to file an issue and include a sample maven project. I use nb 6.1 with some maven projects. In a maven war type Project, I use Extjs Library (http://extjs.com), this is a JavaScript library that works fine with dwr (Direct web remoting - http://getahead.org/dwr/) so you can build web 2.0 GUI using AJAX, sending user interaction via dwr to spring and get the result and displaying them on the screen. JavaScript is an important part of frontend developing. At this time there is no chance to get the features of new javascript editor under maven, that is very important if the developer uses heavy javascript libraries. I include 2 screenshots displaying the behaviour of javascript-editor under nb web project and nb maven project.
Created attachment 61801 [details] Javascript-Editor under maven war type project.
Created attachment 61802 [details] Javascript-Editor under nb web project.
It is a little bit strange, some times under Maven Project I don't get even javascript core compilation, but some times I get it (on the same js file)... 3-rd Party JS Libraries are supported only under web project.
Created attachment 61803 [details] Again, the right screenshot for JS Editor under Maven
we need to implement GSF side of the project to get support for dynamic languages like scala, groovy and javascript.
wbabachan: could you please attach a sample project with js setup? so that I can verify that the integration is correct once written.. also please use the correct mimetype for attachments.
fixed for 6.5 http://fisheye.codehaus.org/changelog/mevenide/?cs=5457