tags:

views:

277

answers:

3

I am a new NetBeans user. When I loaded my project, some files are faded. When I put the cursor over them, they are showed as "ignored". Why? All the JAR files and class files are also ignored.

A: 

Check Tools->Options->Miscellaneous->Files, there you can see what files are ignored by IDE and correct the settings if needed.

Malcolm
I got like this ^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|_svn)$|~$|^\.(?!htaccess$).*$
Could be a bug, then. There's no other reason IDE would ignore files.
Malcolm
oh.. how can I solve it?Is this becoz of nay program error? I am sorry if it is a stupid question
Bugs should be fixed by NetBeans developers.
Malcolm
A: 

"Ignored" in this context means files that are ignored by the VCS system. With CVS, the ignored files and directories are stored in .cvsignore in each directory. NetBeans manages this file automatically (you can right-click a file/directory and use CVS-> [Un]Ignore) to affect which are ignored. You can ignore other directories (like a folder that contains generated sources) so you don't accidentally commit them to VCS.

When you create a new project, Netbeans automatically adds build, dist and nbproject/private directories to the .cvsignore file because it doesn't expect you to commit those to the VCS.

Dave Smith
hi thanx a lot .it worked
A: 

I was just getting this with files in my mercurial repo. I had to just right-click them and select the 'Mercurial | Status' menu. When it refreshed the status, '[Ignored]' disappeared.

I did this after ensuring my .hgignore wasn't the culprit.

nicerobot