sam
sam

Reputation:

ignored files in the netbeans

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.

Upvotes: 3

Views: 8601

Answers (3)

nicerobot
nicerobot

Reputation: 9235

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.

Upvotes: 1

Dave Smith
Dave Smith

Reputation: 756

"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.

Upvotes: 2

Malcolm
Malcolm

Reputation: 41510

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

Upvotes: 6

Related Questions