Mark a task as a milestone if it is a leaf node and cannot be scheduled
commit786957ed91993508f0ae55d1f5bb2f91bb94798f
authorChristian Egli <christian.egli@alumni.ethz.ch>
Wed, 16 Mar 2011 16:04:59 +0000 (16 16:04 +0000)
committerBastien Guerry <bzg@altern.org>
Thu, 17 Mar 2011 08:45:22 +0000 (17 09:45 +0100)
treebc87c0c8689f2d8d2d54eb5f4597f6fd3ee60a13
parent1eb1152155dce2c0d0c5c6eca82a3857ad2f9236
Mark a task as a milestone if it is a leaf node and cannot be scheduled

* org-taskjuggler.el (org-taskjuggler-compute-task-leafiness): Compute
the leafiness of a node.
(org-taskjuggler-open-task, org-export-as-taskjuggler): Mark a node as
a milestone if it is a leaf and has no effort.

Mark a task as a milestone if it has neither an effort, a duration, an
end or a period. This is needed for tj3 export as tj3 fails to compile
the file if there is a leaf node with no computable end date. tj2
happily ignored the situation, but TJ3 throws an error.
lisp/org-taskjuggler.el