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 153960

Summary: Attempt to move a project failed
Product: python Reporter: aklein <aklein>
Component: ProjectsAssignee: ardavis26 <ardavis26>
Status: CLOSED WORKSFORME    
Severity: blocker CC: Jenselme
Priority: P3    
Version: 6.x   
Hardware: Other   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

Description aklein 2008-11-26 18:40:38 UTC
(Before: had installed NetBeans 6.5, tried to hand-install the Python early-access components. This was simple in
Solaris (SXCE) on x86, but more complicated on Windows. Gave up, uninstalled NetBeans. This may be entirely
irrelavant.)

Re-installed NetBeans 6.5, then NetBeans-Python-early-access.

I created a Project directory, containing subdirectories src and test;
started NetBeans, tried to move existing project into the new Project directory.
NetBeans locked up; java.exe at high utilization.

** Looks like NetBeans started creating directories recursively. **

It never stopped. I finally killed the java.exe.

Here is the trail:

$ pwd
/cygdrive/e/home/aklein/Architecture/Projects/BAM/programs   <-- existing directory
$ ls -l nbproject                                            <-- existing project
total 32
drwxr-xr-x 2 AKlein mkgroup-l-d   0 Nov 26 10:19 private
-rw-r--r-- 1 AKlein mkgroup-l-d 361 Nov 26 10:22 project.properties
-rw-r--r-- 1 AKlein mkgroup-l-d 525 Nov 26 10:22 project.xml

$ ls -l nbproject/private
total 0
-rw-r--r-- 1 AKlein mkgroup-l-d 0 Nov 26 10:19 private.properties



$ ls -ld Project                                    
drwxr-xr-x 5 AKlein mkgroup-l-d 0 Nov 26 11:53 Project       <-- new directory
$ ls Project                                                 <-- contains src, test... and its parent directory?
programs  src  test

$ ls Project/src     <-- src is empty, OK
$ ls Project/test    <-- test is empty, OK


# Project/programs contains copies of existing files,
# AND another copy of the new Project directory
# How deep does this go?

$ ls Project/programs
ClaimTracking_Insert.xml  demodata_with_time.py  main.py
Project                   failed_insert2.log     notes
cname                     generating_data.txt    successful_insert_smallest.xml

$ ls -l Project/programs/Project/programs
...
drwxr-xr-x 4 AKlein mkgroup-l-d    0 Nov 26 11:55 Project

$ ls -l Project/programs/Project/programs/Project/programs
...
drwxr-xr-x 4 AKlein mkgroup-l-d   0 Nov 26 11:55 Project

$ find Project/programs -type d -name Project | wc -l
11

### the bottom level:
###
Project/programs/Project/programs/Project/programs/Project/programs/Project/programs/Project/programs/Project/programs/Project/programs/Project/programs/Project/programs/Project/programs/Project
Comment 1 Jenselme 2017-06-22 20:32:35 UTC
This is currently not available for setuptools project. It works for ant projects.
Comment 2 Jiri Kovalsky 2017-06-23 08:06:08 UTC
Thanks for your evaluation Julien. Reporter, if you think your issue is still valid and needs to be addressed, don't hesitate to reopen it with additional information. Closing for now.