From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Egli Subject: Re: taskjuggler - using gaplength or gapduration Date: Thu, 13 Feb 2014 11:54:26 +0100 Message-ID: <874n431dwd.fsf@sbs.ch> References: <52FBD572.7040604@breengeosci.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDtwN-0004D0-2I for emacs-orgmode@gnu.org; Thu, 13 Feb 2014 05:54:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDtwG-0003vV-7a for emacs-orgmode@gnu.org; Thu, 13 Feb 2014 05:54:47 -0500 Received: from plane.gmane.org ([80.91.229.3]:48871) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDtwG-0003vO-0Z for emacs-orgmode@gnu.org; Thu, 13 Feb 2014 05:54:40 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WDtwE-0003Yn-2u for emacs-orgmode@gnu.org; Thu, 13 Feb 2014 11:54:38 +0100 Received: from alouette.sbs.ch ([194.29.12.218]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Feb 2014 11:54:38 +0100 Received: from christian.egli by alouette.sbs.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Feb 2014 11:54:38 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi all frank writes: > One issue that I am having is regarding gaplength and gapduration for > tasks. Under the TJ3 syntax, the command would be > " depends !!PHII {gapduration 7w} ". > > I added gaplength and gapduration under ' Org Taskjuggler Valid Task > Attributes ' and added the following in my org-mode file: > > *** PSF > :PROPERTIES: > :Task_id: PSF > :depends: PHII > :gaplength: 7w > :duration: 10d > :END: > > The resulting export comes out: > depends !!PHII > duration 10d > gaplength 7w > > which is incorrect. What am I doing wrong. gaplength and gapduration need special treatment of the exporter. They need to be part of the depends statement. So it woll not work if you just add them as properties. The dependencies section in the comments of ox-taskjuggler.el has an example how this can be done: ;; * Training material ;; :PROPERTIES: ;; :task_id: training_material ;; :ORDERED: t ;; :END: ;; ** Markup Guidelines ;; :PROPERTIES: ;; :Effort: 2d ;; :END: ;; ** Workflow Guidelines ;; :PROPERTIES: ;; :Effort: 2d ;; :END: ;; * Presentation ;; :PROPERTIES: ;; :Effort: 2d ;; :BLOCKER: training_material { gapduration 1d } some_other_task ;; :END: Now, I haven't tested this in a long time and AFAIK this used to work. I don't know if it survived the port to the new exporter framework. I would recommend that you try the above mentioned method. From looking at the source code it seems that Nicolas implemented options on dependencies. Thanks Christian -- Christian Egli Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 12, CH-8045 Zürich, Switzerland