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 225786 - Support for HTML5 features (Project Easel) in Maven Web projects
Summary: Support for HTML5 features (Project Easel) in Maven Web projects
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.3.1
Hardware: All All
: P2 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-06 10:10 UTC by Petr Jiricka
Modified: 2013-03-13 02:09 UTC (History)
5 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2013-02-06 10:10:03 UTC
This is analogous to enhancement 222236, which asks for HTML5 functionality in Ant projects. 

Project Easel functionality (most importantly browser integration, JavaScript debugging and visual CSS editing) needs to also be available in Maven web projects. This support should be consistent with support in Ant projects (issue 222236).
Comment 1 Martin Janicek 2013-02-07 09:24:36 UTC
Due to the fact that this should be implemented in trunk, I'm not sure if it's a good idea to do it now. I have made some changes on javaee7 branch in customizer UI and as far as I understand this some UI changes has to be made to accomplish this feature.

This will surely result in conflicts during the branch merging (and they won't be easy to solve, I have also refactored quite a lot of code on the branch --> see web-main #89d0da06af1b for better picture).. would it be good enough to implement this once the javaee7 branch will be merged in trunk?
Comment 2 Petr Jiricka 2013-02-07 10:31:49 UTC
Ok, I understand your concern. I am uncomfortable leaving this until mid-April, so the two options I can think of are:
- Implement this functionality in the EE 7 branch (and leave it disabled by default) or in a separate branch on top of the EE 7 branch. But this has the problem that the implementation may depend on some changes that David made in trunk recently
- Merge javaee7 branch to trunk now and then again at the end of the 7.3.1 development cycle (and possibly several times in between)

What do you think?
Comment 3 Martin Janicek 2013-02-07 10:39:56 UTC
(In reply to comment #2)
> Ok, I understand your concern. I am uncomfortable leaving this until mid-April,
> so the two options I can think of are:
> - Implement this functionality in the EE 7 branch (and leave it disabled by
> default) or in a separate branch on top of the EE 7 branch. But this has the
> problem that the implementation may depend on some changes that David made in
> trunk recently
> - Merge javaee7 branch to trunk now and then again at the end of the 7.3.1
> development cycle (and possibly several times in between)
> 
> What do you think?

Option one sounds impossible with respect to some API dependencies.
Option two sounds good to me. Maybe it would be even better then wait for next three months and hope that we will be able to merge everything back to trunk.
Comment 4 Martin Janicek 2013-02-07 10:45:50 UTC
CCing few others to get wider agreement or opposite opinion (please see comment 2)
Comment 5 Sergey Petrov 2013-02-07 11:31:47 UTC
In my opinion it's good to have javaee7 merge into default from time to time even if we'll continue to use javaee7 also. One more point are possible merge conflicts after collecting a lot of difference between default/javaee7 with parallel development.
Comment 6 Martin Janicek 2013-02-20 14:16:17 UTC
First part fixed in:
web-main #49b2bb0da334
web-main #e1ef0115c8b6

..deploy on save support is still missing, but the rest should be done. I'm on it..
Comment 7 Quality Engineering 2013-02-21 04:02:04 UTC
Integrated into 'main-golden', will be available in build *201302202300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/49b2bb0da334
User: Martin Janicek <mjanicek@netbeans.org>
Log: #225786 part 1 - Browser selection in project customizer
Comment 8 Martin Janicek 2013-03-12 15:20:58 UTC
Deploy on save feature added in: web-main #eb570c090177
AFAIK this was the last item --> Closing the ticket
Comment 9 Quality Engineering 2013-03-13 02:09:21 UTC
Integrated into 'main-golden', will be available in build *201303122300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/eb570c090177
User: Martin Janicek <mjanicek@netbeans.org>
Log: #225786 - Support for HTML5 features (Project Easel) in Maven Web projects