emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Erik Butz <erik.butz@googlemail.com>
To: Thorsten <quintfall@googlemail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: taskjuggler3 export
Date: Sun, 26 Feb 2012 22:50:34 +0100	[thread overview]
Message-ID: <CAFm0yf2ys-EsXp+OE53mtsg2NrTxAZkd2GSy8MhOT+xjTUOmGw@mail.gmail.com> (raw)
In-Reply-To: <8762ete3xg.fsf@googlemail.com>

[-- Attachment #1: Type: text/plain, Size: 2391 bytes --]

Hi,

I didn't use the org-taskjuggler3 resource, but below[1] are some
changes that I made in the org-taskjuggler.el file. With these I can
export e.g. the default example file at:
http://orgmode.org/worg/org-tutorials/org-taskjuggler.html to a
taskjuggler file and have tj3 produce a Gantt_Chart web page, see
screenshot attached.

Caveat: In the standard example file I changed all efforts from xxd to
xx.0 and resource_id to ID.

Hope this helps.

Erik

[1]:
--- org-taskjuggler.el~ 2012-02-03 14:41:44.418766002 +0100
+++ org-taskjuggler.el  2012-02-03 17:22:50.682766002 +0100
@@ -169,18 +169,20 @@ with `org-export-taskjuggler-project-tag
   :type 'integer)

 (defcustom org-export-taskjuggler-default-reports
-  '("taskreport \"Gantt Chart\" {
+  '("taskreport \"Gantt_Chart\" {
+  formats html
   headline \"Project Gantt Chart\"
-  columns hierarchindex, name, start, end, effort, duration, completed, chart
+  columns name, start, end, effort, duration, completed, chart
   timeformat \"%Y-%m-%d\"
   hideresource 1
   loadunit shortauto
 }"
-"resourcereport \"Resource Graph\" {
+"resourcereport \"Resource_Graph\" {
+  formats html
   headline \"Resource Allocation Graph\"
-  columns no, name, utilization, freeload, chart
+  columns no, name,  chart
   loadunit shortauto
-  sorttasks startup
+  sorttasks tree
   hidetask ~isleaf()
 }")
   "Default reports for the project."


On Sun, Feb 26, 2012 at 9:27 PM, Thorsten <quintfall@googlemail.com> wrote:
> Hi list,
> I tried to write an org file for a project plan with the aim to export
> it using taskjuggler 3.1.0.
>
> besides following the advice from these two source:
>
> ,----------------------------------------------------------------------
> | http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg00058.html
> | https://github.com/alander/org-taskjuggler3
> `----------------------------------------------------------------------
>
> and deleting some redundant braces in the exported .tjp file, the
> resulting html files were less than satisfying (e.g. no gantt chart
> created).
>
> The problem seems to be the reporting part. Does anyone has sample
> report templates that can be used in
> "org-export-taskjuggler-default-reports" when using taskjuggler3?
>
> Or, more generally asked, did anyone recently successfully exported to
> taskjuggler3?
>
> Thanks for any hints.
>
> --
> cheers,
> Thorsten
>
>
>

[-- Attachment #2: tj3_gantt_screenshot.png --]
[-- Type: image/png, Size: 63016 bytes --]

  reply	other threads:[~2012-02-26 21:50 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 [this message]
2012-02-26 23:05   ` Thorsten
2012-02-29 19:11 ` d.tchin
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=CAFm0yf2ys-EsXp+OE53mtsg2NrTxAZkd2GSy8MhOT+xjTUOmGw@mail.gmail.com \
    --to=erik.butz@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=quintfall@googlemail.com \
    /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).