File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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: 50691

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: 50691

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 ?
 
Threads others viewed
Printing a PDF without opening it
springframework dependancy is missing.
CVS to Subversion Migration
File structure is detached from SVN repository.
Setting UP Central repository using GIT
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture