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 243260 - "clean" target fails to remove persistence.xml
Summary: "clean" target fails to remove persistence.xml
Status: RESOLVED INCOMPLETE
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-25 14:53 UTC by tomoke
Modified: 2014-05-02 09:58 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 tomoke 2014-03-25 14:53:52 UTC
I have a project that had previously been built with Eclipse, and had target folders within it, like: \target\classes\META-INF\persistence.xml

It would appear that Netbeans will open the persistence.xml files, preventing it from cleaning these folders, requiring manual cleaning before a build can be done.
It would be useful if somehow Netbeans was able to note the files that would be cleaned, to ensure that it would be able to close them on the clean operation.

Certainly not a deal-breaker, but nice.
Comment 1 Martin Janicek 2014-03-28 10:20:22 UTC
Not sure I understand. After running "mvn clean" your target dir isn't empty because the file was open? And if you close it, it perform clean correctly ?
Comment 2 Martin Janicek 2014-05-02 09:58:23 UTC
I'm sorry but I don't understand described behavior. Closing as INCOMPLETE for now, please reopen the issue with some answers requested in comment 1. Thanks in advace ;)