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.

Bug 135658 - Maven doesn't support the new Javascript-Editor
Summary: Maven doesn't support the new Javascript-Editor
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks: 89008
  Show dependency tree
 
Reported: 2008-05-23 08:30 UTC by wbabachan
Modified: 2008-07-02 12:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Javascript-Editor under maven war type project. (100.16 KB, text/plain)
2008-05-23 08:40 UTC, wbabachan
Details
Javascript-Editor under nb web project. (100.16 KB, text/plain)
2008-05-23 08:41 UTC, wbabachan
Details
Again, the right screenshot for JS Editor under Maven (170.46 KB, text/plain)
2008-05-23 08:50 UTC, wbabachan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wbabachan 2008-05-23 08:30:51 UTC
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.
Comment 1 wbabachan 2008-05-23 08:40:57 UTC
Created attachment 61801 [details]
Javascript-Editor under maven war type project.
Comment 2 wbabachan 2008-05-23 08:41:29 UTC
Created attachment 61802 [details]
Javascript-Editor under nb web project.
Comment 3 wbabachan 2008-05-23 08:45:34 UTC
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.
Comment 4 wbabachan 2008-05-23 08:50:10 UTC
Created attachment 61803 [details]
Again, the right screenshot for JS Editor under Maven
Comment 5 Milos Kleint 2008-05-23 09:41:02 UTC
we need to implement GSF side of the project to get support for dynamic languages like scala, groovy and javascript.
Comment 6 Milos Kleint 2008-05-23 11:55:20 UTC
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.
Comment 7 Milos Kleint 2008-07-02 12:29:24 UTC
fixed for 6.5
http://fisheye.codehaus.org/changelog/mevenide/?cs=5457