[ 
https://issues.apache.org/jira/browse/NETBEANS-5082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17241876#comment-17241876
 ] 

chris lanz commented on NETBEANS-5082:
--------------------------------------

Here are the steps I believe would have to happen to duplicate the behavior:

The phenomenon doesn't occur in a "hello world" program, in either of my two 
installations of netbeans 12 or in one netbeans 8.0.2 install. I have no other 
project handy. To duplicate the behavior, one would have to obtain a copy of my 
project (80,000 lines in files + several large data files)

examine the "build" folder: it should contain one folder "classes", and in 
"classes" one finds all the packages for the project. The number of items will 
be 961

open the project in either netbeans 8.0.2 or netbeans 12

run the project: background scan takes a few minutes before the running 
happens, but it runs normally

examine the build folder again: it will have had some multiple of 961 added to 
its number of items. I have experienced multiples up to 120,000 items in the 
build folder after running. This is not typical - 5,000 is a reasonable average.

attempt a second run: not generally possible because the background scan and 
classpath scan take up to 8 hours, but when it is possible, and one examines 
the build folder again, it will have grown by some further additions of 961 
items.

removing the outermost extra build folder makes it possible to run again, but 
the build folder will once again accumulate extra copies of itself, containing 
a copy of "classes"

All of this can be done on either of 2 netbeans 12 installs (on two separate 
computers), and in my original 8.0.2., and can be repeated ad libitum.

> when run / terminate happens, build folder is duplicated recursively
> --------------------------------------------------------------------
>
>                 Key: NETBEANS-5082
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5082
>             Project: NetBeans
>          Issue Type: Bug
>          Components: cnd - Other
>    Affects Versions: 12.0.1
>            Reporter: chris lanz
>            Priority: Major
>             Fix For: 12.0.1
>
>
> I ran my project in 8.0.2 for years; all was well. Then, after running the 
> program, the build folder expanded vastly. Before running you find
> <project folder>/build/classes
> and in "classes" you see what you expect: the packages for the project. After 
> running, you have instead
> <project folder>/build/classes/build/classes/build/classes/   (continue for 
> multiple iterations)
> creating multiple copies of all classes.
> This at one time created a build folder with more than 120,000 items (the 
> normal number for my project is 961 items.)
> I have installed netbeans 12, and the same project has the same problem - 
> build folder duplication. The symptom that I first noticed was background 
> scanning took 8 hours (although it DID eventually finish.)
> Does anyone know how to change the IDE's behavior? If, in order to answer,  
> you need logs of some kind, I've never done that, so be sure to state what I 
> need to do in a complete way.
> Somehow, when saving information from one run as a resource, my instance of 
> the IDE thinks it's supposed to perform this duplication.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to