From: Christian Egli <christian.egli@sbs.ch>
To: emacs-orgmode@gnu.org
Subject: Re: taskjuggler - using gaplength or gapduration
Date: Thu, 13 Feb 2014 11:54:26 +0100 [thread overview]
Message-ID: <874n431dwd.fsf@sbs.ch> (raw)
In-Reply-To: 52FBD572.7040604@breengeosci.com
Hi all
frank <fab@breengeosci.com> 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
prev parent reply other threads:[~2014-02-13 10:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-12 20:11 taskjuggler - using gaplength or gapduration frank
2014-02-12 21:22 ` John Hendy
2014-02-12 21:31 ` John Hendy
2014-02-12 22:44 ` Nicolas Goaziou
2014-02-13 10:54 ` Christian Egli [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874n431dwd.fsf@sbs.ch \
--to=christian.egli@sbs.ch \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.