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 111597

Summary: How to add existing item to the project
Product: obsolete Reporter: Roman Mostyka <romanmostyka>
Component: visualwebAssignee: _ potingwu <potingwu>
Status: STARTED ---    
Severity: blocker CC: tmysik
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Roman Mostyka 2007-08-01 11:20:31 UTC
Before there was "File > Add Existing Item" feature for adding existing feature to the project. Now it is absent.
It isn't obviously how to add existing item to the project now.
Comment 1 Milos Kleint 2007-08-01 14:15:36 UTC
what kind of project are you talking about? What is our netbeans setup? do you have any additional, non-default modules
installed?
I've never seen any "File > Add Existing Item" menu item in the product.
Comment 2 Roman Mostyka 2007-08-01 14:28:33 UTC
>what kind of project are you talking about?
I'm talking about web application.

>What is our netbeans setup?
What do you mean? Is there any way to add existing item (JSP page, Java file, HTML page, etc.) from IDE?

>Do you have any additional, non-default modules installed?
I installed standard type of IDE.

>I've never seen any "File > Add Existing Item" menu item in the product.
We had it at least in Sun Java Studio Creator, NetBeans 5.5 and NetBeans 5.5.1.
Comment 3 Tomas Mysik 2007-11-05 09:56:16 UTC
Probably issue of the VisualWeb project - reassigning for evaluation. Thanks.
Comment 4 _ potingwu 2007-11-05 17:23:54 UTC
Visual Web in NetBeans 6.0 is now part of Web Project. You can add everything the standard NetBeans web project can add.
E.g., JSP page, Java file, ... You can just right click on any nodes under project and select New.

One feature, import HTML page, is missing though and will not be available for NetBeans 6.0. Please see issue#90480.


*** This issue has been marked as a duplicate of 90480 ***
Comment 5 _ potingwu 2007-11-05 17:25:51 UTC
BTW, 'existing' JSP/Java is also under that category.
Comment 6 _ potingwu 2007-11-05 17:31:12 UTC
On second thought, I think we may want to separate the issue of 'Import HTML' from 'Add Existing JSP/Java/...' for the
future post NetBeans 6.0 plan.
Comment 7 _ potingwu 2007-11-05 17:39:26 UTC
*** Issue 120633 has been marked as a duplicate of this issue. ***