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 252061 - Package statements not refactored on copy of Java files between Maven projects.
Summary: Package statements not refactored on copy of Java files between Maven projects.
Status: RESOLVED DUPLICATE of bug 240149
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-24 07:22 UTC by bht
Modified: 2015-06-24 10:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log file (116.09 KB, text/plain)
2015-04-24 07:22 UTC, bht
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bht 2015-04-24 07:22:41 UTC
Created attachment 153347 [details]
log file

Bahavior is the same as it was in bug 219534. But here, the projects are not under version control.

I cannot find any errors in the log. I copied the projects to a different computer where the problem can be reproduced.

Clean and build succeeds without errors although erroneous files are contained in the project.

This happens when only files are copied. The target package already exists so there is no complication from that perspective.

The package statements are highlighted in the editor as being erroneous, but not in the Projects window.

This kind of problem is familiar to me. I think this is very important.

I could provide the projects off-line as long as they are not attached to the issue.
Comment 1 bht 2015-04-25 00:39:05 UTC
Uploaded projects at 

http://deadlock.netbeans.org/job/upload/

The uploaded zip file contains all projects and a text file with steps how to reproduce the problem. Reproduces on Windows 7 and Windows XP.
Comment 2 bht 2015-05-01 21:34:09 UTC
The refactor dialog is not opened on moving files as it normally is.
Comment 3 Ralph Ruijs 2015-06-24 10:29:06 UTC

*** This bug has been marked as a duplicate of bug 240149 ***