-
Notifications
You must be signed in to change notification settings - Fork 38
T Coffee Quick Start
T-Coffee sources are public available from the project Subversion repository.
To download the lastest version of T-Coffee source just use the following command. Note that downloading as an anonymous user you will not able to commit (upload) your changes
# svn export http://tcoffee.googlecode.com/svn/tcoffee/trunk tcoffee
You can also access the sources from your browser at the following address
http://code.google.com/p/tcoffee/source/browse/#svn/tcoffee/trunk
Or checkout an older version # svn checkout -r 1000 http://tcoffee.googlecode.com/svn/tcoffee/trunk tcoffee
To get full access to T-Coffee subversion repository (i.e. to be able to commit your changes) you need to be a member of T-Coffee project on Google Code with at least Ccommitter role. The current members list is available at the following address here.
# svn co https://tcoffee.googlecode.com/svn/tcoffee/trunk workspace --username your-google-username
When asked enter your Google Code password (to get your click here).
Please note for trusted access the protocol to be used is https
(not http
).
This will create in the current directory a directory called workspace
, which contains two folders: lib
and t_coffee
. The lib
folder contains all the source code files, the t_coffee
folder the makefile
.
# svn status
Shows all changes you made (and only yours) since your last commit. (no network connection is needed)
# svn status -u
Shows all changes you and everyone else have made (network connection is needed)
To update your local copy with the latest changes in the repository use the following command
# svn update
Files marked by:
-
A
are added -
M
are modified -
C
are in conflict (If this happens you are usually asked what to do - see svn-book p. 24) -
D
are deleted
If you do not like changes in a file you can back to the repository version with the following command
# svn revert filename
IMPORTANT things one has always to do before committing changes:
- Make an update of your local copy
- check that after the update your version is compiling and running correctly
# svn commit -m "short description of what you changed" --username <google uname without @gmail.com>
Use -m
(If you forget -m
the standard editor will be started to enter the text - or not, depending on your configuration)
**This will update the server version with ALL changes you made. **
To delete a file svn rm <filename>
To add a new file svn add <filename>
You can find more info about SVN command Svn Get Started.
And about the T-Coffee project SVN path structure Svn Top Level Structure.
To compile T-Coffee use the command make t_coffee
against the makefile in the following path <your-workspace>t_coffee/src
The binary will be automatically copied to the path specified by the environment variable USER_BIN
(check that it exists before run the make command).