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 56426 - Cannot create project from ex. src. if manifest exists
Summary: Cannot create project from ex. src. if manifest exists
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL: http://projects.netbeans.org/buildsys...
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-15 09:50 UTC by Milan Kubec
Modified: 2011-08-31 14:05 UTC (History)
0 users

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 Milan Kubec 2005-03-15 09:50:17 UTC
[dev-200503141900, JDK 1.5.0_02]

Let's suppose I have this trivial "project":
ProjectWithManifest
 |- src/some_packages_with_sources
 |- manifest.mf

I was happy compiling and jarring this project from cmd line, since it's really
simple.

Then I wanted to create NetBeans project from ex. sources from this project and
put all project metadata to ProjectWithManifest folder. BUT project wizard tells
me on the second panel that it cannot create project if the manifest is already
there.

We need to handle existing manifests better than refusing to create the project.
User could import the manifest or something like that.
Comment 1 Tomas Zezula 2005-03-21 13:11:41 UTC
See UI Spec:
http://projects.netbeans.org/buildsys/j2se-project-ui-spec-promoe.html#Step_2_New_Java_Project_with
The j2seproject creates its own manifest this will rewrite your manifest, it can
be changed that the manifest will not be created if it already exists.

Comment 2 Tomas Zezula 2005-03-21 13:35:27 UTC
See UI Spec:
http://projects.netbeans.org/buildsys/j2se-project-ui-spec-promoe.html#Step_2_New_Java_Project_with
The j2seproject creates its own manifest this will rewrite your manifest, it can
be changed that the manifest will not be created if it already exists.