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 156925 - Package gets added to copied JSPX files when located in sub-directory
Summary: Package gets added to copied JSPX files when located in sub-directory
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P2 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-16 00:12 UTC by big_al
Modified: 2009-02-13 20:56 UTC (History)
1 user (show)

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 big_al 2009-01-16 00:12:37 UTC
Steps to reproduce:

1. Create a web project
2. Create a folder called test in Web Pages
3. Create a JSP file in the test folder
4. Copy the file and paste it in the same directory

Observed behaviour:

When you open the copied file you will find that "package test;" has been added to the top of the page, which is not valid for JSP files.
Comment 1 Petr Jiricka 2009-02-13 15:31:06 UTC
Works correctly for me now in build 5049 from deadlock:
http://deadlock.netbeans.org/hudson/job/trunk/

Was probably fixed by some other fix - can you please verify? Thanks.
Comment 2 big_al 2009-02-13 20:56:54 UTC
I can confirm that the issue was fixed in the latest update.