The moose likes IDEs, Version Control and other tools and the fly likes Ignore a file in subversion but keep it in repository, possible ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Ignore a file in subversion but keep it in repository, possible ?" Watch "Ignore a file in subversion but keep it in repository, possible ?" New topic
Author

Ignore a file in subversion but keep it in repository, possible ?

Vadiraj Deshpande
Ranch Hand

Joined: Aug 16, 2000
Posts: 78
Hi experts,

Is it possible to keep a file in SVN repository but ignore it from versioning ? I have a local-env.properties file that every developer had to edit before they can do the build and it would contain developer system specific settings, which do not need to be versioned.

Help...

-V
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 48818

For files such as these, our project contains a master template for the file that never changes. Each developer copies this file and makes their devo-specific changes. The copied files are not placed in the repository.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Vadiraj Deshpande
Ranch Hand

Joined: Aug 16, 2000
Posts: 78
Bear Bibeault wrote:For files such as these, our project contains a master template for the file that never changes. Each developer copies this file and makes their devo-specific changes. The copied files are not placed in the repository.


..and each developer sets svn:ignore flag to ignore his/her copy of the file ?
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 48818

If it resides within the source tree, yes. Some files (like build properties) reside in the developer's home folder and aren't a concern.
 
 
subject: Ignore a file in subversion but keep it in repository, possible ?
 
developer file tools