NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Eric Torstenson Posted via mailing list.
|
Posted: Fri Jul 27, 2012 3:41 pm Post subject: Class view shows ghost classes for deleted files |
|
|
I'm using netbeans 7.1.2 on OSX for C++.
I am using gtest, and when I added it to my project, netbeans picked up
all of the gtest tests and sample code, which poluted my namespace
listing in the "classes" tree. I've since removed those files (deleted
them, since they are no longer needed), however I see a lot of ghost
namespaces in which classes and functions which were contained in those
files. Is there a way to force netbeans to reparse my project and
totally rebuild it's class information? Unfortunately, the way the tests
were written, NB created 14 "unnamed" namespaces, along with a bunch of
named ones, dozens of global functions-and my program's 2 namespaces are
lost in all of the clutter.
Netbeans shows the "ghost" classes, including any member functions/data
in the tree, but it refuses to bring up the files when I click on them
(since they don't exist any more).
Thanks for any help.
eric |
|
| Back to top |
|
 |
Javier Ortiz Posted via mailing list.
|
Posted: Fri Jul 27, 2012 3:50 pm Post subject: Class view shows ghost classes for deleted files |
|
|
Maybe clearing the cache will help.
Senior Software Quality Engineer
ArthroCare Corporation
7000 William Cannon Drive
Austin, TX 78735
Phone: 512-358-5996
email: address-removed
-----Original Message-----
From: Eric Torstenson [mailto:address-removed]
Sent: Friday, July 27, 2012 10:41 AM
To: address-removed
Subject: [nbusers] Class view shows ghost classes for deleted files
I'm using netbeans 7.1.2 on OSX for C++.
I am using gtest, and when I added it to my project, netbeans picked up all of the gtest tests and sample code, which poluted my namespace listing in the "classes" tree. I've since removed those files (deleted them, since they are no longer needed), however I see a lot of ghost namespaces in which classes and functions which were contained in those files. Is there a way to force netbeans to reparse my project and totally rebuild it's class information? Unfortunately, the way the tests were written, NB created 14 "unnamed" namespaces, along with a bunch of named ones, dozens of global functions-and my program's 2 namespaces are lost in all of the clutter.
Netbeans shows the "ghost" classes, including any member functions/data in the tree, but it refuses to bring up the files when I click on them (since they don't exist any more).
Thanks for any help.
eric
**********
The information contained in this e-mail message, together with any
attachments thereto, is intended only for the personal and confidential
use of the addressee named above. The message and the attachments
are or may be privileged or protected communication. If you are not the
intended recipient of this message, or authorized to receive it for the
intended recipient, you have received this message in error, and you
are not to review, use, disseminate, distribute or copy this message,
any attachments thereto, or their contents. If you have received this
message in error, please immediately notify us by return e-mail
message, and delete the original message.
Pursuant to Circular 230 issued by the United States Treasury
Department and relating to practice before the Internal Revenue
Services, any comment or opinion in this communication relating to a
federal tax issue is not intended to be used, and cannot be used, by a
taxpayer for the purpose of avoiding tax-related penalties that may be
imposed on the taxpayer. |
|
| Back to top |
|
 |
Eric Torstenson Posted via mailing list.
|
Posted: Fri Jul 27, 2012 4:12 pm Post subject: Class view shows ghost classes for deleted files |
|
|
That worked just fine-it took a few minutes to rebuild, but the end
result is a usable class tree once again.
For those who find this and want to find the cache, on OSX, it's under
~/.netbeans/7.X.X/var/cache (I couldn't find anyplace to change this in
preferences, so it's probably true on all 7.1.x installations). Not sure
if it's there for linux users, but it seems likely. Probably elsewhere
for window's users.
Thanks much for the help.
eric
On 7/27/12 10:49 AM, Javier Ortiz wrote:
| Quote: | Maybe clearing the cache will help.
Senior Software Quality Engineer
ArthroCare Corporation
7000 William Cannon Drive
Austin, TX 78735
Phone: 512-358-5996
email: address-removed
-----Original Message-----
From: Eric Torstenson [mailto:address-removed]
Sent: Friday, July 27, 2012 10:41 AM
To: address-removed
Subject: [nbusers] Class view shows ghost classes for deleted files
I'm using netbeans 7.1.2 on OSX for C++.
I am using gtest, and when I added it to my project, netbeans picked up all of the gtest tests and sample code, which poluted my namespace listing in the "classes" tree. I've since removed those files (deleted them, since they are no longer needed), however I see a lot of ghost namespaces in which classes and functions which were contained in those files. Is there a way to force netbeans to reparse my project and totally rebuild it's class information? Unfortunately, the way the tests were written, NB created 14 "unnamed" namespaces, along with a bunch of named ones, dozens of global functions-and my program's 2 namespaces are lost in all of the clutter.
Netbeans shows the "ghost" classes, including any member functions/data in the tree, but it refuses to bring up the files when I click on them (since they don't exist any more).
Thanks for any help.
eric
**********
The information contained in this e-mail message, together with any
attachments thereto, is intended only for the personal and confidential
use of the addressee named above. The message and the attachments
are or may be privileged or protected communication. If you are not the
intended recipient of this message, or authorized to receive it for the
intended recipient, you have received this message in error, and you
are not to review, use, disseminate, distribute or copy this message,
any attachments thereto, or their contents. If you have received this
message in error, please immediately notify us by return e-mail
message, and delete the original message.
Pursuant to Circular 230 issued by the United States Treasury
Department and relating to practice before the Internal Revenue
Services, any comment or opinion in this communication relating to a
federal tax issue is not intended to be used, and cannot be used, by a
taxpayer for the purpose of avoiding tax-related penalties that may be
imposed on the taxpayer.
|
|
|
| Back to top |
|
 |
Javier Ortiz Posted via mailing list.
|
Posted: Fri Jul 27, 2012 4:23 pm Post subject: Class view shows ghost classes for deleted files |
|
|
For reference, you can specify user dir with this:
--userdir
I believe there's one for the cache as well, maybe --cachedir.
Senior Software Quality Engineer
ArthroCare Corporation
7000 William Cannon Drive
Austin, TX 78735
Phone: 512-358-5996
email: address-removed
-----Original Message-----
From: Eric Torstenson [mailto:address-removed]
Sent: Friday, July 27, 2012 11:11 AM
To: address-removed
Subject: [nbusers] Re: Class view shows ghost classes for deleted files
That worked just fine-it took a few minutes to rebuild, but the end result is a usable class tree once again.
For those who find this and want to find the cache, on OSX, it's under ~/.netbeans/7.X.X/var/cache (I couldn't find anyplace to change this in preferences, so it's probably true on all 7.1.x installations). Not sure if it's there for linux users, but it seems likely. Probably elsewhere for window's users.
Thanks much for the help.
eric
On 7/27/12 10:49 AM, Javier Ortiz wrote:
| Quote: | Maybe clearing the cache will help.
Senior Software Quality Engineer
ArthroCare Corporation
7000 William Cannon Drive
Austin, TX 78735
Phone: 512-358-5996
email: address-removed
-----Original Message-----
From: Eric Torstenson [mailto:address-removed]
Sent: Friday, July 27, 2012 10:41 AM
To: address-removed
Subject: [nbusers] Class view shows ghost classes for deleted files
I'm using netbeans 7.1.2 on OSX for C++.
I am using gtest, and when I added it to my project, netbeans picked up all of the gtest tests and sample code, which poluted my namespace listing in the "classes" tree. I've since removed those files (deleted them, since they are no longer needed), however I see a lot of ghost namespaces in which classes and functions which were contained in those files. Is there a way to force netbeans to reparse my project and totally rebuild it's class information? Unfortunately, the way the tests were written, NB created 14 "unnamed" namespaces, along with a bunch of named ones, dozens of global functions-and my program's 2 namespaces are lost in all of the clutter.
Netbeans shows the "ghost" classes, including any member functions/data in the tree, but it refuses to bring up the files when I click on them (since they don't exist any more).
Thanks for any help.
eric
**********
The information contained in this e-mail message, together with any
attachments thereto, is intended only for the personal and
confidential use of the addressee named above. The message and the attachments
are or may be privileged or protected communication. If you are not
the intended recipient of this message, or authorized to receive it
for the intended recipient, you have received this message in error,
and you are not to review, use, disseminate, distribute or copy this
message, any attachments thereto, or their contents. If you have
received this message in error, please immediately notify us by return
e-mail message, and delete the original message.
Pursuant to Circular 230 issued by the United States Treasury
Department and relating to practice before the Internal Revenue
Services, any comment or opinion in this communication relating to a
federal tax issue is not intended to be used, and cannot be used, by a
taxpayer for the purpose of avoiding tax-related penalties that may be
imposed on the taxpayer.
|
**********
The information contained in this e-mail message, together with any
attachments thereto, is intended only for the personal and confidential
use of the addressee named above. The message and the attachments
are or may be privileged or protected communication. If you are not the
intended recipient of this message, or authorized to receive it for the
intended recipient, you have received this message in error, and you
are not to review, use, disseminate, distribute or copy this message,
any attachments thereto, or their contents. If you have received this
message in error, please immediately notify us by return e-mail
message, and delete the original message.
Pursuant to Circular 230 issued by the United States Treasury
Department and relating to practice before the Internal Revenue
Services, any comment or opinion in this communication relating to a
federal tax issue is not intended to be used, and cannot be used, by a
taxpayer for the purpose of avoiding tax-related penalties that may be
imposed on the taxpayer. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|