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 8106 - Java module updates package statement to invalid value
Summary: Java module updates package statement to invalid value
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-10-31 15:47 UTC by Svata Dedic
Modified: 2007-09-26 09:14 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 Svata Dedic 2000-10-31 15:47:33 UTC
Reported on behalf of jiri.kovalsky@netbeans.com:

If the user or some part of the IDE moves java sources into web-inf directory
created for purposes of EJB (or similar module), the java module will update
package statements to match the folder name even if that does not form a valid
Java idenifier.
Comment 1 Svata Dedic 2000-11-03 15:19:59 UTC
The current (and maybe desired) behaviour is that the module will *not* update
the source (package declaration) if the source is in an invalid directory. The
package declaration remains as it was at the original place.
Note: Templates instantiated into a directories like "web-inf" will have their
original package name Templates.Whatever.
Comment 2 Jiri Kovalsky 2000-11-03 15:26:59 UTC
In such a case this can be verified as designed. But on the other hand it is
not too much transparent announcement for the user that he has made a mistake.
Comment 3 Quality Engineering 2003-07-01 13:19:34 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.