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 42651 - New Wizard should check the existence of created file
Summary: New Wizard should check the existence of created file
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
: 42239 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-30 14:51 UTC by Jaromir Uhrik
Modified: 2007-09-26 09:14 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 Jaromir Uhrik 2004-04-30 14:51:28 UTC
[200404291800; j2sdk1.4.2_03]
When I'm creating e.g new Java Main Class, the
wizard should check whether the file has already
been created and let the user know that it is not
allowed to create such file again.
Comment 1 Jiri Rechtacek 2004-05-17 09:05:24 UTC
Do implementation same functionality as TemplateWizard does.
Comment 2 Lukas Hasik 2004-05-19 12:59:57 UTC
seems to me as duplicate of issue 42239
Jiri, please, close one of this two issues and reassign properly (to
you ?), thanks.
Comment 3 Jiri Rechtacek 2004-05-19 13:01:34 UTC
*** Issue 42239 has been marked as a duplicate of this issue. ***
Comment 4 Jiri Rechtacek 2004-05-24 17:10:23 UTC
Part of bugfix only for generic types, not for java sources.
Reassigned to java.

Checking in src/org/netbeans/modules/project/ui/Bundle.properties;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.23; previous revision: 1.22
done
Checking in src/org/netbeans/modules/project/ui/ProjectUtilities.java;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/ProjectUtilities.java,v
 <--  ProjectUtilities.java
new revision: 1.3; previous revision: 1.2
done
Checking in
src/org/netbeans/modules/project/ui/SimpleTargetChooserPanel.java;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/SimpleTargetChooserPanel.java,v
 <--  SimpleTargetChooserPanel.java
new revision: 1.11; previous revision: 1.10
done
Comment 5 Lukas Hasik 2004-05-24 17:46:00 UTC
Jiri - I'm confused with the summary: New Wizard doesn't should check
the existence of created file
Is it really 'doesn't'. I think that this bug (and the duplicate too)
was about checking of existence of file...
Comment 6 Lukas Hasik 2004-05-25 09:11:53 UTC
fixed typo in summary ;)
Comment 7 Jiri Rechtacek 2004-05-25 09:56:38 UTC
fixed also for java sources.

Checking in src/org/netbeans/modules/java/project/Bundle.properties;
/cvs/java/project/src/org/netbeans/modules/java/project/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.10; previous revision: 1.9
done
Checking in
src/org/netbeans/modules/java/project/JavaTargetChooserPanel.java;
/cvs/java/project/src/org/netbeans/modules/java/project/JavaTargetChooserPanel.java,v
 <--  JavaTargetChooserPanel.java
new revision: 1.10; previous revision: 1.9
done
Comment 8 Jaromir Uhrik 2004-06-01 13:54:22 UTC
Verified in 200405311900; j2sdk1.4.2_04
Comment 9 Quality Engineering 2007-09-20 11:55:52 UTC
Reorganization of java component