I would like to build a development environment to start contributing with Jalview. Sometime ago a I did it with i18n branch and now I'm trying to do the same with development branch. However, each time I select this branch at Eclipse, the IDE asks me to import it as a general project instead of as a GIT project.
If you still have your i18n branch configured, then all you need to do is switch branches to the development branch, and eclipse should sort everything out (if a little slowly).
Can anybody point me to a step-by-step tutorial? If there isn't any, I'll write one and contribute it under /doc folder but I'll need someone to help me.
This kind of info is best placed on the website, too
The steps are:
1. Start the import form git wizard with 'Import -> Projects from Git'
2. enter the Jalview repository details (source.jalview.org/git/jalview.git)
- remember to use the https url and your jalview user/password if you want to commit!
3. After pressing Next - you can pick the branches you'd like to checkout .. remember to pick at least develop, master, and the next release branch (Release_2_8_1_Branch).
4. Press next again, and Git will ask you where you want to clone the repository - pick a location on your local machine
5. After pressing next, the repo will be cloned, and eventually, you'll be given the option to import any projects present in the repository.
6. Pick 'import existing projects' - then pick the jalview project from the list (it's currently listed as 'Jalview Release 2.7')...
If you couldn't see any projects in 6, then the clone probably failed. One gotcha is that the SSL certificate validation may have failed for https://source.jalview.org/ - you'll need to set "http.sslVerify" and "http.hostnameVerify" to false in your git config. You can do this via Eclipse's git team configuration panel (click the add entry button), or just execute the following from the command line:
git config --global http.hostnameVerify false
git config --global http.sslVerify false
The other problem may be that you already have a project called 'Jalview Release 2.7' in your workspace - in this case, rename the existing project, or edit the .project XML file in the newly checked out branch, then hit back/forwards to refresh the list of projects available for import in step 6.
Hope that helps!
On 25/11/2013 11:35, David Roldán Martínez wrote: