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 109059 - VWD in M10 creates hundreds of subdirectories
Summary: VWD in M10 creates hundreds of subdirectories
Status: RESOLVED DUPLICATE of bug 108800
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-06 22:52 UTC by kidvid
Modified: 2007-12-04 17:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
New Web Project using existing Ant Setup Screen (38.85 KB, image/gif)
2007-12-04 17:05 UTC, kidvid
Details
New Visual JSF options for a web project using an existing ANT script. (43.92 KB, image/jpeg)
2007-12-04 17:06 UTC, kidvid
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kidvid 2007-07-06 22:52:51 UTC
Milestone 10

I created a new web project from existing sources.  I had a small JSF web app I used for the project.  It's very basic
and not IDE dependant; we compile this test-app with an ANT script.  It uses the standard EE setup for a JSF application
with a WEB-INF folder and so forth.  I called my project "ImApplication42NoAnt."  This project descriptor does not match
any package folder in my application.

I got my new NB6 project compiling and creating the WAR file OK.
I clicked on "Add new Visual Web page."  The program hung for 10 minutes and I had to kill it.

In my Web/SRC folder, it created 900+ additional folders.  We had to write a special Java utility to recursively drill
down and delete them; the path was too big for Windows Explorer to handle.  I'm guessing it was trying to put a backing
bean here but got stuck in some kind of infinite loop.

For example, my app source folder initially looked like this:

App-root/web/src
---> source doe under here.

After experiencing the bug, my app source folder looked like this.

App-root/web/src
--->  ImApplication42NoAnt/src/ImApplication42NoAnt/src/ImApplication42NoAnt/src and so forth, 900+ levels deep.

It also appears that the tool should have asked what package I wanted to put my backing bean in.  It assumed the wrong
package path.

Because of this bug, my hard drive was temporarily corrupted, and I was unable to do builds against that project.
Comment 1 kidvid 2007-07-08 23:47:36 UTC

*** This issue has been marked as a duplicate of 108800 ***
Comment 2 kidvid 2007-12-04 17:05:36 UTC
Created attachment 53860 [details]
New Web Project using existing Ant Setup Screen
Comment 3 kidvid 2007-12-04 17:06:26 UTC
Created attachment 53861 [details]
New Visual JSF options for a web project using an existing ANT script.