[
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
Zezula 2006-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
> <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: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists