From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: ox taskjuggler issues: (1) unable to set 'timingresolution' (2) taskjuggler_resource not found (3) property/attribute aliases
Date: Wed, 25 Jun 2014 17:26:44 +0200 [thread overview]
Message-ID: <87fvit80y3.fsf@gmail.com> (raw)
In-Reply-To: CACCJXwPodbxi3yod0Ze+rRA_vLw2gkMrXrHBvm=+em42T_irqw@mail.gmail.com
Nick Garber <nick.garber@gmail.com> writes:
Hello,
> In exploring the use of OrgMode for advanced project planning I've run
> across a few questions/problems with the taskjuggler exporter that I'd
> like to raise.
>
> (1) unable to set 'timingresolution'
>
> My project contains some short tasks, such as brief but required
> meetings, that are less than the default timing resolution of 60 mins
> and so causes the Taskjuggler export-and-process to fail with EM:
> "TaskJuggler failed with errors: Error: Effort value must at least as
> large as the timing resolution (60min)."
>
> I'd like to set the default value for the attribute to "5 min", the
> minimum value, but apparently a facility for this is not provided via
> orgmode.
>
> What I'm doing so far is creating the .tjp file, editing in this
> value, then exporting with =tj3 somefile.tjp= from the command line,
> and this _does_ work, but is awkward and hopefully avoidable.
>
> This might be most sensibly resolved by adding an, 'Org Export
> Taskjuggler Default Project Attributes' variable to those available
> via M-x customize-group org-export-taskjuggler .
I'm going to submit a patch for this.
> (2) taskjuggler_resource not found
>
> When specifying the OrgMode heading where the project resources will
> live with the :taskjuggler_resource: tag, I've found that this tag is
> not exported unless it is attached to a top level headline.
>
> To work around this I've moved the project's tree from it's main .org
> file, in order to promote the "* Project Resource Info" headline
> without disrupting my normal and thus precious ;-) headline "schema".
> I didn't see "attach to first-level headline" described as a resource
> export requirement and thought it unusual enough to mention in case it
> is not an intended limitation.
Seems to be an intended limitation, see this comment in the sources
,----
| (let ((main-resourc
| ;; Collect contents from various trees marked with
| ;; `org-taskjuggler-resource-tag'. Only gather top level
| ;; resources. ...)))
`----
This is because the mapping function following this comment
,----[ C-h f org-element-map RET ]
| org-element-map is a compiled Lisp function in `org-element.el'.
|
| (org-element-map DATA TYPES FUN &optional INFO FIRST-MATCH
| NO-RECURSION WITH-AFFILIATED)
`----
sets 'headline as NO-RECURSION argument. This could easily be dropped,
but I don't know which implications and side-effects this would have.
--
cheers,
Thorsten
prev parent reply other threads:[~2014-06-25 15:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-19 18:14 ox taskjuggler issues: (1) unable to set 'timingresolution' (2) taskjuggler_resource not found (3) property/attribute aliases Nick Garber
2014-06-25 15:26 ` Thorsten Jolitz [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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fvit80y3.fsf@gmail.com \
--to=tjolitz@gmail.com \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).