We want to introduce version control for our project. Up to now only one analyst was working on that. Now two persons will cooperate and in future who knows... Thus I would like to ask few questions concerning that area.
A. First, we will "convert" the existing project according the following scenarios to be version controlled. Do you think it is a good method? What would be the advangages and disadvantages?
1. Copy the eap project file to the directory which is version controlled, but do not add it to the repository.
2. Open eap project file in EA.
3. Configure version control for that project – menu Project/Version Control/Version Control Settings.
4. Click on root node and chose Package Control/Add Branch to Version Control. In such a way all packages within the project will be version controlled. Next you have to store the main branch file (and in this case root definition as adding the branch to version control was done for the root node).
5. Now the project is ready to be used with version control. Please note that eap file will be treated only as a local entry point thus it will not be added to the repository.
B. When I click on Package Control/Add Branch to Version Control the xml files created automatically have strange names, ex. 593944323353.xml. Is there any way to add the whole branch to version control (and in fact the whole project) with one click but to get the filenames and structure of files corresponding with the name of packages ex. the file package 1.1.1 would be stored in directory package 1/package 1.1?
The only solution which comes to my mind is to click on each package in my project and chose the function Package Control/Configure but it means a lot of work.
C. What about eap file? Should I add that to the repository? Or should each analyst create and empty eap file and import project (stored in xml files) with Package Control/Import a Model Branch function?
D. Assuming that I have a project added to repository with Package Control/Add Branch to Version Control I have one problem when I'm adding a new package to version controlled branch. Then EA stores the file corresponding to the new package in the main project directory and not in one of automatically created directories, ex. ea2, Why?
Thanks for help