First thing to do is to get a copy of the source code (sorry, no binaries yet).Because we are compiling from source we have to install some utilities (using Debian/Ubuntu formalism; tune to your platform):
- $ sudo aptitude install openjdk-6-jdk git ant
- $ sudo aptitude install libcommons-cli-java
- $ git clone git://github.com/egonw/gtd.git
The source for the command line utilities is found in the com.github.gittodo, which is in fact an Eclipse project too:
- $ cd gtd
$ cd com.github.gittodo
- $ cp ant.properties.template ant.properties
$ nano ant.properties
The compiling itself is then as simple as any project using Ant:
- $ ant clean make
$ sudo ant install
- $ gtd-list-items
java.io.FileNotFoundException: /home/egonw/.gtdrc (No such file or directory)
We now need to set up a git repository at a convenient place and let GitToDo know about it. We create the git repository with (I have it in $HOME/var/Projects/hg):
- $ cd $HOME/var/Projects/hg
$ mkdir gtdrepos
$ cd gtdrepos
$ git init
$ git add .
- $ cat ~/.gtdrc
Repository=/home/egonw/var/gtdrepos
Now we are ready to add a first todo item:
- $ gtd-create-item Install GitTodo-Freemind and the GitToDo GUI.
gtd-list-items
No comments:
Post a Comment