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 178788 - Rename Maven project leaves project marked "Badly formed Maven project"
Summary: Rename Maven project leaves project marked "Badly formed Maven project"
Status: RESOLVED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P4 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-17 07:25 UTC by denbo
Modified: 2010-10-03 03:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
rename maven project dialog (25.31 KB, image/jpeg)
2009-12-17 07:25 UTC, denbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description denbo 2009-12-17 07:25:10 UTC
Created attachment 92712 [details]
rename maven project dialog

When I rename a Maven project and tick all three checkboxes (Change Display Name, Change ArtifactID, Rename Folder) everything works fine but when finished, the project is marked as "Badly formed Maven project" for no apparent reason.

This happens only sometimes, has the "feel" of a race condition and can be worked around easily: open the pom.xml file, modify it (add a space or sth), save => project is recognized without any problems.

A marginal mini-bug in the Rename Maven project dialog: in the first line the quotes around the original project name have '\' prepended.
Comment 1 Antonin Nebuzelsky 2010-07-30 15:18:00 UTC
Reassigning to default owner.
Comment 2 Jesse Glick 2010-10-01 20:28:52 UTC
Afraid I cannot reproduce this problem in a 6.10 dev build. We are now using a very different embedder, so it is quite possible that bugs like this would no longer apply.
Comment 3 Quality Engineering 2010-10-03 03:00:55 UTC
Integrated into 'main-golden', will be available in build *201010030000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/2b1c2b298a98
User: Jesse Glick <jglick@netbeans.org>
Log: Extraneous backslashes mentioned in #178788.