eclipse and cvs ignore [message #245903] |
Wed, 18 July 2007 01:52  |
Eclipse User |
|
|
|
Originally posted by: fluca1978.infinito.it
Hi all,
I'm not very expert in using eclipse with cvs, thus you have some
documentation to point me at please advice. By the way, is there a way to
configure eclipse to ignore some files/folder from the cvs commit? For
instance I don't like to get the ide committing the .project file and some
other environment specific files.
Thanks,
Luca
|
|
|
|
|
|
|
|
Re: eclipse and cvs ignore [message #245989 is a reply to message #245984] |
Thu, 19 July 2007 06:27   |
Eclipse User |
|
|
|
Originally posted by: mauro.molinari.cardinis.com
Luca Ferrari ha scritto:
> Rich Kulp wrote:
>
>> If it has already been committed once or if the parent folder has not
>> yet been committed once, then it is not available.
>>
>
> How can I remove it from the cvs using the command line without corrupting
> the project? Should I checkout the project again?
>
> Luca
Make a backup copy of your file, then delete it from your project within
Eclipse and commit the deletion. Then, restore the backup copy (now it
should be marked as "new") and do Team => Add to .cvsignore.
By the way, as long as you don't need to store in the CVS the fact you
want to ignore one or more files, you don't need to commit the
..cvsignore file itself: however, in order to avoid Eclipse to force you
to commit it, you may need to add .cvsignore to .cvsignore itself
(sorry, it's not a pun!). As you don't see .cvsignore in the navigator
view, you can do that as follows: type ctrl+shift+R, type .cvsignore,
select the one you're interested in, then, in the editor, add a row for
just .cvsignore
Hope to have been of help.
Mauro.
|
|
|
|
Re: eclipse and cvs ignore [message #246024 is a reply to message #245989] |
Thu, 19 July 2007 13:11  |
Eclipse User |
|
|
|
Originally posted by: fluca1978.infinito.it
Mauro Molinari wrote:
> Make a backup copy of your file, then delete it from your project within
> Eclipse and commit the deletion. Then, restore the backup copy (now it
> should be marked as "new") and do Team => Add to .cvsignore.
>
> By the way, as long as you don't need to store in the CVS the fact you
> want to ignore one or more files, you don't need to commit the
> .cvsignore file itself: however, in order to avoid Eclipse to force you
> to commit it, you may need to add .cvsignore to .cvsignore itself
> (sorry, it's not a pun!). As you don't see .cvsignore in the navigator
> view, you can do that as follows: type ctrl+shift+R, type .cvsignore,
> select the one you're interested in, then, in the editor, add a row for
> just .cvsignore
It seems it worked!
Thanks.
P.S.
I'll not commit the .cvsignore because I hope other developers will do the
same, and after all they're not supposed to use eclipse!
|
|
|
Powered by
FUDForum. Page generated in 0.03432 seconds