anchor.diff:  
   == How to build the project
   
  -If you cloned this git repository and would like to run a build on your machine, start the gradle based build using
  -gradle's http://gradleware.com/registered-access?content=screencasts%2Fthe-gradle-wrapper%2F[gradlewrapper]:
  +To run a build of the jtwfg project on your machine, clone the git repo to your local machine and start the gradle based build using
  +gradle's http://gradleware.com/registered-access?content=screencasts%2Fthe-gradle-wrapper%2F[gradlewrapper] from the shell/command line:
   
   [source]
   ----
  
positive.code: 
  == Introduction
  
  jtwfg implements a *task wait for graph* model with a deadlock detection algorithm.
  
  The graph consists of *tasks* and synchronous *waits-for edges*. As soon as a circular dependency exists, the involved tasks are _deadlocked_.
  
  jtwfg is a small, standalone java library. The typical use case for someone is having some kind of own "execution engine" implementation
  (local, distributed, grid...) with some kind of tasks in it with optionally dependencies between the tasks.
  Someone wants to be able to detect deadlocks at runtime in his/her engine automatically.
  
  At the moment, only simple, synchronous dependencies are supported by jtwfg.
  
  === Example 1
  
  In this first example you see two tasks, each waiting for the other.
  
  
negative.code: 
  ==== Step 1
  
  At some point in time you wonder about having a deadlock in your custom engine domain model objects.
  You transform your domain model objects into the (simple) jtwfg model objects using a jtwfg graph builder object:
  
  [source,java]
  ----
  