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 54525 - End-Less Folders
Summary: End-Less Folders
Status: RESOLVED INVALID
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Radko Najman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-04 03:20 UTC by kamlivala
Modified: 2005-04-01 13:23 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 kamlivala 2005-02-04 03:20:21 UTC
I changed the project.properties with the 
following values.

build.dir=C:/Program Files/Apache Group/Tomcat 
5.0/webapps
dist.dir=C:/Program Files/Apache Group/Tomcat 
5.0/dist

The above setup worked fine for me. Later I 
changed the above properties with following 
values as following:

build.dir=web
dist.dir=dist

I build the project and I run the index.jsp file 
from NetBeans editor. Then It created a lot 
files. I try to delete the generated folders but 
Windows XP Prompt Box ( Error Deleting File or 
Folder) me that:

Cannot delete CUSTOM~1: Access is denied.
Make sure the disk is not full or write-
protected and that the file is not currently in 
use.

===============================================
Following is the result when I run index.jsp 
file:


init:
deps-jar:
Copying 9 files to 
F:\projects\PRJSCO\CustomTagsLib\web\CustomTagsLi
b
Unable to create directory 
F:\projects\PRJSCO\CustomTagsLib\web\CustomTagsLi
b\CustomTagsLib\CustomTagsLib\CustomTagsLib\Custo
mTagsLib\CustomTagsLib\CustomTagsLib\CustomTagsLi
b\CustomTagsLib\CustomTagsLib\CustomTagsLib\Custo
mTagsLib\CustomTagsLib\CustomTagsLib\CustomTagsLi
b\CustomTagsLib
Unable to create directory 
F:\projects\PRJSCO\CustomTagsLib\web\CustomTagsLi
b\CustomTagsLib\CustomTagsLib\CustomTagsLib\Custo
mTagsLib\CustomTagsLib\CustomTagsLib\CustomTagsLi
b\CustomTagsLib\CustomTagsLib\CustomTagsLib\Custo
mTagsLib\CustomTagsLib\CustomTagsLib\CustomTagsLi
b\WEB-INF
compile:
compile-jsps:
run-deploy:
Starting server Bundled Tomcat (5.0.28)
Starting Tomcat process...
Tomcat server started.
In-place deployment at 
F:\projects\PRJSCO\CustomTagsLib\web\CustomTagsLi
b
OK - Deployed application from context file 
file:/F:/projects/PRJSCO/CustomTagsLib/web/Custom
TagsLib/META-INF/context.xml
OK - Deployed application from context file 
file:/F:/projects/PRJSCO/CustomTagsLib/web/Custom
TagsLib/META-INF/context.xml
start?path=/CustomTagsLib
OK - Started application at context 
path /CustomTagsLib
run-display-browser:
Browsing: 
http://localhost:8084/CustomTagsLib/index.jsp
run:
BUILD SUCCESSFUL (total time: 56 seconds)
Comment 1 ehucka 2005-02-07 11:19:53 UTC
move to web
Comment 2 zikmund 2005-04-01 13:23:50 UTC
The problem is that you used
  build.dir=web
instead of
  build.dir=build
in your case all web content (which was in directory web was copied into web),
repreting Build several times will cause web\web\web\web\web\... etc. directory.