From: d.tchin <d.tchin@voila.fr>
To: emacs-orgmode@gnu.org
Subject: Re: taskjuggler3 export
Date: Wed, 29 Feb 2012 19:11:35 +0000 (UTC) [thread overview]
Message-ID: <loom.20120229T193603-350@post.gmane.org> (raw)
In-Reply-To: 8762ete3xg.fsf@googlemail.com
Hi,
I use the following testtj3.org file that I export to taskjuggler 3.0 :
,----------------------------------------------------------------------------
|#+TITLE: testtj3.org
|#+PROPERTY: Effort_ALL 2d 5d 10d 20d 30d 35d 50d
|
|* Action list :taskjuggler_project:
|** TODO Test tj3 A
| :PROPERTIES:
| :Effort: 1w
| :allocate: toA
| :END:
|** TODO Test tj3 B
| :PROPERTIES:
| :Effort: 1w
| :allocate: toB
| :BLOCKER: previous-sibling
| :END:
|** TODO Test 2 tj3
| :PROPERTIES:
| :Effort: 2w
| :allocate: toA
| :BLOCKER: previous-sibling
| :END:
|** TODO Test 2 tj3 B
| :PROPERTIES:
| :Effort: 2w
| :allocate: toB
| :BLOCKER: previous-sibling
| :END:
|* Ressources :taskjuggler_resource:
|** A
| :PROPERTIES:
| :resource_id: toA
| :END:
|** B
| :PROPERTIES:
| :resource_id: toB
| :END:
|
|# Local Variables:
|# org-export-taskjuggler-target-version: 3.0
|# org-export-taskjuggler-default-reports: ("include \"gantexport.tji\"")
|# End:
`----------------------------------------------------------------------------
As you can see, I define in the org-export-taskjuggler-default-reports
variable at the end of the file that I want to use gantexport.tji where the
gant output directives are defined. This file is in the same directory as org
file.
The gantexport.tji is the following :
,-----------------------------------------------------------------------------
|### begin report definition
|
|taskreport "Gantt Chart" {
| headline "Project Gantt Chart"
| columns hierarchindex, name, start, end, effort, duration, completed,
chart
| timeformat "%Y-%m-%d"
| hideresource 1
| formats html
| loadunit shortauto
|}
`-----------------------------------------------------------------------------
Then the instruction tj3 testtj3.tjp generate the gant chart accessible
in "Gantt Chart.html" file.
Hope that can help.
next prev parent reply other threads:[~2012-02-29 19:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-26 20:27 taskjuggler3 export Thorsten
2012-02-26 21:50 ` Erik Butz
2012-02-26 23:05 ` Thorsten
2012-02-29 19:11 ` d.tchin [this message]
2012-02-29 21:01 ` Thorsten
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=loom.20120229T193603-350@post.gmane.org \
--to=d.tchin@voila.fr \
--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).