Reema
Reema

Reputation: 647

Project structure in eclipse for SVN based projects

I have a single folder project myProject with the structure as below on eclipse

I have a SVN repository say ProRep and my project myProject under it which looks like below:

On checking out files from the SVN repository, using the path someurl/ProRep/myProject, the folders - tags, branches and trunk also get checked out. Is there any way to avoid this from happening. I want only the src, web and test folders on my workspace.

Upvotes: 0

Views: 1220

Answers (1)

rekie
rekie

Reputation: 58

SVN per default adds the folders trunk, branches and tags to a project root.

So your structure could look like this:

  • ProRepo
    • myProject
      • trunk
        • src
        • web
        • test
      • branches
      • tags

Have a look at this: https://svn.apache.org/repos/asf/subversion/trunk/doc/user/svn-best-practices.html and https://ariejan.net/2006/11/24/svn-how-to-structure-your-repository/

Also this was answerd before: https://stackoverflow.com/questions/4032059

Upvotes: 2

Related Questions