I’m creating a project under eclipse that is to be shared by several developers.
The instructions I found for creating an svn repository said to:
- svnadmin create /var/svn/draw
- create a directory with my project on the server, make directories under it including trunk
- put all code under trunk.
I copy in all the code, which is in src/ as usual for eclipse.
The problem is, when I check it out into eclipse, it’s got directory trunk as well:
trunk/src/…
This means I have to change the project definitions.
First question: Can I create a project, and administer it in subversion directly from eclipse?
Second: If not, how can I create the project in subversion so that its directory structure and eclipse project’s are the same? Do I just have to initially create a trunk directory? Is there anything else I have to do?
What is the overall folder structure here? Are you just putting the code files in ./trunk/src/ and keeping other files related to the project outside of ./trunk/? This may be a silly question, I’m just trying to get a feel for your SVN experience here. The eclipse project shouldn’t be aware of the ./trunk/ folder if everything in the project is relative to its own root path and ./trunk/ is that root path.