Expand my Community achievements bar.

SOLVED

Vault checkout

Avatar

Level 5

    Is there a way to avoid the .vlt and dir files that gets generated when we do a vault checkout? We do not want those files to get into ecllipse.

1 Accepted Solution

Avatar

Correct answer by
Employee
5 Replies

Avatar

Employee

Hi,

what harm will they do in Eclipse? Usually you add them to the ignore file(if using Git) so they don't get into your source control.

Regards,

Opkar

Avatar

Level 5

    Hi Opkar,

       The existing code base does not have files like that and we do not want the files that are unused to stay in Eclipse. I am not aware of filtering such files from getting into Git. 

Avatar

Employee

Hi,

what source control are you using? When you say you don't want unused files to stay in Eclipse, if a developer is doing a checkout, then the .vlt files will only be in his environment. 

Regards,

Opkar

Avatar

Level 5

We are using Git.  Okay now i understand this. Upon vault checkout the vlt and dir files get created. These files will be imported into Eclipse but Git has to be configured in such a way that these files will not get into Git. Thus if i import the files from Git they will not be having these vlt and dir files.

Avatar

Correct answer by
Employee

Yes :)

You need to create a gitignore file: https://help.github.com/articles/ignoring-files/