#1 Question, how to add the trunk/branch/tag structures:
For my project I want to have a trunk/branch/tag structure in SVN. How can I do this using eclipse?
#1 Answer:
At first, you need to configure your SVN location and access rights ... this is already described
here. After that, open the SVN-Perspective by pressing:
Window->Open Perspective->Other->SVN RepositoryExploring. Now you can choose the place, where you want to add your code. Usually this should be
device/[class|deploy-unit|driver]/[GSI-group]/[ProjectName]. If your group does not already exist, you can add a new group-folder to the SVN by right-clicking on the structure and choosing
New->Folder Now you should create the trunk|branch|tag structures by right-clicking at your group-folder and choose
New->Project Structure . Here you should click on
Single Project or Multiple Project Layout , add the
name of your project (usually the name of the class/deploy-unit/driver) and press
ok to confirm your choice ... thats it.
#2 Question, how to commit your code:
I want to add my class/deployment-unit/driver code to SVN. How can I do this?
#2 Answer:
At first choose the
C++ Perspective and
remove the bin folder of your project and as well
any other binary file in the deployment-unit folder. Object(*.o) files are ignored automatically. Our SVN repository is a code-repository and shall not be used for any artifact!
Now right-click on the head-folder of your project. Here you can choose
Team->Share Project . Select
SVN as repository type and choose your
fesa-repository.
On the next page choose the
Simple Mode , copy the last part of the path(your project-name) to the clipboard, choose the
trunk-folder of your SVN-structure, paste your project-name after trunk, seperated by a slash and press finish.
After some loading, a window which offers to commit all the sources appears. Here you should
enter a comment, to describe the purpose of your commitment and
press ok to commit your sources.
#3 Question, how to force SVN to ignore files:
After some work I want to commit my changes ... but again SVN-commit tries to commit the bin-folder and the deployment-unit binary. How can I tell the SVN to ignore these files
#3 Answer:
Right Click on the folder, you want to ignore for SVN and choose
Team->Add to svn:ignore. If you explicitly want to force SVN to ignore one file/folder, choose
Resource by Name.
If you want to define an implicit rule with some custom pattern you as well can do so here.
The next time a commit is triggered, SVN will not try to add your source to the repository
#4 Question
Write your question here
#4 Answer:
We will try to give you an answer here