[jira] [Commented] (NETBEANS-5082) when run / terminate happens, build folder is duplicated recursively
[ https://issues.apache.org/jira/browse/NETBEANS-5082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17289557#comment-17289557 ] chris lanz commented on NETBEANS-5082: -- I only know that I'm running apache-netbeans 12 natively, with no adjustments. I downloaded an image whose title included neither Ant, Maven, nor any other such item. If you know how I could research the answer to your question, please let me know. > 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 > /build/classes > and in "classes" you see what you expect: the packages for the project. After > running, you have instead > /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
[jira] [Commented] (NETBEANS-5082) when run / terminate happens, build folder is duplicated recursively
[ https://issues.apache.org/jira/browse/NETBEANS-5082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17242569#comment-17242569 ] chris lanz commented on NETBEANS-5082: -- Can anyone tell us how to change the project root, and what we should change it to? (I'm trying to rescue a very large project) see bug report below: the bug report: [*88476*|https://bz.apache.org/netbeans/show_bug.cgi?id=88476] contains: [Comment 11|https://bz.apache.org/netbeans/show_bug.cgi?id=88476#c11] Tomas Zezula2006-11-03 11:09:40 UTC Now it's clear. You set the project root == source root, after compiling the sources with javac -d ${build.classes} ... the script copies resources from the source root to the ${build.classes} but in your case the build.dir is under source root, so it tries to copy recursively itself and probably ends on some OS folder depth limit. The IDE should not let you to create project where project root == source root. > 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 > /build/classes > and in "classes" you see what you expect: the packages for the project. After > running, you have instead > /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
[jira] [Commented] (NETBEANS-5082) when run / terminate happens, build folder is duplicated recursively
[ https://issues.apache.org/jira/browse/NETBEANS-5082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17242299#comment-17242299 ] Geertjan Wielenga commented on NETBEANS-5082: - Is there a build.xml file in your project's root folder? Then it is an Ant-based project. Is there a pom.xml file? Then it is a Maven based project. Ideally, put your code on GitHub (github.com), describe here or there how to reproduce the problem, and put a link to that GitHub repo here. > 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 > /build/classes > and in "classes" you see what you expect: the packages for the project. After > running, you have instead > /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
[jira] [Commented] (NETBEANS-5082) when run / terminate happens, build folder is duplicated recursively
[ https://issues.apache.org/jira/browse/NETBEANS-5082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17242286#comment-17242286 ] chris lanz commented on NETBEANS-5082: -- I answered Geertjan's last post in email, but here it is again. The project is a java desktop application. It is a "project" as defined by NetBeans. The image I downloaded included neither "Ant", "Maven", or any other such item. If all Netbeans 12 projects involve Ant or Maven then mine does too. Finally I will send the project to anyone who wants to try to duplicate the behavior, but it's 80,000 lines in files and maybe a dozen very large data files, so I will need to know what sort of ftp you would prefer. > 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 > /build/classes > and in "classes" you see what you expect: the packages for the project. After > running, you have instead > /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
[jira] [Commented] (NETBEANS-5082) when run / terminate happens, build folder is duplicated recursively
[ https://issues.apache.org/jira/browse/NETBEANS-5082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17241878#comment-17241878 ] Geertjan Wielenga commented on NETBEANS-5082: - Is it an Ant based project? Is it Maven based? Gradle? Is it a web app or a Java desktop app? No one can help if yoy provide nothing at all other than words. > 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 > /build/classes > and in "classes" you see what you expect: the packages for the project. After > running, you have instead > /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
[jira] [Commented] (NETBEANS-5082) when run / terminate happens, build folder is duplicated recursively
[ 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 > /build/classes > and in "classes" you see what you expect: the packages for the project. After > running, you have instead > /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
[jira] [Commented] (NETBEANS-5082) when run / terminate happens, build folder is duplicated recursively
[ https://issues.apache.org/jira/browse/NETBEANS-5082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17241864#comment-17241864 ] Geertjan Wielenga commented on NETBEANS-5082: - If you don’t provide a sequence of steps to reproduce the problem, or a project with which to do so, no one will ever be able to help you. No, writing back with some other story, no matter how long it is, is not going to help. Just provide a way for someone to reproduce this. Please. > 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 > /build/classes > and in "classes" you see what you expect: the packages for the project. After > running, you have instead > /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