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 166353 - Project name of Java EE samples cannot be specified
Summary: Project name of Java EE samples cannot be specified
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Samples (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-01 15:42 UTC by pslechta
Modified: 2016-07-07 08:54 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pslechta 2009-06-01 15:42:49 UTC
New project > Samples > Java EE > * ... wizard does not allow the user to specify name of the project. The project name
is fixed.
Comment 1 pslechta 2009-06-01 16:08:39 UTC
The problem is that Java EE projects are just unzipped and metadata (project.xml) are not modified, thus the name of the
project cannot be changed. Module web.examples implements renaming of metadata and allows the user to specify project's
name. The similar thing should be implemented for Java EE projects.

Hint #1: Not only the main Java EE project's metadata file should be modified, but also metadata files of all
sub-projects should be modified.

Hint #2: Module web.examples and j2ee.samples should be merged, because they have the similar functionality and code.

Hint #3: See module web.examples, class org.netbeans.modules.web.examples.WebSampleProjectGenerator for details about
renaming of web project's metadata (or see Issue 166008 for partial fix)
Comment 2 Petr Jiricka 2009-08-28 14:38:55 UTC
This is an enhancement request.
Comment 3 Martin Balin 2016-07-07 08:54:51 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss