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 208359 - Wrap Text At Right Margin breaks Maven plugins
Summary: Wrap Text At Right Margin breaks Maven plugins
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-13 17:59 UTC by _ gtzabari
Modified: 2012-04-03 11:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2012-02-13 17:59:01 UTC
Product Version: NetBeans IDE Dev (Build 201202110400)
Java: 1.7.0_02; Java HotSpot(TM) 64-Bit Server VM 22.0-b10
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev

1. Open Maven plugin (Mojo)
2. Initially Javadoc contains:

/**
 * @goal get-binaries
 * @phase generate-sources
 */

3. Run code-format
4. Now Javadoc contains:

/**
 * @goal get-binaries @phase generate-sources
 */

5. Maven can no longer find the goal. It parses "@phase generate-sources" as part of the goal name.

6. Expected behavior: Netbeans should not merge two tags onto the same line.
Comment 1 Jan Becicka 2012-02-14 09:02:10 UTC
editor does formatting
Comment 2 Dusan Balek 2012-03-30 08:23:04 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/a99827c94396
Comment 3 Quality Engineering 2012-04-03 11:11:45 UTC
Integrated into 'main-golden', will be available in build *201204030400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a99827c94396
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #208359: Wrap Text At Right Margin breaks Maven plugins - fixed.