![]() ![]() This explains why ant build clean worked, since it was done on the command line at the right level to clean the whole Suite. Now that I have the "Module Suite Project" opened correctly again, things work as expected. Building clean cleaned that particular Project correctly, but did not clean the entire Suite. Somehow, my NetBeans "Module Suite Project" (yellow/orange puzzle piece s icon) had been closed and the "Module Project" (purple puzzle piece icon) having the same exact name as the "Module Suite Project" was open. It occurs to me that NetBeans was keeping something open and just needed to be closed in order to delete the folders. When I reopened NetBeans, the problem was resolved. I closed NetBeans, and ran ant build clean at the command line, and it worked. Later, this problem cropped up again with NetBeans 8.1. I had two Project Groups, and had to close each project in both groups, close NetBeans, clear the cache, then add my projects back to my groups before it would work again. The first time I had this problem, Ray Slater's answer above helped me immensely. ![]() My problem manifested as running a clean build didn't delete the previous build folder or testuserdir folder, while I was using NetBeans 8.0.2. You might not need to whack your entire NetBeans cache. ![]() See this documentation at the NetBeans site: NetBeans 7.2 and newer Users/jdoe/.netbeans/5.0/ (To open this folder in the Finder, choose Go > Go to Folder from the Finder menu, type /Users/jdoe/.netbeans/5.0/ into the box, and click Go.)Ī Linux user jdoe running NetBeans 5.0 is likely to find his userdir under NetBeans 7.1 allows to separate the cache directory using a switch -cachedir to a desired location.Ī Windows user jdoe running NetBeans 5.0 is likely to find his userdir underĬ:\Documents and Settings\beans\5.0\Ī Windows Vista user jdoe running NetBeans 5.0 is likely to find his userdir underĪ Mac OS X user jdoe running NetBeans 5.0 is likely to find his userdir under To find out your exact userdir location, go to the IDE's main menu, and choose Help > About. For each version of NetBeans installed, the userdir will be a unique subdirectory such as. The cachedir can be found in var/cache subfolder of the userdir.Īs the name suggests, the userdir is unique per user. If it is set, you can also use the environment variable %LOCALAPPDATA%: del /s /q %LOCALAPPDATA%\NetBeans\Cache\Ĭache is at: ~/.cache/netbeans/$ on Unix-like systems, and %USERPROFILE% (usually set to C:\Documents and Settings\) on Windows. NetBeans 7.2+, Windows 7Ĭache is located in C:\Users\\AppData\Local\NetBeans\Cache\.Ĭlear the cache using the %USERPROFILE% Windows variable: del /s /q %USERPROFILE%\AppData\Local\NetBeans\Cache\ Close NetBeans before deleting the cache. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |