How to exclude folders in an Eclipse project

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
Matt
Posts: 2
Joined: Tue Mar 22, 2011 10:53 am

How to exclude folders in an Eclipse project

Post by Matt » Mon May 09, 2011 8:07 am

Can anyone tell me how to get the Vault 5.1 plugin for Eclipse to exclude certain folders in a project? For example, I've got a deliverables folder and a .preprocessed folder that always get updated after a build, and the Vault plugin keeps trying to add every file in these folders to source control, and I don't want them in source control. I then have delete them manually from the pending checkins list, and it's getting to be a real annoyance.

Thanks in advance.../Matt

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: How to exclude folders in an Eclipse project

Post by Beth » Tue May 10, 2011 10:00 am

The first thing you might try is to add the folder you want excluded to the excluded folders list in the Vault admin web page. Once you are on the Vault admin web page, expand the repository on the left that holds your Eclipse project and click the File Types link. On the right side will be an area to list folder exclusions. Add a ; and your folder name and click Save. Restart Eclipse and see if that helps.

If there are particular file extensions to not add, you might also list them under the File Exclusions as well.

If Eclipse still tries to add the folder, let me know.
Beth Kieler
SourceGear Technical Support

Matt
Posts: 2
Joined: Tue Mar 22, 2011 10:53 am

Re: How to exclude folders in an Eclipse project

Post by Matt » Tue May 10, 2011 2:24 pm

That worked... thanks Beth!

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: How to exclude folders in an Eclipse project

Post by Beth » Tue May 10, 2011 3:01 pm

You're welcome.
Beth Kieler
SourceGear Technical Support

Post Reply